mirror of https://gitlab.com/pamhyr/pamhyr2
pep8
parent
7990a60d8b
commit
879c151524
|
|
@ -311,7 +311,7 @@ class InternalMeshing(AMeshingTool):
|
||||||
frictions = reach._parent.frictions
|
frictions = reach._parent.frictions
|
||||||
|
|
||||||
old_begin_rk = list(map(lambda x: x * old_orientation,
|
old_begin_rk = list(map(lambda x: x * old_orientation,
|
||||||
begin_rk))
|
begin_rk))
|
||||||
old_end_rk = list(map(lambda x: x * old_orientation,
|
old_end_rk = list(map(lambda x: x * old_orientation,
|
||||||
end_rk))
|
end_rk))
|
||||||
old_rk = list(map(lambda x: x * old_orientation,
|
old_rk = list(map(lambda x: x * old_orientation,
|
||||||
|
|
|
||||||
|
|
@ -258,10 +258,11 @@ class UpdateRKCommand(QUndoCommand):
|
||||||
|
|
||||||
def redo(self):
|
def redo(self):
|
||||||
if self._new_rks is None:
|
if self._new_rks is None:
|
||||||
self._new_rks, self._new_begin_rk, self._new_end_rk = self._mesher.update_rk(
|
self._new_rks, self._new_begin_rk, self._new_end_rk = \
|
||||||
self._reach, self._begin_rk, self._end_rk,
|
self._mesher.update_rk(
|
||||||
**self._data
|
self._reach, self._begin_rk, self._end_rk,
|
||||||
)
|
**self._data
|
||||||
|
)
|
||||||
|
|
||||||
for rk, profile in zip(self._new_rks, self._reach.profiles):
|
for rk, profile in zip(self._new_rks, self._reach.profiles):
|
||||||
profile.rk = rk
|
profile.rk = rk
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue