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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-09 11:03:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-09 11:07:31 +0300
commitfa82a15676eb37a7e73d1e3a0e8095684842376d (patch)
tree6b7a1eda805ccd58ab20f939cefb13ed93f161c7 /source/blender/editors/sculpt_paint/paint_image_2d.c
parente718004edf3fc335d686cc2a0291f1f0df4eba32 (diff)
Cleanup: remove unused struct members
Non-projection painting in the viewport is no longer supported, remove struct members used for this.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_2d.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_2d.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c
index 29e2af01cac..f0923cf3d28 100644
--- a/source/blender/editors/sculpt_paint/paint_image_2d.c
+++ b/source/blender/editors/sculpt_paint/paint_image_2d.c
@@ -132,8 +132,6 @@ typedef struct ImagePaintState {
SpaceImage *sima;
View2D *v2d;
Scene *scene;
- bScreen *screen;
- struct ImagePool *image_pool;
Brush *brush;
short tool, blend;
@@ -142,11 +140,6 @@ typedef struct ImagePaintState {
bool do_masking;
- /* viewport texture paint only, but _not_ project paint */
- Object *ob;
- int faceindex;
- float uv[2];
- int do_facesel;
int symmetry;
ImagePaintTile *tiles;
@@ -1674,7 +1667,6 @@ void *paint_2d_new_stroke(bContext *C, wmOperator *op, int mode)
s->sima = CTX_wm_space_image(C);
s->v2d = &CTX_wm_region(C)->v2d;
s->scene = scene;
- s->screen = CTX_wm_screen(C);
s->brush = brush;
s->tool = brush->imagepaint_tool;