Page MenuHome

Stray "forward" and "up" options in 2.8 import addons?
Closed, ResolvedPublic

Description

System Information
Operating system: MacOS High Sierra 10.13.6
Graphics card:

Blender Version
blender2.8, December 04, 00:11:08, 1b6a394d862

Short description of error
Import add-ons in 2.8 seem to show stray Forward and Up options that are not there in 2.79

Exact steps for others to reproduce the error

  1. In Blender 2.79, select File > Import > SVG
  2. Notice that the properties panel in the bottom left corner says No properties
  3. In Blender 2.8, select File > Import > SVG
  4. Notice that the properties panel has Forward and Up options, that probably shouldn't be there?

I also see these stray options when running my fSpy Blender import add-on in 2.8, the operator of which is created like this: https://github.com/stuffmatic/fSpy-Blender/blob/master/fspy_blender/addon.py#L28

Related Objects

Event Timeline

Per (stuffmatic) renamed this task from Stray "forward" and "up" options in import addons to Stray "forward" and "up" options in import addons?.
Per (stuffmatic) updated the task description. (Show Details)
Per (stuffmatic) renamed this task from Stray "forward" and "up" options in import addons? to Stray "forward" and "up" options in 2.8 import addons?.Wed, Dec 5, 8:36 AM
Bastien Montagne (mont29) triaged this task as Confirmed priority.

Very interesting side-effect of using annotations (fields) syntax in dynamic extension of a class definition (through decorator)... Will add detailed technical explanations to https://blender.stackexchange.com/questions/118118/blender-2-8-field-property-declaration-and-dynamic-class-creation