Revision: 31262
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31262
Author:   leifandersen
Date:     2010-08-11 19:58:16 +0200 (Wed, 11 Aug 2010)

Log Message:
-----------
1.  Apperently 10 bits of data is enough to keep the roundoff error for 
armature length, switch to 4 bits of data.

2.  Update the hashfile.

Modified Paths:
--------------
    branches/soc-2010-leifandersen/release/scripts/op/tests_hash.py
    branches/soc-2010-leifandersen/tests/hashfile.txt

Modified: branches/soc-2010-leifandersen/release/scripts/op/tests_hash.py
===================================================================
--- branches/soc-2010-leifandersen/release/scripts/op/tests_hash.py     
2010-08-11 17:40:43 UTC (rev 31261)
+++ branches/soc-2010-leifandersen/release/scripts/op/tests_hash.py     
2010-08-11 17:58:16 UTC (rev 31262)
@@ -430,7 +430,7 @@
                         hashcode.update(str(bone.hide_select).encode())
                         hashcode.update(str(bone.hinge).encode())
                         hashcode.update(str(bone.inherit_scale).encode())
-                        hashcode.update(str(round(bone.length, 10)).encode())
+                        hashcode.update(str(round(bone.length, 4)).encode())
                         hashcode.update(str(bone.local_location).encode())
                         
hashcode.update(str(bone.multiply_vertexgroup_with_envelope).encode())
                         hashcode.update(str(bone.name).encode())

Modified: branches/soc-2010-leifandersen/tests/hashfile.txt
===================================================================
--- branches/soc-2010-leifandersen/tests/hashfile.txt   2010-08-11 17:40:43 UTC 
(rev 31261)
+++ branches/soc-2010-leifandersen/tests/hashfile.txt   2010-08-11 17:58:16 UTC 
(rev 31262)
@@ -3,7 +3,7 @@
 boids.blend = Working
 MetaBall_example.py.blend_start = aad296af369581833a84411fea836ee2
 Timeline.py.blend_end = -21460235683897623202
-Types_example.py.blend_start = Working
+Group_example2.py.blend_end = Working
 softbodytest.blend = Working
 Font_example.py.blend_end = d2f277eab17a6fb4d792afa0917bc0da
 mball.blend = Working
@@ -12,10 +12,11 @@
 Mesh_example.py.blend_start = aad296af369581833a84411fea836ee2
 lamp_modes_example.py.blend_start = Working
 Text_example.py.blend = a948c91b9df848f8075da24a07ddcc24
-all_tris.blend = Working
+Window_example1.py.blend_start = Working
 Timeline.py.blend_start = Working
 World_example2.py.blend = a948c91b9df848f8075da24a07ddcc24
-Font_example.py.blend_start = aad296af369581833a84411fea836ee2
+Armature_example2.py.blend = 9de007b901061739811b635d8458b6df
+image_example.py.blend = a948c91b9df848f8075da24a07ddcc24
 Timeline.py.blend = a948c91b9df848f8075da24a07ddcc24
 Render_example.py.blend_start = Working
 main.blend = Working
@@ -33,7 +34,7 @@
 lamp_modes_example.py.blend_end = Working
 MeshPrimitives_example.py.blend = 41b9d75cf0a53c79a5cb3d68a10ec7a5
 Types_example.py.blend_end = Working
-Font_example.py.blend = dba4317142a24193be16c95f438bfe6b
+Text_example.py.blend_end = Working
 fluidsim.blend = Working
 Constraint_example1.py.blend = 686dd74c73ad6f051ae1fe7f880d9dfe
 particle_extras_effector.blend = Working
@@ -48,25 +49,24 @@
 Object_example.py.blend = c8b2f049e8bf63de317ee97226bb3b55
 Mesh_example.py.blend = 3c6a4371324394ef94cff62479913167
 continue_physics.blend = Working
-Window_example1.py.blend_start = Working
+all_tris.blend = Working
 image_example.py.blend_start = Working
 Sound_example.py.blend_start = Working
 World_example1.py.blend = a948c91b9df848f8075da24a07ddcc24
 NURBS.blend = Working
 World_example1.py.blend_end = Working
-Armature_example2.py.blend_start = a24a5db57cf59afdab1c3b808f28bdef
+Armature_example2.py.blend_start = a636ac15a2b820f10de5e8cb55cb8f75
 Constraint_example2.py.blend_start = Working
 Camera_example.py.blend_end = Working
 softbody_basics.blend = Working
 effect_example.py.blend_end = Working
 World_example2.py.blend_start = Working
 edges.blend = Working
-Group_example2.py.blend_end = Working
+Types_example.py.blend_start = Working
 Scene_example.py.blend_end = Working
 Constraint_example1.py.blend_end = Working
 Types_example.py.blend = a948c91b9df848f8075da24a07ddcc24
 Sound_example.py.blend_end = -21460235683897623202
-Object_example.py.blend_start = Working
 MeshPrimitives_example.py.blend_end = Working
 fountain.blend = Working
 vertices.blend = Working
@@ -79,14 +79,14 @@
 MeshPrimitives_example.py.blend_start = aad296af369581833a84411fea836ee2
 effect_example.py.blend_start = Working
 NMesh_example.py.blend_start = Working
-Armature_example2.py.blend_end = c6649a696643e746003ab7ee6b14eb17
+Armature_example2.py.blend_end = 9e64e5553435438b2aa5cafadc50794d
 Window_example1.py.blend = a948c91b9df848f8075da24a07ddcc24
 Text3d_example.py.blend = dba4317142a24193be16c95f438bfe6b
 NMesh_example.py.blend_end = Working
-Armature_example2.py.blend = 9de007b901061739811b635d8458b6df
-image_example.py.blend = a948c91b9df848f8075da24a07ddcc24
+Object_example.py.blend_start = Working
+Font_example.py.blend_start = aad296af369581833a84411fea836ee2
 Scene_example.py.blend_start = Working
-Text_example.py.blend_end = Working
+Font_example.py.blend = dba4317142a24193be16c95f438bfe6b
 Mesh_example.py.blend_end = Working
 fgons.blend = Working
 Modifier_example.py.blend = 1a82af6cee97145e5e751b86d97e6ddf


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to