[Bf-blender-cvs] [1060b63] depsgraph_refactor: Minor fix for indentation errors.

Lukas Tönne noreply at git.blender.org
Tue May 20 20:24:50 CEST 2014


Commit: 1060b63f7361c7d88cbbf5aa6ff0d1d00275aaa7
Author: Lukas Tönne
Date:   Tue May 20 20:22:44 2014 +0200
https://developer.blender.org/rB1060b63f7361c7d88cbbf5aa6ff0d1d00275aaa7

Minor fix for indentation errors.

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

M	source/blender/depsgraph/intern/depsgraph_build.cpp
M	source/blender/depsgraph/intern/depsgraph_build_relations.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build.cpp b/source/blender/depsgraph/intern/depsgraph_build.cpp
index cc72ed9..33d7769 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build.cpp
@@ -474,10 +474,10 @@ void DEG_graph_build_from_scene(Depsgraph *graph, Main *bmain, Scene *scene)
 	
 	DepsgraphRelationBuilder relation_builder(graph);
 	/* hook scene up to the root node as entrypoint to graph */
-    /* XXX what does this relation actually mean?
-     * it doesnt add any operations anyway and is not clear what part of the scene is to be connected.
-     */
-    //relation_builder.add_relation(RootKey(), IDKey(scene), DEPSREL_TYPE_ROOT_TO_ACTIVE, "Root to Active Scene");
+	/* XXX what does this relation actually mean?
+	 * it doesnt add any operations anyway and is not clear what part of the scene is to be connected.
+	 */
+	//relation_builder.add_relation(RootKey(), IDKey(scene), DEPSREL_TYPE_ROOT_TO_ACTIVE, "Root to Active Scene");
 	relation_builder.build_scene(scene);
 	
 #if 0
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index b63e4cc..482bdff 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -206,7 +206,7 @@ void DepsgraphRelationBuilder::build_object(Scene *scene, Object *ob)
 
 void DepsgraphRelationBuilder::build_object_parent(Object *ob)
 {
-    ComponentKey ob_key(ob, DEPSNODE_TYPE_TRANSFORM);
+	ComponentKey ob_key(ob, DEPSNODE_TYPE_TRANSFORM);
 	
 	/* type-specific links */
 	switch (ob->partype) {




More information about the Bf-blender-cvs mailing list