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:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-10-20 04:42:19 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-10-20 04:42:19 +0400
commite12f950d25327b5df911fe0128a3f3f5d873446d (patch)
treeeead6baebc86032d75c159976da1b0e7a8be2765 /source/blender/makesrna/intern
parentb741740ffabd0170415845354d5f8e3fdf657f1f (diff)
== Paint ==
Fixed bug #24239, "Fkey doesn't work in image paint unless also in 3D texture paint" * Fixed brush cursor not showing when painting in the image editor without 3d texture painting enabled * Fixed fkey not working when not in 3d texture paint Note: This does not handle showing the brush cursor when reloading a file saved with image painting on but 3d texture painting off. The method used for object paint modes doesn't apply quite the same here, so I left that alone for now.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index d4dec9277a1..70ccd4f8a6e 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -373,6 +373,8 @@ static PointerRNA rna_SpaceImageEditor_uvedit_get(PointerRNA *ptr)
static void rna_SpaceImageEditor_paint_update(Main *bmain, Scene *scene, PointerRNA *ptr)
{
paint_init(&scene->toolsettings->imapaint.paint, PAINT_CURSOR_TEXTURE_PAINT);
+
+ ED_space_image_paint_update(bmain->wm.first, scene->toolsettings);
}
static int rna_SpaceImageEditor_show_render_get(PointerRNA *ptr)