Commit ea6d1c9
committed
fix(SolidVisualizationServer): skip solids with zero volume in bounding box calculation
This change prevents unnecessary calculations and exceptions by skipping solids that have a volume of zero. It improves the robustness of the bounding box retrieval process.1 parent 884239d commit ea6d1c9
File tree
1 file changed
+7
-6
lines changed- source/RevitDevTool/Visualization/Server
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
48 | 43 | | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
0 commit comments