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-08 15:10:16 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-02-08 15:10:16 +0300
commitd4913af84660318047e3404f9766014cd78864ab (patch)
tree216516057dc8df5177e4f179392de5a79811ba3f /source/blender/alembic/intern/abc_nurbs.cc
parentc973e8d2da5cf3f615256269128a07390f8c06a9 (diff)
parent8cda364d6f2e6e8da454034f19fb959739045813 (diff)
Merge branch 'master' into blender2.8
# Conflicts: # source/blender/blenloader/intern/writefile.c
Diffstat (limited to 'source/blender/alembic/intern/abc_nurbs.cc')
-rw-r--r--source/blender/alembic/intern/abc_nurbs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/alembic/intern/abc_nurbs.cc b/source/blender/alembic/intern/abc_nurbs.cc
index 4f57dfdae9e..d0b9561f679 100644
--- a/source/blender/alembic/intern/abc_nurbs.cc
+++ b/source/blender/alembic/intern/abc_nurbs.cc
@@ -153,7 +153,7 @@ void AbcNurbsWriter::do_write()
const BPoint *bp = nu->bp;
for (int i = 0; i < size; ++i, ++bp) {
- copy_zup_yup(positions[i].getValue(), bp->vec);
+ copy_yup_from_zup(positions[i].getValue(), bp->vec);
weights[i] = bp->vec[3];
}
@@ -281,7 +281,7 @@ void AbcNurbsReader::readObjectData(Main *bmain, float time)
posw_in = (*weights)[i];
}
- copy_yup_zup(bp->vec, pos_in.getValue());
+ copy_zup_from_yup(bp->vec, pos_in.getValue());
bp->vec[3] = posw_in;
bp->f1 = SELECT;
bp->radius = 1.0f;