2.93 beta breaks bpy.ops.mesh.primitive_grid_add #87700
Labels
No Label
Meta
Good First Issue
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Eevee & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds, Tests & Devices
Module
Python API
Module
Rendering & Cycles
Module
Sculpt, Paint & Texture
Module
User Interface
Module
VFX & Video
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information 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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-manual#87700
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Operating system: Windows 10 Pro
Graphics card: GeForce MX250 (most probably irrelevant)
Blender Version
Broken: blender-2.93.0-06888a8970b7-windows64 (i.a. beta), as found on the splash screen)
Worked: blender-2.92.0-windows64 and before
Short description of error
The fix from https://developer.blender.org/T86168 breaks the
bpy.ops.mesh.primitive_grid_add
API. That change doesn't just affect the UI. So any Addon using that API now needs to make different calls depending on the blender version.Exact steps for others to reproduce the error
Create a grid on blender up to 2.92.0 by running the following code in the Scripting workspace
This creates a grid with a single face and no subdivisions.
Run the very same code on blender 2.93 beta
This now creates a grid with four faces and one subdivision each. Similar for larger number of subdivisions.
I certainly understand the motivation for this fix, but the API change might have been overlooked. I noticed it because it breaks one of my addons I was going to test with the beta.
Added subscriber: @ws01
Added subscribers: @PratikPB2123, @lichtwerk
Dont think this will be considered a bug.
Besides the terminology issues already discussed in blender/blender#86168 / blender/blender@4d3cdb32d3, this should be documented as a change in the release notes though:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.93/Modeling
https://wiki.blender.org/wiki/Reference/Release_Notes/2.93/Python_API
@PratikPB2123 : could you add this there?
Changed status from 'Needs Triage' to: 'Confirmed'
It's not about the terminology in the UI, but about an API change, which breaks Addons using that API.
Yeah, I know, but I dont think API is guaranteed to stay the same forever? (it should be documented though for sure)
Added subscriber: @Blendify
Changed status from 'Confirmed' to: 'Resolved'
The API breakage is intentional I added it to the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.93/Python_API#Other_changes