Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'use_nodes' #109

Open
knowdaway opened this issue Feb 5, 2024 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'use_nodes' #109

knowdaway opened this issue Feb 5, 2024 · 0 comments

Comments

@knowdaway
Copy link

Python: Traceback (most recent call last):
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\xps_tools.py", line 312, in execute
export_xnalara_model.getOutputFilename(xpsSettings)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 68, in getOutputFilename
xpsExport()
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\timing.py", line 31, in wrap
ret = f(*args)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 114, in xpsExport
xpsMeshes = exportMeshes(selectedArmature, selectedMeshes)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 177, in exportMeshes
meshTextures = getXpsMatTextures(mesh)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 290, in getXpsMatTextures
xpsTextures = getTextures(mesh, material)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 282, in getTextures
xpsTextures = makeXpsTexture(mesh, material)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\export_xnalara_model.py", line 241, in makeXpsTexture
xpsShaderWrapper = node_shader_utils.XPSShaderWrapper(material)
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\node_shader_utils.py", line 26, in init
super(XPSShaderWrapper, self).init(material, is_readonly, use_nodes)
File "E:\blender\3.6\scripts\modules\bpy_extras\node_shader_utils.py", line 90, in init
self.update()
File "C:\Users\dell\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\XNALaraMesh\node_shader_utils.py", line 32, in update
if not self.use_nodes:
File "E:\blender\3.6\scripts\modules\bpy_extras\node_shader_utils.py", line 99, in use_nodes_get
return self.material.use_nodes
AttributeError: 'NoneType' object has no attribute 'use_nodes'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant