[Bf-blender-cvs] [c89546c14a5] PSketch-279: Compile fixes for GCC
Joshua Leung
noreply at git.blender.org
Tue May 8 18:04:19 CEST 2018
Commit: c89546c14a5deafbf9d25751643fee4eb8d81e97
Author: Joshua Leung
Date: Tue May 8 18:00:56 2018 +0200
Branches: PSketch-279
https://developer.blender.org/rBc89546c14a5deafbf9d25751643fee4eb8d81e97
Compile fixes for GCC
===================================================================
M source/blender/editors/armature/pose_sculpt.c
M source/blender/editors/armature/pose_sketch.c
===================================================================
diff --git a/source/blender/editors/armature/pose_sculpt.c b/source/blender/editors/armature/pose_sculpt.c
index bc7e58b90f1..a783628fd81 100644
--- a/source/blender/editors/armature/pose_sculpt.c
+++ b/source/blender/editors/armature/pose_sculpt.c
@@ -2051,7 +2051,7 @@ static void psculpt_brush_apply(bContext *C, wmOperator *op, PointerRNA *itemptr
}
else {
ED_view3d_win_to_delta(pso->ar, delta, pso->dvec, zfac); // XXX?
- changed = psculpt_brush_do_draw_apply(pso);
+ /*changed =*/ psculpt_brush_do_draw_apply(pso);
}
break;
}
diff --git a/source/blender/editors/armature/pose_sketch.c b/source/blender/editors/armature/pose_sketch.c
index d23f82c1636..a4a2489fc03 100644
--- a/source/blender/editors/armature/pose_sketch.c
+++ b/source/blender/editors/armature/pose_sketch.c
@@ -816,7 +816,7 @@ static int psketch_direct_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
- if (IS_EQ(chain_len, 0.0f)) {
+ if (IS_EQF(chain_len, 0.0f)) {
BKE_report(op->reports, RPT_ERROR, "Zero length bone chain!");
psketch_exit_cleanup(ps, gpl);
More information about the Bf-blender-cvs
mailing list