You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from .handlersimport_selection_update_trajectories, _update_trajectories
4
+
from .handlersimport_selection_update_trajectories, _udpate_entities
5
5
from .styleimportSTYLE_ITEMS
6
6
7
7
@@ -117,47 +117,47 @@ class MolecularNodesObjectProperties(PropertyGroup):
117
117
name="Frame",
118
118
description="Frame of the loaded trajectory",
119
119
default=0,
120
-
update=_update_trajectories,
120
+
update=_udpate_entities,
121
121
min=0,
122
122
)
123
123
update_with_scene: BoolProperty( # type: ignore
124
124
name="Update with Scene",
125
125
description="Update the trajectory with the scene frame",
126
126
default=True,
127
-
update=_update_trajectories,
127
+
update=_udpate_entities,
128
128
)
129
129
subframes: IntProperty( # type: ignore
130
130
name="Subframes",
131
131
description="Number of subframes to insert between frames of the loaded trajectory",
132
132
default=0,
133
-
update=_update_trajectories,
133
+
update=_udpate_entities,
134
134
min=0,
135
135
)
136
136
offset: IntProperty( # type: ignore
137
137
name="Offset",
138
138
description="Offset the starting playback for the trajectory on the timeine. Positive starts the playback later than frame 0, negative starts it earlier than frame 0",
139
139
default=0,
140
-
update=_update_trajectories,
140
+
update=_udpate_entities,
141
141
)
142
142
interpolate: BoolProperty( # type: ignore
143
143
name="Interpolate",
144
144
description="Whether to interpolate when using subframes",
145
145
default=True,
146
-
update=_update_trajectories,
146
+
update=_udpate_entities,
147
147
)
148
148
average: IntProperty( # type: ignore
149
149
name="Average",
150
150
description="Average the position this number of frames either side of the current frame",
151
151
default=0,
152
-
update=_update_trajectories,
152
+
update=_udpate_entities,
153
153
min=0,
154
154
soft_max=5,
155
155
)
156
156
correct_periodic: BoolProperty( # type: ignore
157
157
name="Correct",
158
158
description="Correct for periodic boundary crossing when using interpolation or averaging. Assumes cubic dimensions and only works if the unit cell is orthorhombic",
0 commit comments