Skip to content

Conversation

@quentin452
Copy link
Contributor

@quentin452 quentin452 commented Mar 23, 2025

todo :

  • fix ctrl + z and probably ctrl + y causing crash if i move an object into a subfolder and click on ctrl + z
  • todo support can drag and drop multiple elements at once easily
  • add drag and drop unit/folder
  • made folders persistant
  • made can rename folder (like unit)
  • refactor code
  • fix creating an unit remove manually created folders
  • replace logic in LevelTreeView.on_database_key_changed() to avoid recreating datas from zero every time
  • todo fix moving a folder to an another folder causing crash
  • todo fix removing an item from subfolder do not refresh view
  • support undo/redo feature
  • support folder drag and drop
  • made can remove folder (like unit)
  • made can dupplicate folder (like unit)

@quentin452 quentin452 marked this pull request as draft March 23, 2025 08:36
@quentin452 quentin452 changed the title tools : add can create basic folder to the tree view tools : can reorganize the level tree using folders Mar 23, 2025
… here ...

Step to reproduce :

1 : open a .level

2 : drag and drop a folder/unit/sound somewhere

3 : open a new .level (click on save or not the old level)

4 : get the error

14:24:26.245301  editor: lua: ...crown\samples\core\editors\level_editor\level_editor.lua:288: attempt to index a nil value
stack traceback:
	...crown\samples\core\editors\level_editor\level_editor.lua:288: in function <...crown\samples\core\editors\level_editor\level_editor.lua:285>
…ng into a dedicated file

+ (regression) fixed if i drag and drop an item into a root folder, he don't make has need to be saved (*)
+ remove unecessary disconnect and connect calls for on_tree_selection_changed
…t trigger set_property if parent_guid != target_guid
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.

1 participant