Game Development Community


#1
01/27/2009 (7:40 am)

It would be helpful if you were a little more elaborate when writing a report.

If I understand correctly, you mean that the world editor is not restoring saved preferences. However, I checked this and the editor saves and loads its settings alright.
#2
01/27/2009 (8:21 am)
One example:
$pref::WorldEditor::dropType = "screenCenter";
I want
$pref::WorldEditor::dropType = "atCameraRot";
I set the pref in the editor at runtime, exit and check that it is indeed saved to pref file. But once restarted it defaults back to
$pref::WorldEditor::dropType = "screenCenter";

Same with others i have set. Some do seem save and persist just fine.

#3
01/27/2009 (10:58 am)
Reproduced this. The issue is with how the editor initializes its menus. This may or may not get fixed in 1.8.1.
#4
01/27/2009 (4:18 pm)
Awww. Is it an script file problem? I guess a workable fix for me then would be hard code the prefs as defaults.
#5
01/28/2009 (3:03 pm)
Ok, fixed. It was actually just dropType. It got stomped by the menubar init code.

Thanks for reporting, Caylo.

NB: the editor prefs are actually stored on the EWorldEditor object, so settings made to $pref::WorldEditor while the game is running will get overwritten.

//EDIT: typo