docs: v0.2.0 docs

This commit is contained in:
2024-05-30 09:53:07 +08:00
parent fa031e63f8
commit f21f7d6357
49 changed files with 528 additions and 87 deletions

View File

@@ -92,14 +92,14 @@ def hide_in_ray(obj):
def get_container(current_obj):
if current_obj:
return current_obj if current_obj.get('bioxel_container') else None
else:
return None
return None
def get_layer(current_obj):
if current_obj.get('bioxel_layer') and current_obj.parent:
if current_obj.parent.get('bioxel_container'):
return current_obj
if current_obj:
if current_obj.get('bioxel_layer') and current_obj.parent:
if current_obj.parent.get('bioxel_container'):
return current_obj
return None