diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-09 15:21:25 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-09 15:27:49 +0300 |
commit | ca9bdf3f286a4c01eb2da1a5689b71737636f659 (patch) | |
tree | 6a1c2adb3967c9cb1c8c8e636495168286c202d5 /source/blender | |
parent | 62cc4bab083893a85e451ab96455c9be60c04cc1 (diff) |
Fix rotate around selection only working if object is at origin for
texpaint
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 12240be1689..9d0582701d2 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -4544,6 +4544,7 @@ static bool project_paint_op(void *state, const float lastpos[2], const float po } ups->average_stroke_counter++; + mul_m4_v3(ps->ob->obmat, world); add_v3_v3(ups->average_stroke_accum, world); ups->last_stroke_valid = true; } |