Offset Edge Slide with Even option: random points on screen #71379

Closed
opened 2019-11-06 10:08:07 +01:00 by Stanislav Blinov · 6 comments

System Information
Operating system: 5.3.8-arch1-1
Graphics card: GTX 980Ti

Blender Version
Broken: 2.8x (2.80-2.82 0bee94f920)

Short description of error

When the "Even" option for Offset Edge Slide is turned on, random points seem to be projected into scene as you move the mouse. There may be one or several, depending (it seems) on the viewing angle.

Demo video

Exact steps for others to reproduce the error

offset_edge_slide_issue.blend

  1. Load the .blend
  2. Enter edit mode
  3. Activate Offset Edge Slide (default key ctrl+shift+r)
  4. Activate the "Even" option (e)
  5. Move the mouse

Depending on which edge was picked up by the operator for even slide, you may need to flip it (f)

**System Information** Operating system: 5.3.8-arch1-1 Graphics card: GTX 980Ti **Blender Version** Broken: 2.8x (2.80-2.82 0bee94f920f9) **Short description of error** When the "Even" option for Offset Edge Slide is turned on, random points seem to be projected into scene as you move the mouse. There may be one or several, depending (it seems) on the viewing angle. [Demo video ](https://youtu.be/du3lAMkQHsc) **Exact steps for others to reproduce the error** [offset_edge_slide_issue.blend](https://archive.blender.org/developer/F7958343/offset_edge_slide_issue.blend) 1. Load the .blend 2. Enter edit mode 3. Activate Offset Edge Slide (default key ctrl+shift+r) 4. Activate the "Even" option (e) 5. Move the mouse Depending on which edge was picked up by the operator for even slide, you may need to flip it (f)

Added subscriber: @Stan_Pancakes

Added subscriber: @Stan_Pancakes
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can confirm, checking...

Can confirm, checking...
Philipp Oeser self-assigned this 2019-11-07 18:43:21 +01:00
Member

It is not garuanteed that this ctrl point [red dot] is actually drawing, so doing immBegin(GPU_PRIM_POINTS, 1) [when actually not drawing a point -- no immVertex3fv called] will result in:

blender: /blender/gpu/intern/gpu_immediate.c:363: immEnd: Assertion `imm.vertex_idx == imm.vertex_len' failed.

1  raise                                         0x7ffff1ae6e35 
2  abort                                         0x7ffff1ad1895 
3  __assert_fail_base.cold                       0x7ffff1ad1769 
4  __assert_fail                                 0x7ffff1adf566 
5  immEnd                   gpu_immediate.c 363  0x82a8c7f      
6  drawEdgeSlide            transform.c     7592 0x3e341c9      
7  drawTransformView        transform.c     2001 0x3e18e87      
8  ED_region_draw_cb_draw   spacetypes.c    277  0x3aaf7db      
9  DRW_draw_render_loop_ex  draw_manager.c  1716 0x3899b72      
10 DRW_draw_view            draw_manager.c  1575 0x3899559      
11 view3d_draw_view         view3d_draw.c   1539 0x3dd9386      
12 view3d_main_region_draw  view3d_draw.c   1563 0x3dd942b      
13 ED_region_do_draw        area.c          534  0x3ea0a5f      
14 wm_draw_window_offscreen wm_draw.c       629  0x3374ab0      
15 wm_draw_window           wm_draw.c       765  0x337502f      
16 wm_draw_update           wm_draw.c       947  0x3375607      
17 WM_main                  wm.c            423  0x3371478      
18 main                     creator.c       491  0x2d0cab6      

Using immBeginAtMost(GPU_PRIM_POINTS, 1) instead fixes... Diff incoming...

It is not garuanteed that this ctrl point [red dot] is actually drawing, so doing `immBegin(GPU_PRIM_POINTS, 1)` [when actually not drawing a point -- no `immVertex3fv` called] will result in: > blender: /blender/gpu/intern/gpu_immediate.c:363: immEnd: Assertion `imm.vertex_idx == imm.vertex_len' failed. ``` 1 raise 0x7ffff1ae6e35 2 abort 0x7ffff1ad1895 3 __assert_fail_base.cold 0x7ffff1ad1769 4 __assert_fail 0x7ffff1adf566 5 immEnd gpu_immediate.c 363 0x82a8c7f 6 drawEdgeSlide transform.c 7592 0x3e341c9 7 drawTransformView transform.c 2001 0x3e18e87 8 ED_region_draw_cb_draw spacetypes.c 277 0x3aaf7db 9 DRW_draw_render_loop_ex draw_manager.c 1716 0x3899b72 10 DRW_draw_view draw_manager.c 1575 0x3899559 11 view3d_draw_view view3d_draw.c 1539 0x3dd9386 12 view3d_main_region_draw view3d_draw.c 1563 0x3dd942b 13 ED_region_do_draw area.c 534 0x3ea0a5f 14 wm_draw_window_offscreen wm_draw.c 629 0x3374ab0 15 wm_draw_window wm_draw.c 765 0x337502f 16 wm_draw_update wm_draw.c 947 0x3375607 17 WM_main wm.c 423 0x3371478 18 main creator.c 491 0x2d0cab6 ``` Using `immBeginAtMost(GPU_PRIM_POINTS, 1)` instead fixes... Diff incoming...
Philipp Oeser removed their assignment 2019-11-08 09:36:28 +01:00
Campbell Barton was assigned by Philipp Oeser 2019-11-08 09:36:28 +01:00

This issue was referenced by 0a0d735acd

This issue was referenced by 0a0d735acd6e7f50c59a3ea0d79253aff9a1706f

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