3D Pie menu: Support pivotbottom for selected objects #105105

Merged
Pratik Borhade merged 2 commits from PratikPB2123/blender-addons:105091-pie-menu into main 2024-01-12 12:01:30 +01:00
Member

Operator is currently changing origin to geometry center of selected
objects but then only calculates bottom for active object. To make it
consistent with other origin_set operators, edit pivot of selected
objects for this operator as well.

Fixes #105091

Operator is currently changing origin to geometry center of selected objects but then only calculates bottom for active object. To make it consistent with other origin_set operators, edit pivot of selected objects for this operator as well. Fixes #105091
Pratik Borhade added 1 commit 2024-01-05 11:43:30 +01:00
Operator is currently changing origin to geometry center of selected
objects but then only calculates bottom for active object. To make it
consistent with other origin_set operators, edit pivot of selected
objects for this operator as well.

Fixes #105091
Pratik Borhade requested review from Philipp Oeser 2024-01-05 11:43:39 +01:00
Philipp Oeser requested changes 2024-01-08 09:43:00 +01:00
Philipp Oeser left a comment
Member

The whole thing should then also be done for PIE_OT_PivotBottom_edit I think

The whole thing should then also be done for `PIE_OT_PivotBottom_edit` I think
@ -61,3 +61,3 @@
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')
o = context.active_object
init = 0
Member

init = 0 needs to move into the objects loop

init = 0 needs to move into the objects loop
Pratik Borhade added 1 commit 2024-01-10 11:47:49 +01:00
Philipp Oeser approved these changes 2024-01-10 12:10:45 +01:00
Philipp Oeser left a comment
Member

LGTM now, thx!

LGTM now, thx!
Pratik Borhade merged commit cb2c40a3c0 into main 2024-01-12 12:01:30 +01:00
Pratik Borhade deleted branch 105091-pie-menu 2024-01-12 12:01:32 +01:00
Author
Member

Merged, thanks for reviewing :)

Merged, thanks for reviewing :)
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105105
No description provided.