Commit: dec59618b4b0e6f0472c37566c2f1f56b5ac2b7e
Author: Campbell Barton
Date:   Fri Jul 15 18:40:16 2016 +1000
Branches: master
https://developer.blender.org/rBdec59618b4b0e6f0472c37566c2f1f56b5ac2b7e

Correct error in snap commit

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

M       source/blender/editors/space_view3d/view3d_snap.c

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

diff --git a/source/blender/editors/space_view3d/view3d_snap.c 
b/source/blender/editors/space_view3d/view3d_snap.c
index 638dd04..5dd69cc 100644
--- a/source/blender/editors/space_view3d/view3d_snap.c
+++ b/source/blender/editors/space_view3d/view3d_snap.c
@@ -44,6 +44,7 @@
 #include "BKE_main.h"
 #include "BKE_mball.h"
 #include "BKE_object.h"
+#include "BKE_report.h"
 #include "BKE_tracking.h"
 
 #include "WM_api.h"
@@ -428,7 +429,7 @@ void VIEW3D_OT_snap_selected_to_cursor(wmOperatorType *ot)
 
 static int snap_selected_to_active_exec(bContext *C, wmOperator *op)
 {
-       const float snap_target_global[3];
+       float snap_target_global[3];
 
        if (snap_calc_active_center(C, false, snap_target_global) == false) {
                BKE_report(op->reports, RPT_ERROR, "No active element found!");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to