forked from bartvdbraak/blender
Fix for World tab:
Unlinking an World Data block caused the whole tab to disappear.
This commit is contained in:
parent
38ce0c64cd
commit
474e97e6d2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user