Skip to content

Commit

Permalink
str -> Optional[Str] in create_starting_node_tree (#753)
Browse files Browse the repository at this point in the history
* allow None

* easier & newer typer definitions

---------

Co-authored-by: Brady Johnston <[email protected]>
  • Loading branch information
zachcp and BradyAJohnston authored Feb 26, 2025
1 parent 976eb66 commit 53480ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecularnodes/blender/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def create_starting_node_tree(
coll_frames: bpy.types.Collection | None = None,
style: str = "spheres",
name: str | None = None,
color: str = "common",
color: str | None = "common",
material: str = "MN Default",
is_modifier: bool = True,
):
Expand Down

0 comments on commit 53480ea

Please sign in to comment.