Inconsistent size of Added Objects when changing the overlay grid scale or unit scale #116497

Open
opened 2023-12-23 21:01:58 +01:00 by Hamed-Nasrollahi-Majid · 4 comments

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.29

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: (This is an old bug I don't know)

Short description of error
When you add a Object by Shift + A, its default size depends on the 3D View Grid scale or the Unit Scale.
However, if you add an object before changing the Grid scale (or Unit Scale), the new objects will maintain the size of the object you added first.

Exact steps for others to reproduce the error

  • Change grid scale in viewport overlay to 0.1 (or the unit scale to 10.0 if you prefer to work with unit scale).
  • Create a cube by shift + A (It correctly respects the grid scale)
  • Change the grid scale in viewport overlay (or the unit scale if you are working with unit scale) back to 1.0.
  • Create another cube by shift + A

You will see it's same size as first added cube. It does not respect the grid scale anymore.


I think blender should consider grid scale all the time when creating default objects not just for the first item and should not lock it until reopening your file.
Thank you.

**System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.29 **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: (This is an old bug I don't know) **Short description of error** When you add a Object by Shift + A, its default size depends on the 3D View Grid scale or the Unit Scale. However, if you add an object before changing the Grid scale (or Unit Scale), the new objects will maintain the size of the object you added first. **Exact steps for others to reproduce the error** - Change grid scale in viewport overlay to `0.1` (or the unit scale to `10.0` if you prefer to work with unit scale). - Create a cube by shift + A (It correctly respects the grid scale) - Change the grid scale in viewport overlay (or the unit scale if you are working with unit scale) back to `1.0`. - Create another cube by shift + A You will see it's same size as first added cube. It does not respect the grid scale anymore. ----- I think blender should consider grid scale all the time when creating default objects not just for the first item and should not lock it until reopening your file. Thank you.
Hamed-Nasrollahi-Majid added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-12-23 21:01:59 +01:00
Iliya Katushenock added the
Interest
Modeling
label 2023-12-23 21:10:05 +01:00
Germano Cavalcante changed title from Floor scale factor weird behavior on default object size to Inconsistent size of Added Objects when changing the overlay grid scale 2023-12-26 18:51:48 +01:00

Thank you for the report. I can confirm the issue.

Thank you for the report. I can confirm the issue.
Germano Cavalcante added
Module
Modeling
Status
Confirmed
and removed
Status
Needs Triage
Interest
Modeling
labels 2023-12-26 18:53:03 +01:00
Member

This is not a bug but can be improved. When you add cube for second time, "size" property is already being initialized hence the new size won't be set here: https://projects.blender.org/blender/blender/src/branch/main/source/blender/windowmanager/intern/wm_operators.cc#L1020-L1023
So even when grid_scale is 1.0, size will be size = default_scale_value * 0.1 (grid_scale_old) * unit_scale_factor

This is not a bug but can be improved. When you add cube for second time, "size" property is already being initialized hence the new size won't be set here: https://projects.blender.org/blender/blender/src/branch/main/source/blender/windowmanager/intern/wm_operators.cc#L1020-L1023 So even when `grid_scale` is 1.0, size will be `size = default_scale_value * 0.1 (grid_scale_old) * unit_scale_factor`
Germano Cavalcante changed title from Inconsistent size of Added Objects when changing the overlay grid scale to Inconsistent size of Added Objects when changing the overlay grid scale or unit scale 2024-02-16 16:55:12 +01:00

Yes this is old one but reported resentyl... grid scale has nothing to do with it but it should be parent of primitive sizes... will check this to be fixed thanks.

Yes this is old one but reported resentyl... grid scale has nothing to do with it but it should be parent of primitive sizes... will check this to be fixed thanks.

Hi. how its going with this issue? maybe parenting this to wievport will be better insted of mesurments or blender scale? always when I add something new if it is something big or something small I usualy set my view first to look at then add new object. Regards.

Hi. how its going with this issue? maybe parenting this to wievport will be better insted of mesurments or blender scale? always when I add something new if it is something big or something small I usualy set my view first to look at then add new object. Regards.
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#116497
No description provided.