Paper model plugin cannot render textures in Blender 3.0 #95136

Closed
opened 2022-01-22 14:37:41 +01:00 by Xenos Lai · 5 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: blender/blender@f1cca30557
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Export Paper Model (1, 2)
Author: Addam Dominec

Short description of error
Rendering textures shows error: "Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_export_paper_model.py", line 2099, in execute
  self.unfolder.save(self.properties)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_export_paper_model.py", line 257, in save
  setattr(bk, f"use_pass_{p}", (properties.output_type != 'TEXTURE'))

AttributeError: 'BakeSettings' object has no attribute 'use_pass_ambient_occlusion'

location: :-1"

Exact steps for others to reproduce the error

  1. Select a model with textures;
  2. Click File\Export\Paper Model;
  3. Select "From Materials" under the Textures field;
  4. Click the Export Paper Model button;
  5. See the error.
**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `blender/blender@f1cca30557` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Export Paper Model (1, 2) Author: Addam Dominec **Short description of error** Rendering textures shows error: "Python: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_export_paper_model.py", line 2099, in execute self.unfolder.save(self.properties) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_export_paper_model.py", line 257, in save setattr(bk, f"use_pass_{p}", (properties.output_type != 'TEXTURE')) ``` AttributeError: 'BakeSettings' object has no attribute 'use_pass_ambient_occlusion' location: <unknown location>:-1" **Exact steps for others to reproduce the error** 1. Select a model with textures; 2. Click File\Export\Paper Model; 2. Select "From Materials" under the Textures field; 3. Click the Export Paper Model button; 4. See the error.
Author

Added subscriber: @HeavyArmoredMan

Added subscriber: @HeavyArmoredMan

This issue was referenced by 8e194b49d8

This issue was referenced by 8e194b49d8a20559cac7fc37edb7782bd36d03e7

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Jesse Yurkovich self-assigned this 2022-01-23 00:45:58 +01:00

This is resolved for 3.1 builds with the noted commit above.

This is resolved for 3.1 builds with the noted commit above.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#95136
No description provided.