mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -05:00
Fix: InlineObjectField's allowSceneObjects is invalid
This commit is contained in:
parent
2cc974d676
commit
317143030d
@ -34,7 +34,7 @@ namespace Alchemy.Editor.Elements
|
||||
{
|
||||
label = ObjectNames.NicifyVariableName(property.displayName),
|
||||
objectType = type,
|
||||
allowSceneObjects = property.GetFieldInfo().HasCustomAttribute<AssetsOnlyAttribute>(),
|
||||
allowSceneObjects = !property.GetFieldInfo().HasCustomAttribute<AssetsOnlyAttribute>(),
|
||||
value = property.objectReferenceValue
|
||||
};
|
||||
field.style.position = Position.Absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user