diff options
Diffstat (limited to 'source/blender/editors/space_buttons')
-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; } } |