Commit: 53633702997ba925da490974e0e970308d0ab823
Author: Antonio Vazquez
Date:   Fri Jan 10 11:18:59 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB53633702997ba925da490974e0e970308d0ab823

GPencil: Remove patch old files to Lights ON at Object level

This option breaks the colors, so only must be enabled for new objects.

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

M       source/blender/blenloader/intern/versioning_280.c

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

diff --git a/source/blender/blenloader/intern/versioning_280.c 
b/source/blender/blenloader/intern/versioning_280.c
index 88937d0e52d..e4e8c580351 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -4384,8 +4384,6 @@ void blo_do_versions_280(FileData *fd, Library 
*UNUSED(lib), Main *bmain)
         if (ob->type != OB_GPENCIL) {
           continue;
         }
-        /* Enable lights by default. */
-        ob->dtx |= OB_USE_GPENCIL_LIGHTS;
 
         /* VFX. */
         LISTBASE_FOREACH (ShaderFxData *, fx, &ob->shader_fx) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to