United Kingdom
Joined: Mar 10, 2012
Post Count: 54
Status:
Offline
3D View goes blank, how to "refresh"
The 3D view displayed in a separate window is blank when I switch back to SH3D after using other programs. Is there a simple way of "refreshing" the 3D view when I return to SH3D so the image returns?
France
Joined: Nov 7, 2005
Post Count: 9418
Status:
Offline
Re: 3D View goes blank, how to "refresh"
Too bad, I thought this bug happens only under Java 7 with Java Web Start. Please try to resize Sweet Home 3D window or move the separators around the 3D view, it should refresh the 3D view.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
United Kingdom
Joined: Mar 10, 2012
Post Count: 54
Status:
Offline
Re: 3D View goes blank, how to "refresh"
Thanks for the suggestion. I tried it already, but it doesn't work. I usually have to close the 3D view so it displays in the main window and then select Display in separate window again. This often takes about 2 minutes. Sometimes it is so unresponsive that I have the Exist the program and re-launch. Anyway it's not a big problem I just thought there may be a simple solution.
Joined: Dec 18, 2024
Post Count: 8
Status:
Offline
Re: 3D View goes blank, how to "refresh"
I had a very similiar problem: when opening any properties windows for furniture, the 3D view would go blank. I fixed this by killing this 3D view refresh code:
diff --git a/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java b/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java index 181000450..bcfb6ac3b 100644 --- a/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java +++ b/SweetHome3D/src/com/eteks/sweethome3d/j3d/Component3DManager.java @@ -259,7 +259,7 @@ public class Component3DManager { canvas3D = new Canvas3D(configuration, offscreen); }
- if (!offscreen + if (false && !offscreen && OperatingSystem.isLinux() && OperatingSystem.isJavaVersionGreaterOrEqual("1.7")) { // Add a listener to the parent window once known that will repaint the canvas in 100 ms