[Bf-blender-cvs] [c1a09fc] depsgraph_refactor: Enabled relations build code for object geometry data (was still left disabled from build code porting).
Lukas Tönne
noreply at git.blender.org
Thu Apr 17 15:32:37 CEST 2014
Commit: c1a09fc59405dca26f5a20412ee88c4b830989d6
Author: Lukas Tönne
Date: Thu Apr 17 15:21:55 2014 +0200
https://developer.blender.org/rBc1a09fc59405dca26f5a20412ee88c4b830989d6
Enabled relations build code for object geometry data (was still left
disabled from build code porting).
===================================================================
M source/blender/depsgraph/intern/depsgraph_build_relations.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index d437de3..7e18921 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -170,7 +170,6 @@ void DepsgraphRelationBuilder::build_object(Scene *scene, Object *ob)
/* ob data animation */
build_animdata(obdata_id);
-#if 0
/* type-specific data... */
switch (ob->type) {
case OB_MESH: /* Geometry */
@@ -180,25 +179,23 @@ void DepsgraphRelationBuilder::build_object(Scene *scene, Object *ob)
case OB_MBALL:
case OB_LATTICE:
{
- deg_build_obdata_geom_graph(graph, scene, ob);
+ build_obdata_geom(scene, ob);
}
break;
case OB_ARMATURE: /* Pose */
- deg_build_rig_graph(graph, scene, ob);
+ build_rig(scene, ob);
break;
-
case OB_LAMP: /* Lamp */
- deg_build_lamp_graph(graph, scene, ob);
+ build_lamp(ob);
break;
case OB_CAMERA: /* Camera */
- deg_build_camera_graph(graph, scene, ob);
+ build_camera(ob);
break;
}
-#endif
}
/* particle systems */
More information about the Bf-blender-cvs
mailing list