Force rebuild on proxy changes if rebuild is true
This commit is contained in:
@@ -737,7 +737,7 @@ namespace FlaxEditor.Modules
|
|||||||
{
|
{
|
||||||
Proxy.Insert(0, proxy);
|
Proxy.Insert(0, proxy);
|
||||||
if (rebuild)
|
if (rebuild)
|
||||||
Rebuild();
|
Rebuild(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -749,7 +749,7 @@ namespace FlaxEditor.Modules
|
|||||||
{
|
{
|
||||||
Proxy.Remove(proxy);
|
Proxy.Remove(proxy);
|
||||||
if (rebuild)
|
if (rebuild)
|
||||||
Rebuild();
|
Rebuild(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1275,10 +1275,6 @@ namespace FlaxEditor.Modules
|
|||||||
}
|
}
|
||||||
_dirtyNodes.Clear();
|
_dirtyNodes.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lazy-rebuilds
|
|
||||||
if (_rebuildFlag)
|
|
||||||
RebuildInternal();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
Reference in New Issue
Block a user