Skip to content

Commit

Permalink
FEM: allow to make a mesh from shape without an analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Nov 12, 2015
1 parent 78ac001 commit 74270c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Fem/FemCommands.py
Expand Up @@ -55,7 +55,7 @@ def IsActive(self):
elif self.is_active == 'with_results':
active = FemGui.getActiveAnalysis() is not None and self.active_analysis_in_active_doc() and self.results_present()
elif self.is_active == 'with_part_feature':
active = FemGui.getActiveAnalysis() is not None and self.active_analysis_in_active_doc() and self.part_feature_selected()
active = FreeCADGui.ActiveDocument is not None and self.part_feature_selected()
return active

def results_present(self):
Expand Down

0 comments on commit 74270c2

Please sign in to comment.