Extend BRDF
This commit is contained in:
@ -89,6 +89,9 @@ class MeshObject extends Object {
|
||||
#end
|
||||
if (tilesheet != null) tilesheet.remove();
|
||||
if (Scene.active != null) Scene.active.meshes.remove(this);
|
||||
#if (rp_renderer == "Deferred")
|
||||
if (Scene.active != null) Scene.active.materialParamsDirty = true;
|
||||
#end
|
||||
data.refcount--;
|
||||
super.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user