Export Paper Model: Wrong get and set parameters for the output_margin property #52261
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#52261
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7
Blender Version
Broken: 2.79 RC1 and previous builds
Short description of error
The functions for get and set for the property
output_margin
have a wrong structure / calls which leads to errorsExact steps for others to reproduce the error
Enable Export Paper Model > with an object selected go to Export Menu> Select the Paper Model from it > the errors will show up in the cmd / terminal.
If the problem is fixed by taking the lambda from a separate function block into the property itself, it will end up in the infinite recursion.
The structure of input parameters and return values doesn't match with the current API for get and set related to Properties.
I'm not sure what is the intention/scope of the margin so I cannot fix the issue as the margin in the current code takes it's own values and updates them while in other cases in other add-ons other properties/ functions are used.
Changed status to: 'Open'
Added subscriber: @VukGardasevic
Added subscriber: @emu-3
Changed status from 'Open' to: 'Resolved'
The problem was that
blender-addons
repository contains a completely wrong version of the script. Apparently I forgot to update it for a long time. Sorry, and thank you for the report.Fixed in c960569: updated to github version.