mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
7990a60d8b
commit
879c151524
2 files changed
+6
-5
No files matched your search
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user