Repository navigation
Commit f30667e
refactor(examples): drop 139 try/except guards that could never fire (#428)
129 example and showcase scripts wrapped `scene.eevee.taa_render_samples`
and Principled v2 / Wave input names (Coat Weight, Specular IOR Level,
Subsurface Weight, Detail Roughness) in `except AttributeError/KeyError/
Exception: pass`. Probed on 4.5.11 LTS, 5.1.2 and 5.2.1 LTS: every one of
those attributes and sockets exists, so the guards were dead code that
would silently swallow a typo in exactly the kind of name this repo
exists to get right. The statements now run unguarded.
Closes #405
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 5891799 commit f30667e
129 files changed
Lines changed: 139 additions & 552 deletions
File tree
- examples
- armature-bend
- attribute-domain-shear
- bake-normal-high-to-low
- bmesh-gear
- boolean-exact-volume
- car-mirror-symmetry
- collision-hull-proxy
- color-attribute-wheel
- cross-version-property-delete
- curve-bevel-arc
- custom-normals-shade
- damped-track-aim
- degenerate-bevel-weld
- depsgraph-export
- driver-wave
- export-preset-axis
- gltf-export-roundtrip
- gltf-skin-roundtrip
- gn-instance-grid
- gn-modifier-inputs
- gn-sdf-remesh
- gn-sim-fountain
- gn-socket-rename
- gn-zone-iterate
- gp-lineart-contour
- grease-pencil-rosette
- image-pixels-testcard
- lattice-deform
- lightmap-uv-channel
- lod-decimate-chain
- mesh-hygiene-audit
- modular-kit-snap
- parent-inverse-orrery
- png-exr-alpha
- prop-origin-transform
- ray-cast-space
- shader-node-group
- shape-key-blend
- sky-texture-sun-elevation
- soccer-ball-goldberg
- socket-attach-points
- solidify-even-thickness
- temp-override-join
- text-version-stamp
- triangulate-tangents
- turntable
- usd-export-evaluation-mode
- uv-layer-grid
- vertex-color-ao
- vertex-weight-limit
- vse-cut-list
- vse-gamma-cross
- wave-displace
- showcase
- anvil
- apothecary-shelf
- archery-target
- bamboo-clump
- basketball-hoop
- book-trolley
- bookshelf
- boulder-cluster
- bowling-pins
- brazier
- broadleaf-oak
- butter-churn
- cactus-garden
- campfire
- cargo-loader
- cart
- chopping-block
- crate-stack
- cricket-wicket
- desk-lamp
- espresso-machine
- fallen-log
- farm-tractor
- fence-kit
- fern-mossy-rock
- floor-fan
- garden-gate
- go-kart
- grain-sacks
- grindstone
- hand-pump
- hay-bale
- hitching-post
- hover-bike
- iron-cauldron
- market-stall
- mine-cart
- moka-pot
- motor-scooter
- mushroom-stump
- office-chair
- palm-tree
- park-bench
- pine-tree
- planet-rover
- pond-edge
- quad-drone
- road-bicycle
- rope-bridge
- sawhorse-plank
- sea-stack-arch
- shipping-crate
- ships-wheel
- signpost
- skate-ramp
- soccer-goal
- stand-mixer
- stone-archway
- stone-well
- street-lantern
- sundial
- tavern-stool
- terrain-scatter
- toboggan
- traffic-cones
- treasure-chest
- wall-torch
- watchtower
- water-trough
- weight-rack
- wheelbarrow
- wingback-armchair
- wooden-barrel
- wooden-bucket
- wooden-ladder
- wooden-yoke
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
| 411 | + | |
415 | 412 | | |
416 | 413 | | |
417 | 414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
| 628 | + | |
632 | 629 | | |
633 | 630 | | |
634 | 631 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
| 575 | + | |
579 | 576 | | |
580 | 577 | | |
581 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 499 | + | |
503 | 500 | | |
504 | 501 | | |
505 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
| 480 | + | |
484 | 481 | | |
485 | 482 | | |
486 | 483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
| 841 | + | |
845 | 842 | | |
846 | 843 | | |
847 | 844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
| 480 | + | |
484 | 481 | | |
485 | 482 | | |
486 | 483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
| 408 | + | |
412 | 409 | | |
413 | 410 | | |
414 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 401 | + | |
405 | 402 | | |
406 | 403 | | |
407 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
| 486 | + | |
490 | 487 | | |
491 | 488 | | |
492 | 489 | | |
| |||
0 commit comments