![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-16-13, 04:22 PM
|
#1 |
|
Black Magic
![]() |
Vegetation or Vegetation_stock? And what were you trying to do with it? I really need a step-by-step procedure so I can try and duplicate the problem. I have to walk it in Visual Studio's debugger so I can see what's going on.
How does it crash? What is the error? I currently see nothing wrong in the code for the exporter as far as creating the obj file. The app will not be able to export the same OBJ file if you have it opened via some other app (it has a lock on it by Windows). Ensure no other app has the file opened. |
|
|
02-16-13, 04:40 PM
|
#2 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
export it (export settings don't really matter) when requested if I wanted to specify a save location I clicked yes, and selected a folder on my desktop everything should be okay ![]() Now repeat the same steps, selecting the same save folder and file name. The saving process will hung up, and the preview window will show a flashing "Exporting Tree# Reading Mesh Data.." message, that cannot be closed. Everything else works normally (I can switch tabs, access menu, etc) The same happens if the application is minimized before selecting the salve folder, during an export. ![]() PS: there is not difference between Vegetation and Vegetation_stock, except for the additional strings added by GR2 Editor in Vegetation.GR2 |
|
|
|
02-16-13, 04:49 PM
|
#3 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Little update:
I found a way to restore the correct working of GR2 Editor, and getting rid of the "Exporting Tree# Reading Mesh Data.." message: it is done by exporting again a mesh, and selecting a previously unused save name. |
|
|
02-16-13, 04:49 PM
|
#4 | |
|
Black Magic
![]() |
Quote:
It didn't crash since you were able to select tabs, access menu, etc. If you notice that when it does something that it doesn't want you to mess with anything it will lock those out
|
|
|
|
02-16-13, 04:58 PM
|
#5 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
when the export options dialog pops up, minimizing GR2 Editor is forbidden. Not so for the next dialog (the one about save name and location). When an existing file name is selected, a window's window pop ups, asking if we are sure we want to overwrite the file. Is is possible that your program doesn't like it? P.S: even after restoring the normal functioning of GR2 Editor (see my previous post), the hung up Export window remains in menory ![]() Even after closing the application, it is still there... |
|
|
|
02-16-13, 05:05 PM
|
#6 |
|
Black Magic
![]() |
gap your problem should be fixed now.
v1.1.318.1 released. See post #1 for details. Features disabled in the app: - If any section has mixed values defined the app will refuse to open the file (I haven't finished coding this yet) - If any GR2 file you try to load is compressed the app will immediately close it (because of the first item)
|
|
|
02-16-13, 05:20 PM
|
#7 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
02-16-13, 06:30 PM
|
#8 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Have you changed the way additional strings are read by the editor (v1.1.318.1)?
Now, every time I try opening a Vegetation.GR2 which had been previously patched with the missing strings (don't matter which version of the Editor/Viewer had added them), I receive the following error message: ![]() Native Vegetation.GR2 files are opened correctly. But as soon as they get patched, saved and closed, they can't be opened again. In other words, the last version can add missing strings, but can't read files which had been added those strings
|
|
|
02-16-13, 06:50 PM
|
#9 | |
|
Black Magic
![]() |
Quote:
I'm also fixing the float precision problem that has existed since day 1 of the app. The problem was any float value read in was not being rounded to six decimal places. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
