]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@7434 ac1ea38d...
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 31 Oct 2008 13:30:32 +0000 (13:30 +0000)
committerluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 31 Oct 2008 13:30:32 +0000 (13:30 +0000)
org.simantics.proconf.g3d/src/org/simantics/proconf/g3d/base/ThreeDimensionalEditorBase.java

index f415c3e309e5d0d360dd531b20a9625d6efac21c..39c73fddaf4cca541ca8911e7515e58c7372d01d 100644 (file)
@@ -137,6 +137,11 @@ public abstract class ThreeDimensionalEditorBase implements  Runnable {
        this.component = component;\r
     }\r
     \r
+    protected void setRenderingComponent(JmeRenderingComponent component) {\r
+       assert(renderingComposite == null); // ensure that this is called before initialization\r
+       this.component = component;\r
+    }\r
+    \r
 //    public void setActionBarContributor(IEditorActionBarContributor contributor) {\r
 //     actionBarContributor = contributor;\r
 //    }\r