UI: Merge Spin and spin duplicate tools #117880

Merged
Pratik Borhade merged 2 commits from PratikPB2123/blender:ui-merge-spin into blender-v4.1-release 2024-02-09 13:02:04 +01:00
Member

Both tools calls the same operator, only difference is "dupli" bool
property value. So expose the property in tool settings and remove the
spin duplicate tool

Resolves #98094

Both tools calls the same operator, only difference is "dupli" bool property value. So expose the property in tool settings and remove the spin duplicate tool Resolves #98094
Pratik Borhade requested review from Pablo Vazquez 2024-02-06 07:13:50 +01:00
Pratik Borhade requested review from Julien Kaspar 2024-02-06 07:13:51 +01:00
Pratik Borhade added the
Module
User Interface
label 2024-02-06 07:13:56 +01:00
Julien Kaspar approved these changes 2024-02-06 10:57:25 +01:00
Julien Kaspar left a comment
Member

Works well for me

Works well for me
Member

Makes sense.

Shouldn't the spin duplicate icon be removed or at least marked as deprecated/unused somewhere?

Makes sense. Shouldn't the spin duplicate icon be removed or at least marked as deprecated/unused somewhere?
Member

I think it makes sense to remove it if it was only used in Edit Mode.

I think it makes sense to remove it if it was only used in Edit Mode.
Author
Member

What is the process BTW, just nuke the ops.mesh.spin.duplicate file from release\datafiles\icons and remove reference from CMakeLists? :)

What is the process BTW, just nuke the `ops.mesh.spin.duplicate` file from `release\datafiles\icons` and remove reference from CMakeLists? :)
Member

What is the process BTW, just nuke the ops.mesh.spin.duplicate file from release\datafiles\icons and remove reference from CMakeLists? :)

Not completely sure but maybe follow the steps how to add an icon but backwards :D https://developer.blender.org/docs/features/interface/icons/#icon_geom

> What is the process BTW, just nuke the `ops.mesh.spin.duplicate` file from `release\datafiles\icons` and remove reference from CMakeLists? :) Not completely sure but maybe follow the steps how to add an icon but backwards :D https://developer.blender.org/docs/features/interface/icons/#icon_geom
Author
Member

Update the PR btw :)
Just looked at the shared link, I'm not seeing spin duplicate icon in https://projects.blender.org/blender/blender/src/branch/main/release/datafiles/blender_icons.svg

I'll ask in #user-interface-module as well for help 😅

Update the PR btw :) Just looked at the shared link, I'm not seeing spin duplicate icon in https://projects.blender.org/blender/blender/src/branch/main/release/datafiles/blender_icons.svg I'll ask in #user-interface-module as well for help 😅
Author
Member

Looks like 154dfcbf3bd04cf353ee9d79224c2344b5e1eb0a is enough for removing the icon. (found reference b9e919b003)

Can we review this to land it before bcon3/beta switch? 🙂

Looks like 154dfcbf3bd04cf353ee9d79224c2344b5e1eb0a is enough for removing the icon. (found reference b9e919b00337093cbbf2c0c2c68861fc568d9ff4) Can we review this to land it before bcon3/beta switch? 🙂
Pablo Vazquez approved these changes 2024-02-07 12:33:53 +01:00
Pablo Vazquez left a comment
Member

Thanks!

Thanks!
Author
Member

Thanks. Can I still land this change in 4.1?
@ThomasDinges ^

Thanks. Can I still land this change in 4.1? @ThomasDinges ^

@PratikPB2123 Fine with me, please go ahead.

@PratikPB2123 Fine with me, please go ahead.
PratikPB2123 changed target branch from main to blender-v4.1-release 2024-02-09 12:16:56 +01:00
Pratik Borhade force-pushed ui-merge-spin from 154dfcbf3b to 80f867502a 2024-02-09 12:20:47 +01:00 Compare
Author
Member

@blender-bot build

@blender-bot build
Pratik Borhade merged commit 8250502b77 into blender-v4.1-release 2024-02-09 13:02:04 +01:00
Pratik Borhade deleted branch ui-merge-spin 2024-02-09 13:02:09 +01:00
Author
Member

Merged, thanks for reviewing :)

Merged, thanks for reviewing :)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
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
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
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#117880
No description provided.