diff --git a/tiled_wall/tiled_wall_data.cpp b/tiled_wall/tiled_wall_data.cpp index 1eb581c..67db9c3 100644 --- a/tiled_wall/tiled_wall_data.cpp +++ b/tiled_wall/tiled_wall_data.cpp @@ -267,6 +267,8 @@ void TiledWallData::add_textures_into(Ref texture_packer) { #endif void TiledWallData::setup_cache(Ref cache) { + //Note: the caller should lock and unlock the cache! + call("_setup_cache", cache); } void TiledWallData::_setup_cache(Ref cache) {