generated from stilobique/BlenderTemplate
Add small docstring about method
This commit is contained in:
@@ -138,7 +138,8 @@ class ExportForFange(bpy.types.Operator):
|
|||||||
return Path()
|
return Path()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_asset_name():
|
def get_asset_name() -> str:
|
||||||
|
"""From the .blend file, return the blend name."""
|
||||||
abs_blend_path = Path(bpy.data.filepath)
|
abs_blend_path = Path(bpy.data.filepath)
|
||||||
return abs_blend_path.stem
|
return abs_blend_path.stem
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user