moving.py (pymol-v2.1.0.tar.bz2) | : | moving.py (pymol-open-source-2.2.0) | ||
---|---|---|---|---|
skipping to change at line 225 | skipping to change at line 225 | |||
first = _self.count_frames() + first + 1 | first = _self.count_frames() + first + 1 | |||
if last == 0: | if last == 0: | |||
last = _self.count_frames() | last = _self.count_frames() | |||
if last<0: | if last<0: | |||
last = _self.count_frames() + last + 1 | last = _self.count_frames() + last + 1 | |||
action = mview_action_dict[mview_action_sc.auto_err(action,'action')] | action = mview_action_dict[mview_action_sc.auto_err(action,'action')] | |||
if (scene==None) or (scene=='auto'): | if (scene==None) or (scene=='auto'): | |||
scene = _self.get("scene_current_name") | scene = _self.get("scene_current_name") | |||
scene = str(scene) | scene = str(scene) | |||
if (scene!=''): | if (scene!=''): | |||
cmd.scene(scene,"recall","",animate=0,frame=0) | _self.scene(scene,"recall","",animate=0,frame=0) | |||
try: | try: | |||
_self.lock(_self) | _self.lock(_self) | |||
r = _cmd.mview(_self._COb,int(action),int(first)-1,int(last)-1, | r = _cmd.mview(_self._COb,int(action),int(first)-1,int(last)-1, | |||
float(power),float(bias), | float(power),float(bias), | |||
int(simple), float(linear),str(object), | int(simple), float(linear),str(object), | |||
int(wrap),int(hand),int(window),int(cycles), | int(wrap),int(hand),int(window),int(cycles), | |||
str(scene),float(cut),int(quiet),int(state)-1,0) | str(scene),float(cut),int(quiet),int(state)-1,0) | |||
if (not freeze and | if (not freeze and | |||
((auto>0) or ((auto<0) and | ((auto>0) or ((auto<0) and | |||
(_self.get_setting_int("movie_auto_interpolate")>0 )))): | (_self.get_setting_int("movie_auto_interpolate")>0 )))): | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |