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:
authorJoshua Leung <aligorith@gmail.com>2009-08-27 05:01:13 +0400
committerJoshua Leung <aligorith@gmail.com>2009-08-27 05:01:13 +0400
commit65b7d58fa212377226f9a132cfd274a76328e2a6 (patch)
tree6e62b8481dd9e42df22ad70b443caa4c3cb8638c /source/blender/editors/space_view3d
parenta3bc7f3d1d2824a1d05832a4c9186f440fbb91b0 (diff)
Grease Pencil: Bugfixes
* Realtime updates now work again * Fixed problems with clicks to start drawing resulting in a stroke being ended. * Changed the hotkeys to Ctrl-Alt-Shift-LMB (draw) and Ctrl-Alt-Shift-RMB (erase). Still very temporary stuff, will probably change these a few more times as I experiment with new approaches.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 07ffb35f807..4ca1f296f15 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2084,7 +2084,7 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
/* draw grease-pencil stuff */
//if (v3d->flag2 & V3D_DISPGP)
- draw_gpencil_3dview(C, 1);
+ draw_gpencil_3dview((bContext *)C, 1);
BDR_drawSketch(C);
@@ -2100,9 +2100,9 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
if(rv3d->persp>1) drawviewborder(scene, ar, v3d);
if(rv3d->rflag & RV3D_FLYMODE) drawviewborder_flymode(ar);
- /* draw grease-pencil stuff */
+ /* draw grease-pencil stuff - needed to get paint-buffer shown too (since it's 2D) */
// if (v3d->flag2 & V3D_DISPGP)
-// draw_gpencil_3dview(ar, 0);
+ draw_gpencil_3dview((bContext *)C, 0);
drawcursor(scene, ar, v3d);