[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12844] trunk/blender/source/blender/ blenkernel/intern/depsgraph.c:

Joe Eagar joeedh at gmail.com
Tue Dec 11 17:28:42 CET 2007


Brecht Van Lommel wrote:
> Revision: 12844
>           http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12844
> Author:   blendix
> Date:     2007-12-11 15:58:23 +0100 (Tue, 11 Dec 2007)
>
> Log Message:
> -----------
>
> Bugfix for constraint lagging with local ipo's. For some reason
> the depsgraph relations for constraints with a local ipo were being
> skipped, but I have no idea why this code was added? Uncommenting
> it seems to work fine.
>
>   
Eh don't you mean commenting the line works fine?

> Modified Paths:
> --------------
>     trunk/blender/source/blender/blenkernel/intern/depsgraph.c
>
> Modified: trunk/blender/source/blender/blenkernel/intern/depsgraph.c
> ===================================================================
> --- trunk/blender/source/blender/blenkernel/intern/depsgraph.c	2007-12-11 14:35:08 UTC (rev 12843)
> +++ trunk/blender/source/blender/blenkernel/intern/depsgraph.c	2007-12-11 14:58:23 UTC (rev 12844)
> @@ -2189,7 +2189,11 @@
>  							node2 = dag_get_node(dag, target);
>  							dag_add_relation(dag, node2, node, 0);
>  							dag_add_parent_relation(dag, node2, node, 0);
> -							cti= NULL;	/* trick to get next loop skipped */
> +
> +							/* uncommented this line, results in dependencies
> +							 * not being added properly for this constraint,
> +							 * what is the purpose of this? - brecht */
> +							/*cti= NULL;*/	/* trick to get next loop skipped */
>  						}
>  					}
>  				}
>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>
>   



More information about the Bf-committers mailing list