Commit: deb7ec312a43d5a511b2862da8e31b2addb7f492
Author: Alexander Gavrilov
Date:   Thu Oct 21 19:27:30 2021 +0300
Branches: master
https://developer.blender.org/rBdeb7ec312a43d5a511b2862da8e31b2addb7f492

Suppress the unused parameter warning from D9551.

The parameter is only used in an assert.

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

M       source/blender/blenloader/intern/versioning_300.c

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

diff --git a/source/blender/blenloader/intern/versioning_300.c 
b/source/blender/blenloader/intern/versioning_300.c
index 6b57bdf9a9c..51a3e32f2bb 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -1177,6 +1177,7 @@ static void correct_bone_roll_value(const float head[3],
      * 2.92 and 2.91, provided Edit Mode isn't entered on the armature in 
2.91. */
     vec_roll_to_mat3(vec, *r_roll, bone_mat);
 
+    UNUSED_VARS_NDEBUG(check_y_axis);
     BLI_assert(dot_v3v3(bone_mat[1], check_y_axis) > 0.999f);
 
     if (dot_v3v3(bone_mat[0], check_x_axis) < 0.999f) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to