UV smart project fails for unselected active object #60172

Closed
opened 2019-01-05 00:28:37 +01:00 by Chris Malcheski · 22 comments

System Information
Operating system: Windows 10 Pro
Graphics card: nVidia RTX 2080

Blender Version
Broken: 2.80, 11f2c65128
(example: 2.79b release)
(example: 2.80, edbf15d3c0, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error

App displays error screen. See screenshot. sky_is_falling.png Mars Base.blend

Exact steps for others to reproduce the error

Press "u" for UV menu. Select "Smart Project." Click OK. WWIII begins and everybody dies.

**System Information** Operating system: Windows 10 Pro Graphics card: nVidia RTX 2080 **Blender Version** Broken: 2.80, 11f2c65128dc (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** App displays error screen. See screenshot. ![sky_is_falling.png](https://archive.blender.org/developer/F6177599/sky_is_falling.png) [Mars Base.blend](https://archive.blender.org/developer/F6177607/Mars_Base.blend) **Exact steps for others to reproduce the error** Press "u" for UV menu. Select "Smart Project." Click OK. WWIII begins and everybody dies.

Added subscriber: @CMalcheski

Added subscriber: @CMalcheski

#62550 was marked as duplicate of this issue

#62550 was marked as duplicate of this issue

#61871 was marked as duplicate of this issue

#61871 was marked as duplicate of this issue

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Cannot reproduce here. Works perfectly in the latest 2.8 beta. Can you try with a newer build?

Cannot reproduce here. Works perfectly in the latest 2.8 beta. Can you try with a newer build?

Marking as incomplete until author has tested with newer build.

Marking as incomplete until author has tested with newer build.

Added subscriber: @rboxman

Added subscriber: @rboxman

I can repro with today's git. Here are the steps

  • Open provided .blend
  • Select an empty spot on the viewport
    • At this point Circle.002 will still be 'active' but nothing will be 'selected'
  • Hit tab to go into Edit Mode (this is fine because of active)
  • Select all verts
  • Do the smart UV unwrap

This is a combination of the weird active/selected state + the operator's current implementation of only looking at selected

I can repro with today's git. Here are the steps - Open provided .blend - Select an empty spot on the viewport - At this point Circle.002 will still be 'active' but nothing will be 'selected' - Hit tab to go into Edit Mode (this is fine because of active) - Select all verts - Do the smart UV unwrap This is a combination of the weird active/selected state + the operator's current implementation of only looking at selected

Added subscriber: @stefanoseveri

Added subscriber: @stefanoseveri
stefano severi self-assigned this 2019-01-05 08:39:12 +01:00

I can confirm that. i have the same problem.

I can confirm that. i have the same problem.
stefano severi was unassigned by Brecht Van Lommel 2019-01-05 23:12:44 +01:00

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Brecht Van Lommel was assigned by Sebastian Parborg 2019-01-25 12:27:58 +01:00

I can confirm that I get this issue too if I follow the steps provided by rboxman.

I can confirm that I get this issue too if I follow the steps provided by rboxman.

Added subscribers: @AdamPreisler, @deadpin

Added subscribers: @AdamPreisler, @deadpin

Added subscriber: @gentleclockdivider

Added subscriber: @gentleclockdivider

the bug is present whit the initial cube too. it's very simple to replace:

  • open blender
  • the cube is select
  • whit "A" key select none
  • enter in edit mode whit tab

select UV Smart Project

I have test it whit Linux and Windows ( linux buid blender-2.80-bf9904ec8018-linux-glibc224-x86_64)

the bug is present whit the initial cube too. it's very simple to replace: - open blender - the cube is select - whit "A" key select none - enter in edit mode whit tab # select UV Smart Project I have test it whit Linux and Windows ( linux buid blender-2.80-bf9904ec8018-linux-glibc224-x86_64)
Brecht Van Lommel changed title from UV Smart Project Becomes Dumb to UV smart project fails for unselected active object 2019-03-13 18:52:31 +01:00
Brecht Van Lommel removed their assignment 2019-03-13 18:59:02 +01:00
Bastien Montagne was assigned by Brecht Van Lommel 2019-03-13 18:59:02 +01:00

Added subscribers: @mont29, @dfelinto, @brecht

Added subscribers: @mont29, @dfelinto, @brecht

CC @dfelinto, @ideasman42, @mont29: it's not clear to me how to iterate over all objects in the current mode in the Python API.

We have BKE_view_layer_array_from_objects_in_mode_params in C.

Can we add something like this, document it in the release notes and use it to fix this bug?

Not sure who best does this, but this seems to be a big hole in the API so marked as high priority.

CC @dfelinto, @ideasman42, @mont29: it's not clear to me how to iterate over all objects in the current mode in the Python API. We have `BKE_view_layer_array_from_objects_in_mode_params` in C. Can we add something like this, document it in the release notes and use it to fix this bug? Not sure who best does this, but this seems to be a big hole in the API so marked as high priority.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

This issue was referenced by e63642f9cd

This issue was referenced by e63642f9cd57d12b0d4b4036e477d61012714181

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Added section in the release notes about multi-object-mode access: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Scene_and_Object_API#Multi-Object_Modes

Thanks!

Thanks!
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
8 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#60172
No description provided.