When renaming objects with the same name, .00x suffix is added to original object. Renamed object gets the original's name. #90052
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#90052
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?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.27
Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash:
84da05a8b8
Worked: Don't recall, presumably 2.92.
Short description of error
Renaming objects that have the same name + number suffix doesn't work as expected. For example, say we have two objects, "Cube" and "Cube.001". Just duplicating the original object "Cube" created a new object with the .001 suffix, so that part's working as expected. Now let's say we want to rename another object in the scene to "Cube.002". The renamed object is expected to automatically get the proper .002 suffix when pasting in "Cube" or even "Cube.001", but instead it is the the renamed object that gets the name "Cube" and the original object is automatically renamed "Cube.002" instead. Seems to happen both if renaming through the Outliner or through Object Properties.
This happens both on my personal computer with Blender 2.93 (that's the computer the stats above apply to) and my work computer with 2.93.1. The work computer just got Blender, only the Looptools addon has been activated. On both computers, I've used the .zip download, not the installer (old habit).
Exact steps for others to reproduce the error
I hope this is clear, if not let me know and I'll clarify!
Added subscriber: @marty3000
Added subscriber: @kursadk
I can confirm this, not sure when this behavior changed but it was not used to be like this.
Added subscriber: @lichtwerk
This has always been like that (and it is debatable which behavior is preferred here, see #72610 (Can't manually rename object/bone to name that already exists, without finding and changing other name first.) for example)
That being said, it sure is inconsistent (like mentioned above, this works one way for bones/vertexgroups and many others and the other way for objects/IDs)
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Added subscriber: @mont29
For anyone interested, the one behavior (finding a new name if the desired already exists) is using
BLI_uniquename_cb
, the other behavior (renaming other ids to compensate for forced new name [as described in this report]) is usingBLI_libblock_ensure_unique_name
.@mont29 might know the reasoning (I am sure there is one), this is definitely not a bug (it is working as intended/coded), but will leave up to @mont29 to close.
Added subscriber: @PratikPB2123
Philipp, thank you for explaining! That's very interesting, in that case it seems I'm mistaken (I have been doing a lot of bone renaming this year). It would be nice to have a checkbox in the settings, so we can choose which behavior we'd prefer.
Closed as duplicate of #73412
Closed as duplicate of #71244