Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
This is a patch to lltexteditor et. al. to allow saving and loading of local files to the script editor. I assume this makes sense as one can already cut/paste scripts. This patch simply allows direct access to the disk. Since opening a file from disk and creating an new asset for it was a more delicate operation, I opted to load as an over-write, as if a paste with all selected in the existing script window. I tried to make this sensible, given the SL model, in that if the existing has unsaved changes you cannot load and get a warning. This is more of a convenience effort then anything and simply bypasses the cut and paste nonsense. Patch is attached.
Patch 2 adds a check on the loaded file size and aborts if it's too big. It is not clear to me what the correct constant to check against is wrt to capacity however.
Attachments
Issue Links
- duplicates
-
STORM-1709 Loading and Saving of Scripts to Hard Disc
-
- Closed
-
- is a child of
-
STORM-1732 Snowstorm Team test
-
- Closed
-