forked from blender/blender
BLEN-351: Test/fix Hydra addon with different blender scenes #13
@ -164,12 +164,13 @@ void BlenderSceneDelegate::update_collection(bool remove, bool visibility)
|
|||||||
DEG_iterator_objects_next,
|
DEG_iterator_objects_next,
|
||||||
DEG_iterator_objects_end,
|
DEG_iterator_objects_end,
|
||||||
&data, Object *, object) {
|
&data, Object *, object) {
|
||||||
if (data.dupli_object_current != nullptr) {
|
|
||||||
add_update_instance(data.dupli_object_current);
|
if (!ObjectData::supported(object)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ObjectData::supported(object)) {
|
if (data.dupli_object_current != nullptr) {
|
||||||
|
add_update_instance(data.dupli_object_current);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ bool ObjectData::supported(Object *object)
|
|||||||
case OB_MESH:
|
case OB_MESH:
|
||||||
case OB_SURF:
|
case OB_SURF:
|
||||||
case OB_FONT:
|
case OB_FONT:
|
||||||
case OB_CURVES:
|
|
||||||
case OB_CURVES_LEGACY:
|
case OB_CURVES_LEGACY:
|
||||||
case OB_MBALL:
|
case OB_MBALL:
|
||||||
case OB_LAMP:
|
case OB_LAMP:
|
||||||
|
Loading…
Reference in New Issue
Block a user