Define a poll class method for the class X3D_PT_import_general #33
No reviewers
Labels
No Label
bug
confirmed
duplicate
enhancement
help wanted
High
known issue
Low
Normal
not a task
question
task
v2.4
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: extensions/io_scene_x3d#33
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "vmarchetti/io_scene_x3d:repair-export-panel"
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?
Since commit
6f83502ad5
the following message is printed to console when an Export to X3D is invoked from the menurna_uiItemR: property not found: EXPORT_SCENE_OT_x3d.as_collection
This message is correlated with the addition of the class X3D_PT_import_general at commit
6f83502ad5
that is missing the class method poll.This pull request adds a boilerplate definition of the poll method to the X3D_PT_import_general . As a result, the warning message is no longer printed upon an X3D export invocation.
This may be demonstrated by starting blender with the default cube model, and invoking the export X3D from the menu. The warning messages are printed to console before the user selects the output path for the export.
Thanks for checking and fixing, seems like i totally missed to inlcude the poll method back then...