Skip to content

Comments

Improve docs for EditorResourcePicker::_set_create_options#104481

Open
kleonc wants to merge 1 commit intogodotengine:masterfrom
kleonc:editor_resource_picker_set_create_options_docs
Open

Improve docs for EditorResourcePicker::_set_create_options#104481
kleonc wants to merge 1 commit intogodotengine:masterfrom
kleonc:editor_resource_picker_set_create_options_docs

Conversation

@kleonc
Copy link
Member

@kleonc kleonc commented Mar 22, 2025

Adding custom options with EditorResourcePicker::_set_create_options with IDs starting from 0 results in conflicts with the built-in options ("Load", "Copy", "Paste", etc.), and hence the custom options not working correctly.

This PR adds a note explaining how to avoid such ID collisions.

@kleonc kleonc added enhancement topic:editor documentation cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Mar 22, 2025
@kleonc kleonc added this to the 4.5 milestone Mar 22, 2025
@kleonc kleonc requested a review from a team as a code owner March 22, 2025 11:37
@Repiteo Repiteo added the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Sep 18, 2025
@Repiteo Repiteo modified the milestones: 4.5, 4.x Sep 18, 2025
@akien-mga akien-mga removed cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release labels Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants