Removed Surfaces module interdependency

This commit is contained in:
Jose Luis Cercós pita 2012-07-06 12:01:53 +02:00 committed by Yorik van Havre
parent 80c9086fc3
commit 70a4cf0e1b

View File

@ -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)