diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-29 16:47:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-29 16:47:42 +0400 |
commit | 7a13bc2196336c4ec45e86947d9fcb0b8d61f74e (patch) | |
tree | 4e1073ef726392cd1604861da38bcbde93d2a678 /source/blender/blenkernel/BKE_world.h | |
parent | 635db3b3066b71d4c9c0f4a67d20aeff0d4b3810 (diff) |
Fix wrong user counter in world node trees
World is being localized without increasing ID users, so no need
to decrease ID users on localized world free.
Diffstat (limited to 'source/blender/blenkernel/BKE_world.h')
-rw-r--r-- | source/blender/blenkernel/BKE_world.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_world.h b/source/blender/blenkernel/BKE_world.h index 67896fffc4d..7a23bff0184 100644 --- a/source/blender/blenkernel/BKE_world.h +++ b/source/blender/blenkernel/BKE_world.h @@ -35,7 +35,8 @@ struct World; -void BKE_world_free(struct World *sc); +void BKE_world_free(struct World *sc); +void BKE_world_free_ex(struct World *sc, int do_id_user); struct World *add_world(const char *name); struct World *BKE_world_copy(struct World *wrld); struct World *localize_world(struct World *wrld); |