]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - objdictgen/nodemanager.py
Problem with Real types unsupported fixed
[CanFestival-3.git] / objdictgen / nodemanager.py
index 9e6375fef6b260671a86c62e81a30257a500683b..300d4cb2a7c12e3a7659524793adc0c422556d56 100755 (executable)
@@ -675,6 +675,11 @@ class NodeManager:
                         node.SetEntry(index, subIndex, int(value))
                     except:
                         pass
+                elif editor == "float":
+                    try:
+                        node.SetEntry(index, subIndex, float(value))
+                    except:
+                        pass
                 elif editor == "domain":
                     try:
                         if len(value) % 2 != 0: