Data Preview of group containing only group instances is empty. #49423
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#49423
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
Windows 7 64bits Nvidia Gtx580 + Gtx980ti
Blender Version
Broken: 2.78rc2 and at least since 2.77
Worked: Unknown, probably unsupported or a limitation of the system since the beginning
Short description of error
Batch-Generate data previews for a group containing only other group instances gives empty preview
Exact steps for others to reproduce the error
You will notice that the data preview for GroupB is empty instead of displaying the cube
If you add any other mesh object directly to GroupB and retry to generate the data previews, both the new mesh and the geometry instanced through the dupligroup will correctly appear in the preview.
This may well be a limitation of the current system, and not a bug per-se.
Changed status to: 'Open'
Added subscriber: @DuarteRamos
Added subscriber: @mont29
Please follow our submission template and guidelines and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
Certainly, here is a demo file.
Browse GroupDatablock_Preview.blend for link/append, set the file browser for thumbnail display, go into GroupDatablock_Preview.blend>Groups category.
Now inspect the available group thumbnails, if you notice Group A has a correct datablock preview. (It contains only that table-like mesh)
Group B contains only an instance of Group A alone (empty object with dupligroup of Group A) and displays an empty preview <- Incorrect Preview
Group C also contains an instance of Group A (empty object with dupligroup of Group A) but with an additional Susane Mesh object, and already displays a correct datablock preview.
From my purely speculative point of view it looks like whatever script is in charge of creating the datablock previews fails to correctly frame an object if that object is an empty. Maybe it can't calculate it's extents of the linked geometry?
Added subscriber: @lichtwerk
Confirmed.
@mont29 think this is your playground, but assigning to me cause I think I can get there and support this, will have a look (possibly this weekend). If it is real quick for you and you've got time, feel free to claim back...
k, have it working for the case of group instances in groups, will do some further thinking/checking and post patch later/tomorrow...
diff is D2257: bl_previews: take (local) group instances in groups into account
This issue was referenced by
b63e9a96df
Changed status from 'Open' to: 'Resolved'