diff options
author | Thomas Dinges <blender@dingto.org> | 2009-10-16 23:46:53 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-10-16 23:46:53 +0400 |
commit | 474e97e6d22973cf95262d5262e880c15683b828 (patch) | |
tree | d3db878183222dc713141922f5d30c4f34763ee2 /source/blender | |
parent | 38ce0c64cd49222b7e42867f2eb81036b71a336d (diff) |
Fix for World tab:
Unlinking an World Data block caused the whole tab to disappear.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index eb88ea8519e..504e4a6866e 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -132,7 +132,9 @@ static int buttons_context_path_world(ButsContextPath *path) if(world) { RNA_id_pointer_create(&scene->world->id, &path->ptr[path->len]); path->len++; - + return 1; + } + else { return 1; } } |