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:
authorAntony Riakiotakis <kalast@gmail.com>2013-12-19 07:09:42 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-12-19 07:09:42 +0400
commite915ecdfc4681b479c90349ef1d6338179071800 (patch)
tree745dcb7638fedeef32b347533e2ea89c0fd93994 /source/blender/editors/include/ED_sculpt.h
parent58ae499fc12449b35e0b9da06506f429a70e9744 (diff)
Fix T37387 VIEW3D_OT_view_selected in sculpt mode zooms far from
sculpted object if last sculpt stroke ends outside the mesh. Code here used the last true location which is invalid in that case, just reuse the average stroke location instead.
Diffstat (limited to 'source/blender/editors/include/ED_sculpt.h')
-rw-r--r--source/blender/editors/include/ED_sculpt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h
index ed7415e6c26..4c6c4090548 100644
--- a/source/blender/editors/include/ED_sculpt.h
+++ b/source/blender/editors/include/ED_sculpt.h
@@ -45,7 +45,6 @@ void ED_operatortypes_sculpt(void);
void sculpt_get_redraw_planes(float planes[4][4], struct ARegion *ar,
struct RegionView3D *rv3d, struct Object *ob);
void ED_sculpt_force_update(struct bContext *C);
-float *ED_sculpt_get_last_stroke(struct Object *ob);
void ED_sculpt_get_average_stroke(struct Object *ob, float stroke[3]);
int ED_sculpt_minmax(struct bContext *C, float min[3], float max[3]);
int ED_sculpt_mask_layers_ensure(struct Object *ob,