Jump to content

Save-As and New glitch in Script Editor


macklebee
 Share

Recommended Posts

When using the 'Save As' in the script editor on an existing script, the default 'Save as type' will only be 'Shader File (*.shader)' even if the script being saved is lua. If you do not add '.lua' as the extension to the naming of the file, it will save that lua script as a '*.shader'.

 

When using the 'New' in the script editor, the default file is created as a lua script which can be seen by clicking the 'Save As'. Now it only lists 'Lua File (*.lua)' as an option in the 'Save as type' pulldown.

 

Since there may not be an easy way to determine the file type prior to saving, then both '*.lua' and '*.shader' should be listed in the pulldown. Lua script should probably be the default since more people will write scripts than shaders.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

  • 3 weeks later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...