Skip to content

Fixed error and bug.#90

Open
iDreamsOfGame wants to merge 2 commits intofavoyang:masterfrom
iDreamsOfGame:master
Open

Fixed error and bug.#90
iDreamsOfGame wants to merge 2 commits intofavoyang:masterfrom
iDreamsOfGame:master

Conversation

@iDreamsOfGame
Copy link

  • Fixed error of Ondin Inspector 3.1.x.
  • Fixed bug that AddressableImportSettingsList.RebuildSettingsList doesn't save.

[Tooltip("Rules for managing imported assets.")]
#if ODIN_INSPECTOR
[ListDrawerSettings(HideAddButton = false,Expanded = false,DraggableItems = true,HideRemoveButton = false)]
#if ODIN_INSPECTOR
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the #ODIN_INSPECTOR should be versioned.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, different API in different version.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, please change the related symbol to be versioned (#ODIN_INSPECTOR_X_Y_Z)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iDreamsOfGame my point is that your patch contains two duplicated #if ODIN_INSPECTOR symbol (a typo?), the second one should be a versioned symbol.

#if ODIN_INSPECTOR
#if ODIN_INSPECTOR <-- should be versioned like #if ODIN_INSPECTOR_X_Y_Z
...
#else
...
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants