Removed Surfaces module interdependency

This commit is contained in:
Jose Luis Cercós pita 2012-07-06 12:01:53 +02:00
parent 91599cf603
commit cfe16f8574

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)