Non-update of preview when switching from world to lamp panel. #51318

Closed
opened 2017-04-25 19:51:38 +02:00 by Porteries Tristan · 8 comments

System Information
Not OS or hardware dependent.

Blender Version
Broken: 2.78 9dadd5f

This bug was reported to the UPBGE repository but it seems to come from blender sources after a reproduction of the bug in blender.
https://github.com/UPBGE/blender/issues/433
Copied bug description:

If you are in world tab in the properties panel and switch to the lamp tab, the preview panel is showing the world preview instead of the lamp preview (see pictures).
This happens to all types of lamps.

The bug occurs when:

  You were in world settings and moved to lamp settings
  You can move to another tab and back, the problem doesn't get solved

The preview gets back to normal when:

  The lamp values are changed
  The upbge window gets moved
  The upbge window gets resized (width, height doesn't change anything until the height is around the half of the screen size)
  The properties panel gets resized (same as above, mostly width and so on...)
  You switch to texture tab and then back to lamp settings

Closing the properties panel (e.g. by changing it to 3D view) and reopening it doesn't help.

So I think this is because of missing UI redrawing. I have no clue on how Blender code works but this might be causing it.

https://cloud.githubusercontent.com/assets/17685000/24058275/ce2896e8-0b4a-11e7-8fe0-7e2399437a1d.jpg

File (same as default open file) : preview.blend

**System Information** Not OS or hardware dependent. **Blender Version** Broken: 2.78 9dadd5f This bug was reported to the UPBGE repository but it seems to come from blender sources after a reproduction of the bug in blender. https://github.com/UPBGE/blender/issues/433 Copied bug description: If you are in world tab in the properties panel and switch to the lamp tab, the preview panel is showing the world preview instead of the lamp preview (see pictures). This happens to all types of lamps. The bug occurs when: ``` You were in world settings and moved to lamp settings You can move to another tab and back, the problem doesn't get solved ``` The preview gets back to normal when: ``` The lamp values are changed The upbge window gets moved The upbge window gets resized (width, height doesn't change anything until the height is around the half of the screen size) The properties panel gets resized (same as above, mostly width and so on...) You switch to texture tab and then back to lamp settings ``` Closing the properties panel (e.g. by changing it to 3D view) and reopening it doesn't help. So I think this is because of missing UI redrawing. I have no clue on how Blender code works but this might be causing it. https://cloud.githubusercontent.com/assets/17685000/24058275/ce2896e8-0b4a-11e7-8fe0-7e2399437a1d.jpg File (same as default open file) : [preview.blend](https://archive.blender.org/developer/F572945/preview.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @panzergame

Added subscriber: @panzergame

Added subscriber: @FloridaJo

Added subscriber: @FloridaJo

Yep, after moving from World to Lamp, keeps World preview until you make a minor change in settings.
Suspect refresh upon focus is not the same as refresh upon setting change.

bgbug.png

Yep, after moving from World to Lamp, keeps World preview until you make a minor change in settings. Suspect refresh upon focus is not the same as refresh upon setting change. ![bgbug.png](https://archive.blender.org/developer/F596727/bgbug.png)

Added subscriber: @mont29

Added subscriber: @mont29

Note that this only happens with Cycles render engine (i.e. new shading system), not with BI.

Note that this only happens with Cycles render engine (i.e. new shading system), not with BI.

This issue was referenced by 849e77b1f9

This issue was referenced by 849e77b1f957b25ac9223a3dc510e234f4467fd1

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
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#51318
No description provided.