GPv3: "Select Box" operator #108661

Merged
Falk David merged 3 commits from filedescriptor/blender:select-box-grease-pencil-v3 into main 2023-06-08 10:20:25 +02:00
Member

This implements the VIEW3D_OT_select_box for the new grease pencil data-block.

This implements the `VIEW3D_OT_select_box` for the new grease pencil data-block.
Falk David added 3 commits 2023-06-06 15:12:41 +02:00
Falk David added this to the Grease Pencil project 2023-06-06 15:12:48 +02:00
Falk David requested review from Hans Goudey 2023-06-06 15:14:15 +02:00
Falk David requested review from Jacques Lucke 2023-06-06 15:14:37 +02:00
Hans Goudey reviewed 2023-06-06 15:27:52 +02:00
Hans Goudey left a comment
Member

I'm not super convinced that it makes sense to add all this structure before the main parts of it are more than TODOs. It feels a bit premature I guess.

How do you plan to account for cases when the evaluated and original data-blocks have a different number of drawings (or even a different drawing order)?

I'm not super convinced that it makes sense to add all this structure before the main parts of it are more than TODOs. It feels a bit premature I guess. How do you plan to account for cases when the evaluated and original data-blocks have a different number of drawings (or even a different drawing order)?
Author
Member

I guess it's a similar problem to curve data having different number of points. We could have something like CurvesEditHints and populate a mapping of sorts. Only if that is possible of course. Otherwise we just use the original data.

I guess it's a similar problem to curve data having different number of points. We could have something like `CurvesEditHints` and populate a mapping of sorts. Only if that is possible of course. Otherwise we just use the original data.
Member

Okay, right, the edit hints can just be generated before the first topology-changing operation (or one that changes the number of drawings). Sounds good.

Okay, right, the edit hints can just be generated before the first topology-changing operation (or one that changes the number of drawings). Sounds good.
Hans Goudey approved these changes 2023-06-06 15:41:04 +02:00
Author
Member

I'm not super convinced that it makes sense to add all this structure before the main parts of it are more than TODOs. It feels a bit premature I guess.

I partly agree, but I would like to have some selection operators working before having to have all of the modifier logic in place. Not sure how I would do that otherwise.

> I'm not super convinced that it makes sense to add all this structure before the main parts of it are more than TODOs. It feels a bit premature I guess. I partly agree, but I would like to have some selection operators working before having to have all of the modifier logic in place. Not sure how I would do that otherwise.
Jacques Lucke approved these changes 2023-06-07 18:35:48 +02:00
Jacques Lucke left a comment
Member

should mention in the commit that there are lots of todo comments

should mention in the commit that there are lots of todo comments
Falk David merged commit 7f4f771442 into main 2023-06-08 10:20:25 +02:00
Falk David deleted branch select-box-grease-pencil-v3 2023-06-08 10:20:26 +02:00
Sign in to join this conversation.
No reviewers
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
3 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#108661
No description provided.