Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-02-07 14:20:42 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-02-08 14:26:36 +0300
commitce9df090671c90fa449e2e5be229bec40fafb0af (patch)
treebc8701ccc16fe83509be126f483411b06502aee8 /source/blender/alembic
parent82df7100c8d59f99f91056b32c1ce33cc5a68726 (diff)
Alembic: Use getXForm() in check, because it's used in rest of the function too
This makes the code within the function consistent.
Diffstat (limited to 'source/blender/alembic')
-rw-r--r--source/blender/alembic/intern/abc_exporter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_exporter.cc b/source/blender/alembic/intern/abc_exporter.cc
index ff8b0442ab6..77ab3148db8 100644
--- a/source/blender/alembic/intern/abc_exporter.cc
+++ b/source/blender/alembic/intern/abc_exporter.cc
@@ -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;
}