BLEN-351: Test/fix Hydra addon with different blender scenes #13

Merged
Bogdan Nagirniak merged 4 commits from BLEN-351 into hydra-render 2023-03-10 17:16:57 +01:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 28ca9781e9 - Show all commits

View File

@ -164,12 +164,13 @@ void BlenderSceneDelegate::update_collection(bool remove, bool visibility)
DEG_iterator_objects_next,
DEG_iterator_objects_end,
&data, Object *, object) {
if (data.dupli_object_current != nullptr) {
add_update_instance(data.dupli_object_current);
if (!ObjectData::supported(object)) {
continue;
}
if (!ObjectData::supported(object)) {
if (data.dupli_object_current != nullptr) {
add_update_instance(data.dupli_object_current);
continue;
}

View File

@ -19,7 +19,6 @@ bool ObjectData::supported(Object *object)
case OB_MESH:
case OB_SURF:
case OB_FONT:
case OB_CURVES:
case OB_CURVES_LEGACY:
case OB_MBALL:
case OB_LAMP: