Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-06-07 15:19:22 +0300
committerJacques Lucke <jacques@blender.org>2022-06-07 15:21:02 +0300
commit3b7e314a2869624a0d42bbeb82d7d99f3056dba5 (patch)
tree9e5b7e260f465ab4dc0fe3199d7b8df74a38441b /source/blender/editors
parentd4227150949afb27064843767d3fc2abf126e9f8 (diff)
Cleanup: remove dead code
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_comb.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_comb.cc b/source/blender/editors/sculpt_paint/curves_sculpt_comb.cc
index 71f08cce8ff..ae0a512c5ee 100644
--- a/source/blender/editors/sculpt_paint/curves_sculpt_comb.cc
+++ b/source/blender/editors/sculpt_paint/curves_sculpt_comb.cc
@@ -99,12 +99,9 @@ struct CombOperationExecutor {
float2 brush_pos_prev_re_;
float2 brush_pos_re_;
float2 brush_pos_diff_re_;
- float brush_pos_diff_length_re_;
float4x4 curves_to_world_mat_;
float4x4 world_to_curves_mat_;
- float4x4 surface_to_world_mat_;
- float4x4 world_to_surface_mat_;
CombOperationExecutor(const bContext &C) : ctx_(C)
{
@@ -141,7 +138,6 @@ struct CombOperationExecutor {
brush_pos_prev_re_ = self_->brush_pos_last_re_;
brush_pos_re_ = stroke_extension.mouse_position;
brush_pos_diff_re_ = brush_pos_re_ - brush_pos_prev_re_;
- brush_pos_diff_length_re_ = math::length(brush_pos_diff_re_);
if (stroke_extension.is_first) {
if (falloff_shape_ == PAINT_FALLOFF_SHAPE_SPHERE) {