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:
authorAntonioya <blendergit@gmail.com>2018-12-19 19:07:12 +0300
committerAntonioya <blendergit@gmail.com>2018-12-19 19:09:30 +0300
commit1fc75dbbceead7316095089ef15551a1d4fdd11f (patch)
treeebbd0eaf900269eb0b161df52c04a0c581195071 /source/blender/editors/gpencil/gpencil_intern.h
parentd9ac4653e70cace968d5a2d3acca894e4168b056 (diff)
Fix T59595: Grease Pencil and CameraView
The perspective effect deformed the stroke. Now when you are in camera view and the lock axis is not enabled, the stroke is reprojected flat over the view to remove any deformation. Also fixed reproject operator to use the origin set in topbar and not cursor 3D always.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index 7d386c18c64..668fc076b2e 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -193,6 +193,8 @@ void ED_gp_draw_fill(struct tGPDdraw *tgpw);
/* gpencil_utils.c */
typedef struct GP_SpaceConversion {
+ struct Scene *scene;
+ struct Object *ob;
struct bGPdata *gpd;
struct bGPDlayer *gpl;