]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/plugin.xml
Button for default viewing direction
[simantics/3d.git] / org.simantics.plant3d / plugin.xml
index 75426d136edc6700df7e7f21f066e3d5614e9893..e935e5e9cb6154772766f6b2ed00b5332c9d839b 100644 (file)
             toolbarId="org.simantics.plant3d.toolbar"
             type="toggle">
       </command>
+            <command
+                  commandId="org.simantics.g3d.viewdir"
+                  image="icons/xyz-axis.png"
+                  name="Default View"
+                  toolbarId="org.simantics.plant3d.toolbar"
+                  type="push">
+               <parameter
+                     name="org.simantics.g3d.viewDirection"
+                     value="-0.57735026918962576450914878050196,-0.57735026918962576450914878050196,0.57735026918962576450914878050196">
+               </parameter>
+            </command>
       <command
             commandId="org.simantics.g3d.viewdir"
             image="platform:/plugin/org.simantics.plant3d/icons/x-axis.png"