Torque3D/Engine/source
Areloch 2f69ffd2d4 Fixes issue #1277
Adds the file path to the saveDataFile call (missionpath\missionname.forest as the format)

This correctly utilizes the forest object's datafile field if it's set.
If not, it will create a new forest item with the missionPath\missionName.forest convention.

This also removes the checks for the hardcoded "theForest" forest object name, so that if it is renamed for some reason, it doesn't break.

Lastly, this corrects a minor semi-related bug, where if you are in the forest editor and have a brush selected, and then click to paint, but no forest object currently exists, it prompts to create one. Once the forest object is created, it would trigger the editor to inspect the newly made forest object. If you attempted to paint the currently selected brush, there was a mis-match in the inspector information, and it would trigger a crash.

This has been corrected by re-initializing the forest editor's selected tool mode so it can be utilized immediately after the forest object is created.
2015-04-27 21:45:57 +10:00
..
app Merge remote-tracking branch 'jamesu/console_stack_fix2' into development 2015-03-01 20:33:29 +11:00
cinterface Modified files for SDL2. 2015-01-18 22:52:29 +01:00
collision Minor Improvement to depthSortList.cpp 2014-11-04 06:18:24 -05:00
component Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
console Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
core Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
environment Merge pull request #1214 from bpay/cppcheck-cleaning 2015-03-01 18:27:40 +11:00
forest Fixes issue #1277 2015-04-27 21:45:57 +10:00
gfx Fix GLSL include when file is empty. 2015-03-08 23:25:23 +01:00
gui Fix bug on DefineConsoleMethod GuiCanvas::setVideoMode. 2015-03-14 13:01:05 +01:00
i18n Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
lighting further insurance that shadow split stay within bounds. 2015-03-10 06:03:40 -05:00
main Pass by const reference 2015-02-20 18:42:32 -05:00
materials Fix preprocessor directive 2015-02-25 21:12:01 +01:00
math Merge pull request #1283 from Azaezel/randiiiiiii 2015-04-26 11:27:03 +10:00
navigation Use the wonderful empty() member instead of abusing size() 2015-02-20 18:42:31 -05:00
platform Merge remote-tracking branch 'jamesu/console_stack_fix2' into development 2015-03-01 20:33:29 +11:00
platformMac Fix missing va_end's 2015-02-20 18:42:29 -05:00
platformPOSIX Fixes for dedicated build on linux. 2014-05-30 12:35:39 +02:00
platformSDL Fix building on GCC 2015-02-09 16:14:14 +00:00
platformWin32 Merge remote-tracking branch 'jamesu/console_stack_fix2' into development 2015-03-01 20:33:29 +11:00
platformX86UNIX Fix missing va_end's 2015-02-20 18:42:29 -05:00
postFx This just adds some console spam if the PostEffect Texture isn't found. I had a problem back where it was that I mistyped the texture and it took hours to find it. This way you know right away. 2014-11-30 21:47:45 -05:00
renderInstance Remove dead code that contains a delete of an uninitialized pointer 2015-02-20 18:42:30 -05:00
scene Fix member vars left uninitialized in constructors 2015-02-20 18:41:51 -05:00
sfx Merge remote-tracking branch 'jamesu/console_stack_fix2' into development 2015-03-01 20:33:29 +11:00
shaderGen Merge pull request #1214 from bpay/cppcheck-cleaning 2015-03-01 18:27:40 +11:00
sim Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
T3D Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
terrain Merge branch 'development' into walkabout 2015-01-02 14:45:20 +11:00
testing All unit tests that run now pass. 2014-09-29 11:38:44 +10:00
ts Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
util Fix stack balancing problems by refactoring execution calls 2015-02-08 00:08:18 +00:00
windowManager Changed some size_t to uintptr_t. 2015-02-07 16:41:54 +01:00
ggEndOfLineFix.txt Engine directory for ticket #1 2012-09-19 11:15:01 -04:00