Clipping Region delay #74872

Closed
opened 2020-03-18 10:23:37 +01:00 by Julien Kaspar · 11 comments
Member

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59

Blender Version
Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-17 20:42, hash: dc2df8307f

Short description of error
There's a delay when toggling & drawing the clipping region in the 3D viewport. The background color changes immediately but the clipped regions only change once an action is made or the viewport is navigated.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59 **Blender Version** Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-17 20:42, hash: `dc2df8307f` **Short description of error** There's a delay when toggling & drawing the clipping region in the 3D viewport. The background color changes immediately but the clipped regions only change once an action is made or the viewport is navigated.
Author
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, checking...

Can confirm, checking...
Member

Caused by c476c36e40

Caused by c476c36e40
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

To me, it looks like

  • WORKBENCH_PrivateData clip_state is correctly set to DRW_STATE_CLIP_PLANES
  • OVERLAY_PrivateData clip_state is correctly set to DRW_STATE_CLIP_PLANES

after doing view3d_clipping_exec, but this test here is only kicking in for Overlays [which clip immediately]

@fclem: mind checking?

To me, it looks like - `WORKBENCH_PrivateData` `clip_state` is correctly set to `DRW_STATE_CLIP_PLANES` - `OVERLAY_PrivateData` `clip_state` is correctly set to `DRW_STATE_CLIP_PLANES` after doing `view3d_clipping_exec`, but [this test here ](https://developer.blender.org/diffusion/B/browse/master/source/blender/draw/intern/draw_manager_exec.c$353) is only kicking in for Overlays [which clip immediately] @fclem: mind checking?
Philipp Oeser self-assigned this 2020-03-20 10:44:45 +01:00
Member

Working on related report (namely #74957 (Matcap flip function does not work in 2.83) - where I have a fix), will check if something similar works here as well, so will claim for now...

Working on related report (namely #74957 (Matcap flip function does not work in 2.83) - where I have a fix), will check if something similar works here as well, so will claim for now...

This issue was referenced by ed44bb902d

This issue was referenced by ed44bb902d6b2f861cbcdbb1bffd5339ab3b50e7

Added subscriber: @RainerTrummer

Added subscriber: @RainerTrummer
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' 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#74872
No description provided.