summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/test-osgconvert.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/uscxml/test-osgconvert.scxml')
-rw-r--r--test/samples/uscxml/test-osgconvert.scxml40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/samples/uscxml/test-osgconvert.scxml b/test/samples/uscxml/test-osgconvert.scxml
deleted file mode 100644
index 90591eb..0000000
--- a/test/samples/uscxml/test-osgconvert.scxml
+++ /dev/null
@@ -1,40 +0,0 @@
-<scxml datamodel="ecmascript" name="vrml">
- <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
- <script>
- var files = {};
- </script>
- <state id="main">
- <!-- Stop processing if no vrml-path was given on command line -->
- <transition target="final" cond="_x['args']['vrml-path'] == undefined || _x['args']['vrml-path'].length == 0">
- <log expr="'No --vrml-path given'" />
- </transition>
-
- <!-- Stop processing if an error occurred -->
- <transition target="final" event="error">
- <log expr="'An error occured:'" />
- <script>dump(_event);</script>
- </transition>
-
- <!-- Start the directory monitor -->
- <invoke type="dirmon" id="dirmon.vrml">
- <param name="dir" expr="_x['args']['vrml-path']" />
- <param name="recurse" expr="true" />
- <param name="suffix" expr="'.wrl'" />
- <param name="reportExisting" expr="true" />
- <finalize>
- <send target="#_osgvonvert.osgb">
- <param name="source" expr="_event.data.file.path" />
- <param name="dest" expr="_event.data.file.path + '.png'" />
- </send>
- </finalize>
- </invoke>
-
- <!-- Start the osgconvert invoker to transform 3D files -->
- <invoke type="osgconvert" id="osgvonvert.osgb">
- <param name="threads" expr="1" />
- </invoke>
-
- <state id="idle" />
- </state>
- <state id="final" final="true" />
-</scxml> \ No newline at end of file