Fix T38740: multi-user metaballs not rendering in Cycles.
This commit is contained in:
parent
5f18d863a9
commit
415adf7263
Notes:
blender-bot
2023-11-20 12:14:32 +01:00
Referenced by issue #38740, Metaballs don't get rendered in Cycles when they are multi user
|
@ -38,7 +38,11 @@ CCL_NAMESPACE_BEGIN
|
|||
bool BlenderSync::BKE_object_is_modified(BL::Object b_ob)
|
||||
{
|
||||
/* test if we can instance or if the object is modified */
|
||||
if(ccl::BKE_object_is_modified(b_ob, b_scene, preview)) {
|
||||
if(b_ob.type() == BL::Object::type_META) {
|
||||
/* multi-user and dupli metaballs are fused, can't instance */
|
||||
return true;
|
||||
}
|
||||
else if(ccl::BKE_object_is_modified(b_ob, b_scene, preview)) {
|
||||
/* modifiers */
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue