Search found 10 matches

by dimm
Tue May 29, 2012 3:54 pm
Forum: Developers
Topic: How to free resources?
Replies: 3
Views: 4283

Re: How to free resources?

Deleting plan furniture does not delete the top view from the cache. To clear it toggle setFurnitureViewedFromTop.
Settings.plugin.getUserPreferences().setFurnitureViewedFromTop(false);
Settings.plugin.getUserPreferences().setFurnitureViewedFromTop(true);
by dimm
Thu May 24, 2012 6:49 pm
Forum: Developers
Topic: Copy as new furniture Plugin Source Code
Replies: 7
Views: 25204

Re: Copy as new furniture Plugin Source Code

Thanks
by dimm
Thu May 24, 2012 5:40 pm
Forum: Developers
Topic: Copy as new furniture Plugin Source Code
Replies: 7
Views: 25204

Re: Copy as new furniture Plugin Source Code

Thanks for your comment sclee,
I have the plugin. I'm looking for the source code.
by dimm
Thu May 24, 2012 3:42 pm
Forum: Developers
Topic: Copy as new furniture Plugin Source Code
Replies: 7
Views: 25204

Copy as new furniture Plugin Source Code

Can anyone share or point to the Plugin source code?
I checked the repository but it is not there.
by dimm
Thu May 24, 2012 1:15 pm
Forum: Developers
Topic: How to free resources?
Replies: 3
Views: 4283

Re: How to free resources?

The issue seems to be in Top View. It consumes 10 times more memory than "Catalog Icons View" per run and never releases the resources. I have a hundred plain boxes which in "Catalog Icons" mode render real time on top, but take a minute or two to render in "Top View" mode. All are the same (cloned ...
by dimm
Wed May 23, 2012 10:52 pm
Forum: Developers
Topic: How to free resources?
Replies: 3
Views: 4283

How to free resources?

I'm trying to figure out how to free resources. My plugin generates many furniture pieces. I delete everything before running another run, but it seems the memory is never reclaimed.

Memory: 49,892K Free: 6,861K (13%) ... completed.
Memory: 239,752K Free: 11,121K (4%) ... completed.
Memory: 676 ...
by dimm
Wed May 23, 2012 10:38 pm
Forum: Developers
Topic: Plugins do not work in the applet
Replies: 4
Views: 3858

Re: Plugins do not work in the applet

Solved. The issue was in the meatware (me). Please delete thread.
by dimm
Mon Apr 16, 2012 4:27 pm
Forum: Developers
Topic: Plugins do not work in the applet
Replies: 4
Views: 3858

Re: Plugins do not work in the applet

Puybaret, thank you for looking into this.

Here is the error I get in the console. Again the same jar works fine with the stand alone.

Exception in thread "AWT-EventQueue-2" java.lang.LinkageError: loader constraint violation: loader (instance of com/eteks/sweethome3d/tools/ExtensionsClassLoader ...
by dimm
Fri Apr 13, 2012 9:10 pm
Forum: Installation
Topic: Running the SweetHome3D java applet in a browser - textures & furniture issues
Replies: 12
Views: 9107

Re: Running the SweetHome3D java applet in a browser - textures & furniture issues

I still get "block" shapes instead of proper models in the 3D section when running on Windows. Thinking it was an Internet Explorer issue, I tried using Firefox, with the same results.
Zip each model or change catalog definitions.
by dimm
Thu Apr 12, 2012 8:45 pm
Forum: Developers
Topic: Plugins do not work in the applet
Replies: 4
Views: 3858

Plugins do not work in the applet

Hello,

Goal: make a plugin that works in the applet.
What I also tried :
I edited the calculatewalls plugin to enable toolbar icon. Made the jar. The plugin works fine in the standalone version and the icon appears on the toolbar, but the plugin breaks the applet( .. pluginUrls:"plugins ...