Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error and bug. #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

iDreamsOfGame
Copy link

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


[Space]
[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