Commit: 50f8adeb5f917567012f575f1f10f1a76cab6285
Author: Falk David
Date:   Wed Feb 2 19:21:23 2022 +0100
Branches: greasepencil-object
https://developer.blender.org/rB50f8adeb5f917567012f575f1f10f1a76cab6285

Remove test light_updates

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

M       source/blender/blenkernel/intern/gpencil.c

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

diff --git a/source/blender/blenkernel/intern/gpencil.c 
b/source/blender/blenkernel/intern/gpencil.c
index 68d3c7d1350..d7a83b17036 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -1616,7 +1616,6 @@ void BKE_gpencil_layer_active_set(bGPdata *gpd, bGPDlayer 
*active)
     if (gpd->flag & GP_DATA_AUTOLOCK_LAYERS) {
       gpl->flag |= GP_LAYER_LOCKED;
     }
-    BKE_gpencil_tag_light_update(gpd, gpl, NULL, NULL);
   }
 
   /* set as active one */
@@ -1642,7 +1641,6 @@ void BKE_gpencil_layer_autolock_set(bGPdata *gpd, const 
bool unlock)
       else {
         gpl->flag |= GP_LAYER_LOCKED;
       }
-      BKE_gpencil_tag_light_update(gpd, gpl, NULL, NULL);
     }
   }
   else {
@@ -1652,7 +1650,6 @@ void BKE_gpencil_layer_autolock_set(bGPdata *gpd, const 
bool unlock)
     if (unlock) {
       LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
         gpl->flag &= ~GP_LAYER_LOCKED;
-        BKE_gpencil_tag_light_update(gpd, gpl, NULL, NULL);
       }
     }
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to