[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19962] trunk/blender/source/blender/src/ editarmature_sketch.c: etch-a-ton bugfix
Martin Poirier
theeth at yahoo.com
Tue Apr 28 19:55:49 CEST 2009
Revision: 19962
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19962
Author: theeth
Date: 2009-04-28 19:55:48 +0200 (Tue, 28 Apr 2009)
Log Message:
-----------
etch-a-ton bugfix
cut and trim didn't set normal properly.
Modified Paths:
--------------
trunk/blender/source/blender/src/editarmature_sketch.c
Modified: trunk/blender/source/blender/src/editarmature_sketch.c
===================================================================
--- trunk/blender/source/blender/src/editarmature_sketch.c 2009-04-28 17:25:50 UTC (rev 19961)
+++ trunk/blender/source/blender/src/editarmature_sketch.c 2009-04-28 17:55:48 UTC (rev 19962)
@@ -2230,6 +2230,7 @@
pt.type = PT_EXACT;
pt.mode = PT_PROJECT; /* take mode from neighbouring points */
VECCOPY(pt.p, isect->p);
+ VECCOPY(pt.no, isect->stroke->points[isect->before].no);
sk_insertStrokePoint(isect->stroke, &pt, isect->after);
}
@@ -2271,6 +2272,7 @@
pt.type = PT_EXACT;
pt.mode = PT_PROJECT; /* take mode from neighbouring points */
VECCOPY(pt.p, isect->p);
+ VECCOPY(pt.no, isect->stroke->points[isect->before].no);
VecSubf(stroke_dir, isect->stroke->points[isect->after].p, isect->stroke->points[isect->before].p);
More information about the Bf-blender-cvs
mailing list