[Bf-blender-cvs] [c2100520d30] asset-greasepencil: GPencil: Remove unused variable

Antonio Vazquez noreply at git.blender.org
Fri Jul 23 12:59:32 CEST 2021


Commit: c2100520d30a596a55aa7977163b1853aaf46fa4
Author: Antonio Vazquez
Date:   Fri Jul 23 12:40:43 2021 +0200
Branches: asset-greasepencil
https://developer.blender.org/rBc2100520d30a596a55aa7977163b1853aaf46fa4

GPencil: Remove unused variable

===================================================================

M	source/blender/editors/gpencil/gpencil_asset.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_asset.c b/source/blender/editors/gpencil/gpencil_asset.c
index 981ea94b233..f151ee4b2be 100644
--- a/source/blender/editors/gpencil/gpencil_asset.c
+++ b/source/blender/editors/gpencil/gpencil_asset.c
@@ -75,7 +75,6 @@ typedef struct tGPDasset {
   struct Scene *scene;
   struct ScrArea *area;
   struct ARegion *region;
-  struct RegionView3D *rv3d;
   /** Current object. */
   struct Object *ob;
   /** Current GP datablock. */
@@ -1083,7 +1082,6 @@ static bool gpencil_asset_import_set_init_values(bContext *C,
   tgpa->scene = CTX_data_scene(C);
   tgpa->area = CTX_wm_area(C);
   tgpa->region = CTX_wm_region(C);
-  tgpa->rv3d = CTX_wm_region_view3d(C);
   tgpa->ob = CTX_data_active_object(C);
 
   /* Setup space conversions data. */



More information about the Bf-blender-cvs mailing list