Skip to content

Commit 368bae3

Browse files
committed
serializedObject.Update() is now called when an item is selected
1 parent 1f0206e commit 368bae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ TypePopupCache GetTypePopup (SerializedProperty property) {
7979
object obj = m_TargetProperty.SetManagedReference(type);
8080
m_TargetProperty.isExpanded = (obj != null);
8181
m_TargetProperty.serializedObject.ApplyModifiedProperties();
82+
m_TargetProperty.serializedObject.Update();
8283
};
8384

8485
result = new TypePopupCache(popup, state);

0 commit comments

Comments
 (0)