Alembic: Use getXForm() in check, because it's used in rest of the function too
This makes the code within the function consistent.
This commit is contained in:
parent
82df7100c8
commit
ce9df09067
@ -411,7 +411,7 @@ void AbcExporter::createTransformWriter(Object *ob, Object *parent, Object *dupl
|
||||
const std::string name = get_object_dag_path_name(ob, dupliObParent);
|
||||
|
||||
/* check if we have already created a transform writer for this object */
|
||||
if (m_xforms.find(name) != m_xforms.end()){
|
||||
if (getXForm(name) != NULL){
|
||||
std::cerr << "xform " << name << " already exists\n";
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user