New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1277 #1288

merged 1 commit into from Apr 27, 2015


None yet
2 participants

crabmusket commented Apr 27, 2015

Fixes #1227. Rebased version of #1279 for merge into 3.7 branch.

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.

@crabmusket crabmusket added the Bug label Apr 27, 2015

@crabmusket crabmusket added this to the 3.7 milestone Apr 27, 2015

crabmusket added a commit that referenced this pull request Apr 27, 2015

@crabmusket crabmusket merged commit eb03511 into GarageGames:release-3.7 Apr 27, 2015

@crabmusket crabmusket deleted the crabmusket:issue1277 branch Apr 27, 2015

@crabmusket crabmusket changed the title from Issue 1227 to Issue 1277 Apr 27, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment