[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46354] trunk/blender/source/blender/ blenkernel/intern/armature.c: Fix for [#31333] 2. 63 Bone copy rotation becomes mad after entering/leaving armature edit mode
Bastien Montagne
montagne29 at wanadoo.fr
Sun May 6 17:40:49 CEST 2012
Revision: 46354
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46354
Author: mont29
Date: 2012-05-06 15:40:49 +0000 (Sun, 06 May 2012)
Log Message:
-----------
Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode
There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/armature.c
Modified: trunk/blender/source/blender/blenkernel/intern/armature.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/armature.c 2012-05-06 15:19:36 UTC (rev 46353)
+++ trunk/blender/source/blender/blenkernel/intern/armature.c 2012-05-06 15:40:49 UTC (rev 46354)
@@ -1463,8 +1463,12 @@
*
* was 0.000001, causes bug [#30438] (which is same as [#27675, imho).
* Reseting it to org value seems to cause no more [#23954]...
+ *
+ * was 0.0000000000001, caused bug [#], smaller values give unstable
+ * roll when toggling editmode again...
+ * No good value here, trying 0.000000001 as best compromize. :/
*/
- if (dot_v3v3(axis, axis) > 1.0e-13f) {
+ if (dot_v3v3(axis, axis) > 1.0e-9f) {
/* if nor is *not* a multiple of target ... */
normalize_v3(axis);
More information about the Bf-blender-cvs
mailing list