forked from blender/blender
Fix visibility of instancer object #43
@ -69,15 +69,16 @@ bool ObjectData::is_visible(BlenderSceneDelegate* scene_delegate, Object* object
|
||||
ret = object->duplicator_visibility_flag & OB_DUPLI_FLAG_VIEWPORT;
|
||||
}
|
||||
}
|
||||
/*
|
||||
else {
|
||||
if (object->parent) {
|
||||
ret = false;
|
||||
}
|
||||
else {
|
||||
if (object->transflag & OB_DUPLI) {
|
||||
ret = object->duplicator_visibility_flag & OB_DUPLI_FLAG_RENDER;
|
||||
}
|
||||
if (object->parent && (object->parent->transflag & OB_DUPLI)) {
|
||||
ret = false;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user