Duplicate entries in bpy.types #29666
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#29666
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?
%%%Enumerating the contents of bpy.types, I see a lot of duplicate entries, e.g. ANIM_OT_channels_setting_toggle, BRUSH_OT_active_index_set, CAMERA_OT_preset_add and over 100 others. This is with SVN revision 42744. I attach the test script I ran to discover these.%%%
Changed status to: 'Open'
%%%Campbell, can you please check this report?%%%
%%%Thought you’d be interested to know, I ran another script, looking for duplicates in other bpy.* modules, and found none. They are only in bpy.types.%%%
%%%Ack! I ran into that bug some times ago, as it was preventing the i18n rna script to access the py UI messages…
The problem is that, for py scripts, both OperatorType and OperatorProperties RNA subclasses are registered under the same name by rna_Operator_register.
I made a small patch I’m using to generate i18n messages (attached), but it is not finished – I could not find a way (i.e. where) to release the string I allocate… Anyway, RNA is already quite complex, so when you add the py binding layer, arg…%%%
%%%fixed r43835.%%%
Changed status from 'Open' to: 'Resolved'