mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug internal mesher
This commit is contained in:
1 parent
97762756f8
commit
ceff5f3083
3 files changed
+73
-39
No files matched your search
@@ -251,11 +251,23 @@ class GeometryReachTableModel(PamhyrTableModel):
|
||||
self.layoutChanged.emit()
|
||||
|
||||
def meshing(self, mesher, data, tableView):
|
||||
|
||||
new_profiles = mesher.meshing(
|
||||
self._data,
|
||||
**data
|
||||
)
|
||||
|
||||
if new_profiles is None:
|
||||
return
|
||||
|
||||
if len(new_profiles) == 0:
|
||||
return
|
||||
|
||||
self.layoutAboutToBeChanged.emit()
|
||||
|
||||
self._undo.push(
|
||||
MeshingCommand(
|
||||
self._data, mesher, data, tableView
|
||||
self._data, new_profiles, data, tableView
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user