Commit 733c3049 authored by Guillaume Seguin's avatar Guillaume Seguin

Use absolute import for plater in pronterface

parent a8f88ace
...@@ -821,7 +821,7 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -821,7 +821,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
e.Skip() e.Skip()
def plate(self, e): def plate(self, e):
import plater from . import plater
print _("Plate function activated") print _("Plate function activated")
plater.StlPlater(size = (800, 580), callback = self.platecb, parent = self, build_dimensions = self.build_dimensions_list).Show() plater.StlPlater(size = (800, 580), callback = self.platecb, parent = self, build_dimensions = self.build_dimensions_list).Show()
......
Markdown is supported
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