mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
Always sets property values recursive to root
This commit is contained in:
parent
c7d0f2ed84
commit
692dfb6620
@ -547,8 +547,7 @@ namespace TriInspector
|
||||
// because we cannot directly modify structs
|
||||
// but we can re-set entire parent value
|
||||
while (property._definition.SetValue(property, value, targetIndex, out var parentValue) &&
|
||||
property.Parent != null &&
|
||||
property.Parent.FieldType.IsValueType)
|
||||
property.Parent != null)
|
||||
{
|
||||
property = property.Parent;
|
||||
value = parentValue;
|
||||
|
Loading…
Reference in New Issue
Block a user