Fix spawn issues in xyzgrid. Allow prototype_parent to be a dict itself. Resolve #2494.
This commit is contained in:
parent
fc323e1ca7
commit
ddaf22ea58
12 changed files with 207 additions and 97 deletions
|
|
@ -2580,7 +2580,7 @@ def node_prototype_spawn(caller, **kwargs):
|
|||
# prototype load node
|
||||
|
||||
|
||||
def _prototype_load_select(caller, prototype_key):
|
||||
def _prototype_load_select(caller, prototype_key, **kwargs):
|
||||
matches = protlib.search_prototype(key=prototype_key)
|
||||
if matches:
|
||||
prototype = matches[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue