Title: Prompt for validation before deleting representation in the interface ? · Issue #5776 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Prompt for validation before deleting representation in the interface ? · Issue #5776 · IfcOpenShell/IfcOpenShell
X Title: Prompt for validation before deleting representation in the interface ? · Issue #5776 · IfcOpenShell/IfcOpenShell
Description: While switching between representations I often miss-click and delete representations which in some cases leads to a bug. (eg deleting a representation while it is active) File "C:\Users\\AppData\Roaming\Blender Foundation\Blender\4.2\ex...
Open Graph Description: While switching between representations I often miss-click and delete representations which in some cases leads to a bug. (eg deleting a representation while it is active) File "C:\Users\\AppData\R...
X Description: While switching between representations I often miss-click and delete representations which in some cases leads to a bug. (eg deleting a representation while it is active) File "C:\Users\\AppD...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5776
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prompt for validation before deleting representation in the interface ?","articleBody":"While switching between representations I often miss-click and delete representations which in some cases leads to a bug. (eg deleting a representation while it is active)\r\n\r\n\r\n\r\n\r\n```\r\n File \"C:\\Users\\\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 366, in _execute\r\n core.remove_representation(\r\n File \"C:\\Users\\\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\geometry.py\", line 180, in remove_representation\r\n geometry.delete_data(data)\r\n File \"C:\\Users\\\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 109, in delete_data\r\n bpy.data.meshes.remove(data)\r\nReferenceError: StructRNA of type Mesh has been removed\r\n```\r\n\r\nSo this report is twofold :\r\n\r\n- Prevent user from deleting active representation\r\n- Maybe add a prompt before deleting a representation ?\r\n Alternatively, use SHIFT + click for force deleting a representation ?","author":{"url":"https://github.com/Gorgious56","@type":"Person","name":"Gorgious56"},"datePublished":"2024-11-20T13:30:49Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5776"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c31b538-2374-b1c4-7f31-07cbcffc7f89 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4CC:3EF53B:4848BD:604A99:6B04BE65 |
| html-safe-nonce | eb59d367bd552ee9de138a2596d6c56c425945141fd5092322dd7fefe94e2cf4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNENDOjNFRjUzQjo0ODQ4QkQ6NjA0QTk5OjZCMDRCRTY1IiwidmlzaXRvcl9pZCI6IjQ2NjMzMjI5NzMyMDg2MjQ3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9daecc6bc714006b2e8c1aea8c118809ac515d2be1f2fa8ead2253ec85931a5b |
| hovercard-subject-tag | issue:2675893655 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/5776/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e01efa42662d50823949409e1efd9c4608b678e0a6dc0fba571fe6e3603d012/IfcOpenShell/IfcOpenShell/issues/5776 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e01efa42662d50823949409e1efd9c4608b678e0a6dc0fba571fe6e3603d012/IfcOpenShell/IfcOpenShell/issues/5776 |
| og:image:alt | While switching between representations I often miss-click and delete representations which in some cases leads to a bug. (eg deleting a representation while it is active) File "C:\Users\\AppData\R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Gorgious56 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width