Commit d0abb4e9 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix size of XYZ nodes

parent 51216226
...@@ -166,7 +166,7 @@ class _GraspMode(QWidget): ...@@ -166,7 +166,7 @@ class _GraspMode(QWidget):
def drawXYZAxis(self, name, config): def drawXYZAxis(self, name, config):
obj = self.mainWindow.getFromSlot("requestCreateJointGroup") obj = self.mainWindow.getFromSlot("requestCreateJointGroup")
self.groupName = str(obj.requestCreateJointGroup(config[0])) self.groupName = str(obj.requestCreateJointGroup(config[0]))
self.parentInstance.plugin.client.viewer.gui.addXYZaxis(name, [0, 1, 0, 1], 0.005, 1) self.parentInstance.plugin.client.viewer.gui.addXYZaxis(name, [0, 1, 0, 1], 0.005, 0.015)
self.parentInstance.plugin.client.viewer.gui.applyConfiguration(name, fromHPP(config[1])) # XYZW -> WXYZ self.parentInstance.plugin.client.viewer.gui.applyConfiguration(name, fromHPP(config[1])) # XYZW -> WXYZ
self.parentInstance.plugin.client.viewer.gui.addToGroup(name, self.groupName) self.parentInstance.plugin.client.viewer.gui.addToGroup(name, self.groupName)
self.parentInstance.plugin.client.viewer.gui.refresh() self.parentInstance.plugin.client.viewer.gui.refresh()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment