Commit: c7709c8eff9814cbfcbd10684380ef08c1d3f885
Author: Pablo Dobarro
Date: Mon Jul 15 18:27:19 2019 +0200
Branches: sculpt-mode-features
https://developer.blender.org/rBc7709c8eff9814cbfcbd10684380ef08c1d3f885
Fix blueprint tool matrix calculation
This should fix some plane scaling problems
===================================================================
M source/blender/editors/object/object_blueprint.c
===================================================================
diff --git a/source/blender/editors/object/object_blueprint.c
b/source/blender/editors/object/object_blueprint.c
index 1ffca8fbcb6..c5ccc053f94 100644
--- a/source/blender/editors/object/object_blueprint.c
+++ b/source/blender/editors/object/object_blueprint.c
@@ -1039,6 +1039,7 @@ int blueprint_update_step(bContext *C,
if (is_zero_v3(bp_x)) {
copy_v3_v3(bp_x, z_axis);
}
+ normalize_v3(bp_x);
copy_v3_v3(bp_z, cache->n);
cross_v3_v3v3(bp_y, bp_z, bp_x);
unit_m4(bp_mat);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs