X-Plane / XPlane2Blender

Scenery & Aircraft export addon for Blender and X-Plane
GNU General Public License v3.0
190 stars 67 forks source link

a single ATTR_cockpit_device property in Blender.... outputs two device entries in the exported OBJ #707

Closed tkyler closed 1 year ago

tkyler commented 1 year ago

a one polygon export (quad), where the poly is set to ATTR_cockpit_device for the Garmin 530...results in TWO directives in the OBJ, where the 2nd directive is the GNS430 and overrides the single, 'intended' 530 screen desired. Expect only one entry in the OBJ. Also happens for other ATTR_cockpit_devices

Screenshot shows Blender setup and resulting exported OBJ.

export_issue

tkyler commented 1 year ago

Duplicate_ATTR_cockpits_debug.blend.zip

bsupnik commented 1 year ago

This is not a bug. The attached object has a custom ATTR device and a material ATTR device, so the exporter exports both.

This is silly and custom attributes are a way to stub your toe, but it's definitely not a design goal to strip custom attributes.