Fix for World tab:

Unlinking an World Data block caused the whole tab to disappear.
This commit is contained in:
Thomas Dinges 2009-10-16 19:46:53 +00:00
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;
}
}