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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-10-30 05:42:46 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-10-30 05:42:46 +0300
commitce785868a56a1446750f5af1779f7623ca462ec2 (patch)
treef7bbf34ae713f1ec061cc4b634ebf4484474499d /source/blender/makesrna/intern/rna_constraint.c
parentb2974d7ab79a257f8628c24c05d43da25791018d (diff)
Fix compile errors for when WITH_ALEMBIC is OFF.
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r--source/blender/makesrna/intern/rna_constraint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index ad037af943d..de1a0f24c31 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -478,6 +478,7 @@ static void rna_Constraint_objectSolver_camera_set(PointerRNA *ptr, PointerRNA v
static void rna_Constraint_transformCache_object_path_update(Main *bmain, Scene *scene, PointerRNA *ptr)
{
+#ifdef WITH_ALEMBIC
bConstraint *con = (bConstraint *)ptr->data;
bTransformCacheConstraint *data = (bTransformCacheConstraint *)con->data;
Object *ob = (Object *)ptr->id.data;
@@ -486,6 +487,7 @@ static void rna_Constraint_transformCache_object_path_update(Main *bmain, Scene
data->reader,
ob,
data->object_path);
+#endif
rna_Constraint_update(bmain, scene, ptr);
}