diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-30 18:52:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-01 10:17:17 +0300 |
commit | af508a1e39c002db8e07886e042378c12b8fc136 (patch) | |
tree | 8759c92111f06635ba7cba870caed0df452f08cd /source/blender/blenkernel/intern/material.c | |
parent | 2bd2a2ac0334e428b3b5e8340737d0992a2c3d3a (diff) |
Mark localized node trees and materials as such
Makes it easier to see where the datablock is coming from.
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index 39ad95e9183..2f2f2fb3599 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -199,7 +199,9 @@ Material *BKE_material_localize(Material *ma) BLI_listbase_clear(&man->gpumaterial); /* TODO Duplicate Engine Settings and set runtime to NULL */ - + + man->id.tag |= LIB_TAG_LOCALIZED; + return man; } |