mirror of
https://github.com/Relintai/props.git
synced 2025-02-10 16:30:06 +01:00
Make sure to call initial_setup_default in cache.
This commit is contained in:
parent
9d26fd35f2
commit
b18fc92ebb
@ -136,6 +136,8 @@ void TiledWall::refresh() {
|
|||||||
|
|
||||||
//An anouther thread could have initialized it before wo got the mutex!
|
//An anouther thread could have initialized it before wo got the mutex!
|
||||||
if (!_cache->get_initialized()) {
|
if (!_cache->get_initialized()) {
|
||||||
|
_cache->initial_setup_default();
|
||||||
|
|
||||||
_data->setup_cache(_cache);
|
_data->setup_cache(_cache);
|
||||||
|
|
||||||
_cache->refresh_rects();
|
_cache->refresh_rects();
|
||||||
|
Loading…
Reference in New Issue
Block a user