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/editors/include/ED_image.h
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/editors/include/ED_image.h')
-rw-r--r--source/blender/editors/include/ED_image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_image.h b/source/blender/editors/include/ED_image.h
index 1d674112b8d..c5f0983f494 100644
--- a/source/blender/editors/include/ED_image.h
+++ b/source/blender/editors/include/ED_image.h
@@ -32,7 +32,9 @@ struct SpaceImage;
struct bContext;
struct Image;
struct ImageUser;
+struct ToolSettings;
struct uiBlock;
+struct wmWindowManager;
/* space_image.c, exported for transform */
struct Image *ED_space_image(struct SpaceImage *sima);
@@ -47,6 +49,8 @@ void ED_space_image_aspect(struct SpaceImage *sima, float *aspx, float *aspy);
void ED_space_image_zoom(struct SpaceImage *sima, struct ARegion *ar, float *zoomx, float *zoomy);
void ED_space_image_uv_aspect(struct SpaceImage *sima, float *aspx, float *aspy);
+void ED_space_image_paint_update(struct wmWindowManager *wm, struct ToolSettings *settings);
+
void ED_image_size(struct Image *ima, int *width, int *height);
void ED_image_aspect(struct Image *ima, float *aspx, float *aspy);
void ED_image_uv_aspect(struct Image *ima, float *aspx, float *aspy);