Removed Surfaces module interdependency
This commit is contained in:
parent
91599cf603
commit
cfe16f8574
|
@ -31,7 +31,6 @@ from PyQt4 import QtGui,QtCore
|
|||
import Plot
|
||||
import Instance
|
||||
from shipUtils import Paths, Translator
|
||||
from surfUtils import Geometry
|
||||
import Tools
|
||||
|
||||
class TaskPanel:
|
||||
|
@ -108,7 +107,7 @@ class TaskPanel:
|
|||
""" Set initial values for fields
|
||||
"""
|
||||
# Get objects
|
||||
selObjs = Geometry.getSelectedObjs()
|
||||
selObjs = Gui.Selection.getSelection()
|
||||
if not selObjs:
|
||||
msg = Translator.translate("Ship instance must be selected (no object selected)\n")
|
||||
App.Console.PrintError(msg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user