Salome HOME
Copyright update 2022
[modules/geom.git] / src / Tools / geom_plugins.py
index 07baf9ce18921b8b22b976f390466e90d22003ba..e1fc096a75ed4f9abd93355b0f176ed188125ec0 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (C) 2014-2016  EDF R&D
+# Copyright (C) 2014-2022  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 import salome_pluginsmanager
 
 def t_shape_fluid(context):
-    activeStudy = context.study
+
+    #study = context.study
+    #sg = context.sg
 
     #from salome.geom.t_shape import t_shape_builder
     from salome.geom.t_shape import t_shape_dialog
     dialog = t_shape_dialog.getDialog()
-    dialog.setContext(context)
     dialog.show()
 
 salome_pluginsmanager.AddFunction('T shape fluid',