Page MenuHome

PAINT_OT_sample_color: Adapt to the new selection id API.
Needs ReviewPublic

Authored by Germano Cavalcante (mano-wii) on Jun 14 2019, 5:50 AM.

Details

Summary

Currently that operator calls the ED_view3d_select_id_validate which is inefficient because it updates the selection buffer for each interaction.
This patch proposes the use of ED_view3d_select_id_context_... API and initializes the selection buff only once in the modal.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 3871
Build 3871: arc lint + arc unit

Event Timeline