Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sculpt_paint.c
| Context not available. | |||||
| Paint *paint = ptr->data; | Paint *paint = ptr->data; | ||||
| Brush *br = paint->brush; | Brush *br = paint->brush; | ||||
| BKE_paint_invalidate_overlay_all(); | BKE_paint_invalidate_overlay_all(); | ||||
| WM_main_add_notifier(NC_BRUSH | NA_EDITED, br); | WM_main_add_notifier(NC_BRUSH | NA_SELECTED, br); | ||||
| } | } | ||||
| static void rna_ImaPaint_viewport_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *UNUSED(ptr)) | static void rna_ImaPaint_viewport_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *UNUSED(ptr)) | ||||
| Context not available. | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_CLONE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", IMAGEPAINT_PROJECT_LAYER_CLONE); | ||||
| RNA_def_property_ui_text(prop, "Clone Map", | RNA_def_property_ui_text(prop, "Clone Map", | ||||
| "Use another UV map as clone source, otherwise use the 3D cursor as the source"); | "Use another UV map as clone source, otherwise use the 3D cursor as the source"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, "rna_ImaPaint_viewport_update"); | ||||
| /* integers */ | /* integers */ | ||||
| Context not available. | |||||