new objects and Units scale #32219

Closed
opened 2012-07-30 09:47:58 +02:00 by Daniel Grauer · 8 comments
Member

%%%build r49249
os: win7 64bit

when changing the Units "Scale" then not all objects that are created are affected by that unit.

reproduce scenario:

  1. set the units scale to 1.0
  2. create a cube and a camera
  3. now change the units scale to 0.01
  4. create a new cube and a camera again.
  5. now the created cube gets huge while the camera is still the same size.

not sure whats going oin here but either the cube is way to big and should not have a edge length of 2m anymore but 20mm or the camera that gets created should be way bigger and all the clippings aadjusted acordingly. but i would guess the cube gets the wrong initial size.%%%

%%%build r49249 os: win7 64bit when changing the Units "Scale" then not all objects that are created are affected by that unit. reproduce scenario: 1. set the units scale to 1.0 2. create a cube and a camera 3. now change the units scale to 0.01 4. create a new cube and a camera again. 5. now the created cube gets huge while the camera is still the same size. not sure whats going oin here but either the cube is way to big and should not have a edge length of 2m anymore but 20mm or the camera that gets created should be way bigger and all the clippings aadjusted acordingly. but i would guess the cube gets the wrong initial size.%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%This isn't a bug. When you scale units newly added meshes are creating in a way to match this units. It's mesh itself which is being scaled, it's not object scale is being applied. Camera always has got the same size wich could be affected by object's scale, which is in your case is always (1.0, 1.0, 1.0)

It could be confusing in some cases, but wouldn't conside it a bug. Thanks for the report, but closing it now.%%%

%%%This isn't a bug. When you scale units newly added meshes are creating in a way to match this units. It's mesh itself which is being scaled, it's not object scale is being applied. Camera always has got the same size wich could be affected by object's scale, which is in your case is always (1.0, 1.0, 1.0) It could be confusing in some cases, but wouldn't conside it a bug. Thanks for the report, but closing it now.%%%
Author
Member

%%%well, it seems that only the default cube is affected by the unit scale, all other default meshes remain the same size on creation:D%%%

%%%well, it seems that only the default cube is affected by the unit scale, all other default meshes remain the same size on creation:D%%%
Author
Member

%%%why exactly was this report closed?
the bug is still there!

create a cube with different unit scale (1 / 0.1) and then create any other object with different unit scale (1 / 0.1) and see the difference.
the cube that was created with 0.1 scale is 10 times bigger than all the other objects you just created.
why would only the cube follow that logic and none of the other objects? makes no sense at all...
%%%

%%%why exactly was this report closed? the bug is still there! create a cube with different unit scale (1 / 0.1) and then create any other object with different unit scale (1 / 0.1) and see the difference. the cube that was created with 0.1 scale is 10 times bigger than all the other objects you just created. why would only the cube follow that logic and none of the other objects? makes no sense at all... %%%

%%%Well, looks like misunderstand initial issue. As i understand now some primitives are affected by unit scale and some not. This is indeed strange.%%%

%%%Well, looks like misunderstand initial issue. As i understand now some primitives are affected by unit scale and some not. This is indeed strange.%%%

%%%Actually will look into making things unified here.%%%

%%%Actually will look into making things unified here.%%%

%%%Fixed in svn rev51423.

Some notes from commit log:

- Lattice is not scaled to grid cell size yet, it uses slightly different add
    function which makes scaling a bit tricky and hacky. Would prefer to do a
    bit bigger refactor here, so it's a TODO for now.
  
- Cameras, speakers and other helpers are not scaling. They don't have data
    on which scale could be applied and perhaps it should be some kind of draw
    scale. Also would consider it's a TODO for now.

Updated TODO list there http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#3D_View

Thanks for the report, would mark as fixed it now. All the rest stuff is for larger redesign of add system.%%%

%%%Fixed in svn rev51423. Some notes from commit log: - Lattice is not scaled to grid cell size yet, it uses slightly different add ``` function which makes scaling a bit tricky and hacky. Would prefer to do a bit bigger refactor here, so it's a TODO for now. ``` - Cameras, speakers and other helpers are not scaling. They don't have data ``` on which scale could be applied and perhaps it should be some kind of draw scale. Also would consider it's a TODO for now. ``` Updated TODO list there http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Editors#3D_View Thanks for the report, would mark as fixed it now. All the rest stuff is for larger redesign of add system.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
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#32219
No description provided.