[Bf-blender-cvs] [1d629a44036] master: Cleanup: correct argument size for plane in planeProjection

Campbell Barton noreply at git.blender.org
Tue Oct 4 04:55:05 CEST 2022


Commit: 1d629a44036286b2d5e255f8a3f10d3f1eb0af08
Author: Campbell Barton
Date:   Tue Oct 4 13:53:59 2022 +1100
Branches: master
https://developer.blender.org/rB1d629a44036286b2d5e255f8a3f10d3f1eb0af08

Cleanup: correct argument size for plane in planeProjection

===================================================================

M	source/blender/editors/transform/transform_constraints.c

===================================================================

diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index d09bd99ef57..fa56456d8e7 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -338,7 +338,7 @@ static bool isPlaneProjectionViewAligned(const TransInfo *t, const float plane[4
 }
 
 static void planeProjection(const TransInfo *t,
-                            const float plane[3],
+                            const float plane[4],
                             const float in[3],
                             float out[3])
 {



More information about the Bf-blender-cvs mailing list