Skip to content
Snippets Groups Projects
Commit ade9bb54 authored by Gabriel Studer's avatar Gabriel Studer
Browse files

Position of wrong structure got updated

parent b7874874
Branches
Tags
No related merge requests found
......@@ -192,10 +192,10 @@ class SceneMenu(QMenu):
sd = superpositiondialog.SuperpositionDialog(gfx_ent_1, gfx_ent_2)
if sd.rmsd != None:
if sd.reference == 0:
gfx_ent_1.UpdatePositions()
gfx_ent_2.UpdatePositions()
gfx.Scene().CenterOn(gfx_ent_1)
else:
gfx_ent_2.UpdatePositions()
gfx_ent_1.UpdatePositions()
gfx.Scene().CenterOn(gfx_ent_2)
LogScript('RMSD: %.3f'%sd.rmsd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment