Active point of Curve objects is not displayed correctly #64829
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#64829
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
Operating system: Darwin-18.2.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 455 OpenGL Engine ATI Technologies Inc. 4.1 ATI-2.4.10
Blender Version
Broken: version: 2.80 (sub 69), branch: blender2.7, commit date: 2019-05-18 17:13, hash:
1fce0460d5
Short description of error
The active point of the Curve/Surface objects is not displayed correctly (not highlighted in white) after you change it.
Exact steps for others to reproduce the error
Added subscriber: @jenkm
Added subscriber: @nacioss
Changed status from 'Open' to: 'Archived'
It is displayed in green as it should be. They changed the color of active verts to be green.
Changed status from 'Archived' to: 'Open'
@nacioss green it's just selected points, active one is white
Added subscriber: @lichtwerk
note: seems to update (to white) if you actually move the active point...
...but not if you use the select tools [box, lasso, ...] ...
Added subscribers: @fclem, @ideasman42
I followed this a bit, so DEG seems to be tagging correctly
ID_RECALC_SELECT
,BKE_curve_batch_cache_dirty_tag
gets called...Maybe @fclem or @ideasman42 (campbell: will assign to you first if OK?) know what's going on?
Added subscribers: @Sergey, @JacquesLucke
@Sergey, the issues seems to be that when tagging the curve with
ID_RECALC_SELECT
,cu->actvert
is not copied to the curve-copy in the depsgraph. Is there a place where this just has to be added?@JacquesLucke,
BKE_curve_copy_data()
would be my first guess.Thanks. Unfortunately,
BKE_curve_copy_data
is not called whenID_RECALC_SELECT
is used inED_curve_editnurb_select_pick
. However, it is called whenID_RECALC_ALL
is used.Short answer: use
ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT
.Long answer: due to some historical reasons batch cache component (where selection is living) is not making CoW component to be run (was a measure to speed up updates on materials). Using explicit tag should solve this. And then in the future we can have a more closer look and hide CoW specifics from the "user space".
Can confirm
ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT
works.There is still an issue when the curve has multiple nurbs [highlighting only works in the very first], as well as the issue with the other selection tools [box, lasso, ...].
Will check on these...
This issue was referenced by
24b2fe50f3
@lichtwerk, then please also commit the fix mentioned by sergey.
Changed status from 'Open' to: 'Resolved'