#692 Furniture library editor fails to import furniture

v_5.x
open
None
1
2016-08-22
2016-07-21
No

On occasion, the Furniture Library Editor fails to import a furniture item. The process proceeds as usual, allwoing the user to browse to the desired item, the file [seemingly] is read, but the editor does not correctly extract the item from the definition.

Typically, the editor displays a new item line as if the model had been loaded, with the 'Name' field containing 'Model,' but with no icon. Double-clicking on this line opens an 'Edit Furniture' window, but with only the 'Creator' and 'Category' fields filled.

More rarely, the library editor goes through the motions of importing an item and then returns to the top-level library view without displaying even the corrupted item.

Work-around: Highlight the corrupt item and select 'delete.' Re-import the item again. If the item is a valid firniture item, it will usually load correctly on the second or third attempt.

Note: This ticket describes attempts to import Wavefront (OBJ) models only.

Discussion

  • Emmanuel Puybaret

    Could it be a memory problem? If your library is large enough, please try to run the editor using the -Xmx java option with a Terminal command like:

    java -Xmx512m -jar "path/to/FurnitureLibraryEditor-1.19.jar"

    To get easily the full path of the JAR file just drag and drop the its file in the Terminal window.

     
  • W. Vann Hall

    W. Vann Hall - 2016-08-22

    I doubt it's a memory issue, as the most recent time it happened was on the import of the second model in a two-model library.

    I'll give it a shot, though, to see if any error messages appear. Is 512 Mb an increase or decrease from the default size?

     
  • Emmanuel Puybaret

    The default max memory size depends on the version of Java you use. With Java 8, I think it's a quarter of available RAM.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks