Opened 9 years ago
Last modified 9 years ago
#2975 new enhancement
[PATCH] [ATLAS] Defer loading of trigger scripts
Reported by: | Niek | Owned by: | trompetin17 |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Atlas editor | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
Currently the scripts are loaded when you load the map in Atlas for the first time (reloading doesn't matter). This means that I have to restart Atlas every time I make a change in a trigger script that I want to test.
It would be nice to defer that to a later stage.
Attachments (1)
Change History (8)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
by , 9 years ago
comment:2 by , 9 years ago
Keywords: | review patch added |
---|---|
Owner: | set to |
Summary: | [ATLAS] Defer loading of trigger scripts → [PATCH] [ATLAS] Defer loading of trigger scripts |
comment:3 by , 9 years ago
I haven't looked at the patch too closely yet, but is it really necessary to use wxWidgets file watching? The engine should have enough hotloading capability and it should work in Atlas too.
comment:4 by , 9 years ago
Keywords: | review removed |
---|
Removing the "review" keyword to clean up a bit the queue, don't forget to add it back when you come up with new elements about using engine hotloading ;-)
comment:6 by , 9 years ago
Milestone: | Alpha 18 → Alpha 19 |
---|
Note:
See TracTickets
for help on using tickets.
this patch enable partially hotloading from atlas, due some limitations from wxWidget on wxFileSystemWatcher, in osx doesn't work (you need to rename and rollback the file to bypass this limitation)
source http://docs.wxwidgets.org/trunk/classwx_file_system_watcher.html
So you can change a trigger and just reload the map