[Bf-blender-cvs] [0deaf5e] alembic_basic_io: Remove extra statement from some test.

Kévin Dietrich noreply at git.blender.org
Fri Jul 1 18:55:41 CEST 2016


Commit: 0deaf5ed97483fa9b5ea8fedc891f0c4b8363161
Author: Kévin Dietrich
Date:   Fri Jul 1 18:55:35 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB0deaf5ed97483fa9b5ea8fedc891f0c4b8363161

Remove extra statement from some test.

===================================================================

M	source/blender/alembic/intern/abc_nurbs.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_nurbs.cc b/source/blender/alembic/intern/abc_nurbs.cc
index bc82c20..7f73398 100644
--- a/source/blender/alembic/intern/abc_nurbs.cc
+++ b/source/blender/alembic/intern/abc_nurbs.cc
@@ -94,7 +94,7 @@ bool AbcNurbsWriter::isAnimated() const
 {
 	/* check if object has shape keys */
 	Curve *cu = static_cast<Curve *>(m_object->data);
-	return (cu->key != NULL);cu->adt;
+	return (cu->key != NULL);
 }
 
 static void get_knots(std::vector<float> &knots, const int num_knots, float *nu_knots)




More information about the Bf-blender-cvs mailing list