From 2299b7fb1a8b645dbddf73cd1c365a9626441dc2 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 21 May 2018 14:31:24 +0200 Subject: [PATCH] FEM: material task panel, add some TODO comment --- src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py index 09b0002c09..b5d3d62afc 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py @@ -158,6 +158,8 @@ class _TaskPanelFemMaterial: else: index = self.form.cb_materials.findData(previous_mat_path) self.choose_material(index) + # TODO check if the reference shapes realy exists, if the reference shape is an element of a Shape check if the Shape realy has this element + # this should be done in all constraints with reference shapes too ! self.has_equal_references_shape_types() self.rebuild_list_References()