FEM: Fix problem with Show button not reverting mesh deformation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
dc7da86261
commit
302dbbf0be
|
@ -560,7 +560,11 @@ class _ResultControlTaskPanel:
|
|||
|
||||
def showDisplacementClicked(self, checked):
|
||||
QApplication.setOverrideCursor(Qt.WaitCursor)
|
||||
factor = 0.0
|
||||
if checked:
|
||||
factor = self.form.horizontalScrollBar_Factor.value()
|
||||
self.setDisplacement()
|
||||
self.MeshObject.ViewObject.animate(factor)
|
||||
QtGui.qApp.restoreOverrideCursor()
|
||||
|
||||
def sliderValue(self, value):
|
||||
|
|
Loading…
Reference in New Issue
Block a user