From 0b4c56b01078b70b294208932d1e1d37a1ab3bd2 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 22 Feb 2022 13:42:44 +0100 Subject: Cleanup: Replace eTexPaintMode with classes. For an upcoming prototype we would introduced a new eTexPaintMode option. That would add more cases and if statements. This change migrate the eTexPaintMode to 3 classes. AbstractPaintMode contains a shared interface. ImagePaintMode for 2d painting and ProjectionPaintMode for 3d painting. --- source/blender/editors/sculpt_paint/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/sculpt_paint/CMakeLists.txt') diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt index c1febe5c86b..de7888aa1e8 100644 --- a/source/blender/editors/sculpt_paint/CMakeLists.txt +++ b/source/blender/editors/sculpt_paint/CMakeLists.txt @@ -30,6 +30,7 @@ set(SRC paint_curve_undo.c paint_hide.c paint_image.cc + paint_image_ops_paint.cc paint_image_2d.c paint_image_2d_curve_mask.cc paint_image_proj.c -- cgit v1.2.3