Commit Graph

169 Commits

Author SHA1 Message Date
Serhii Snitsaruk 3f04ff2eb4 Save/load editor config values
Only HSplitContainer split_offset is kept at the moment.
2022-09-06 13:28:25 +02:00
Serhii Snitsaruk afbf095d1b Fix crash on Save pressed with no bt edited 2022-09-06 13:08:27 +02:00
Serhii Snitsaruk 507dc8d850 Edit bt via inspector and add usage panel 2022-09-05 21:57:24 +02:00
Serhii Snitsaruk 7eff8d5488 Refresh task panel on visibility change 2022-09-05 17:56:38 +02:00
Serhii Snitsaruk 026ff26ab3 Use single function to get task icon in the editor 2022-09-05 16:39:40 +02:00
Serhii Snitsaruk 490a419f0e Add Create New Task action 2022-09-05 13:31:38 +02:00
Serhii Snitsaruk 3de4847a89 Add default dir for behavior trees 2022-09-05 13:11:47 +02:00
Serhii Snitsaruk 1770c23553 Handle task_changed
Update task tree item when selected task resource is changed.
2022-09-03 17:13:15 +02:00
Serhii Snitsaruk aefa132290 Add drag and drop.
Rearrange tasks with drag and drop in editor.
2022-09-03 17:00:20 +02:00
Serhii Snitsaruk 29fab3a8d8 Fix: Quick tasks broken 2022-09-03 14:11:47 +02:00
Serhii Snitsaruk b42cfa4330 Fix: Duplicate should put new task after the prototype 2022-09-03 14:11:03 +02:00
Serhii Snitsaruk ffd0d943f1 Add auto-saving and dirty marking 2022-09-03 14:01:13 +02:00
Serhii Snitsaruk a2313d9a14 Show configuration warnings in editor 2022-09-03 13:11:50 +02:00
Serhii Snitsaruk 6e1f9ad4ac Keep user task directory prefs in project setting 2022-09-03 12:59:11 +02:00
Serhii Snitsaruk c9d92610a0 Prototype loading user tasks 2022-09-03 00:10:22 +02:00
Serhii Snitsaruk 881b9118e4 Dynamic task sections 2022-09-02 19:30:32 +02:00
Serhii Snitsaruk 30f3df0649 Add history and navigation 2022-09-02 15:43:54 +02:00
Serhii Snitsaruk f00d4d0233 Add task panel 2022-09-02 14:25:03 +02:00
Serhii Snitsaruk 4c580c6b1d Add Editor functionality (rudimentary)
* Adding fav tasks
* Saving/loading
* Popup menu with a number of functions
* Header

Also:
* BTTask: Fix broken get_icon()
* BTTask: Initialize parent during set_children()
2022-09-02 00:20:37 +02:00