mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
Fix sometimes asset changes are lost
This commit is contained in:
parent
882768d4fe
commit
ce579e0f1f
@ -244,6 +244,8 @@ namespace TriInspector
|
|||||||
for (var targetIndex = 0; targetIndex < PropertyTree.TargetObjects.Length; targetIndex++)
|
for (var targetIndex = 0; targetIndex < PropertyTree.TargetObjects.Length; targetIndex++)
|
||||||
{
|
{
|
||||||
SetValueRecursive(this, value, targetIndex);
|
SetValueRecursive(this, value, targetIndex);
|
||||||
|
|
||||||
|
EditorUtility.SetDirty(PropertyTree.TargetObjects[targetIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// actualize
|
// actualize
|
||||||
|
Loading…
Reference in New Issue
Block a user