GP Branch Review Meeting (11 May) #55002

Closed
opened 2018-05-08 12:52:02 +02:00 by Joshua Leung · 15 comments
Member

Task to keep track of results from GP branch review meeting #2 (scheduled for 9 May 11 May, in Blender Code Quest HQ)

Key topics for review

  • Materials changes - are all of these things working soundly (lib handling, file IO, usercount, indexing, etc.)?

  • Check up on other issues raised during last review (see #54721, #54769)

  • Mode toggle operators (GPENCIL_OT_editmode_toggle, GPENCIL_OT_sculptmode_toggle, GPENCIL_OT_weightmode_toggle, GPENCIL_OT_paintmode_toggle)

    • Should these even be separate operators?
    • "back" parameter - (Standard Blender behaviour, though wonky)
    • Hotkeys (e.g. can currently get "locked" in editing modes, with no way to return to object mode) - (Not urgent for merge, but needs review)
  • It was agreed earlier that we don't need strict compatibility with Hero files. With some (VFX) modifiers removed, should we consider fixing the naming of structs/identifiers for GP modifiers too (e.g. currently they're all eModifierType_Gpencil<ModName> and Gpencil<ModName>ModifierData, which may be nicer as eModifierType_GPencil_<ModName> and <ModName>GPencilModifierData instead? It'd be great to not be stuck with the current naming for eternity.

  • "GP Paper" setting in 3d viewport - Should this become an overlay type, if so, where to put its options. (Also is this for before/after merge?)

    • Discussed this in office before meeting: Probably should become an overlay, and the settings can go into the overlay popover like the Editmode settings currently do. But, we can leave that till after the merge, to get things in faster.
  • Are there any other blocking issues for merge?

Outcomes of Meeting

This afternoon, @ideasman42 , @JoshuaLeung, and @mont29 sat down and went through and did a lengthy review of the patch (D2889), starting with DNA, then moving on to RNA, and some of the blenkernel changes.

We identified a number of issues (specifically in the DNA structures), that need to be resolved - mainly naming issues with structs/variables, and runtime data needing to get moved out to nested structs instead of polluting the general datablocks. These have all been noted in the patch (https://developer.blender.org/D2889#77739). Given that many of these were problems in the DNA code, changes will need to be made to all downstream places using these.

@fclem also performed a review of the drawing code (https://developer.blender.org/D2889#77859)

Note: Certain issues were excluded from review (as things that can be tackled later, post-merge, given the complexity of the issues there). Specifically:

  • GP's own COW system (i.e. the derived_gpf, etc. GHashes) - The work involved in properly integrating this with Blender's proper depsgraph/evaluation/cow systems is complex, and would require significant effort/time investment away from other code quest targets. Current conclusion is to just leave this as-is, with the proviso that this is "Bad Code (TM)" that needs to be cleaned up in the long run.
  • UI Layouts and .py code for those - These will need to be reviewed and redone with the UI team anyway (once the toolbar work stabilises), so we will leave those reviews for a post-merge review pass.
  • Blenkernel / ID /Library Management Stuff - @mont29 was going to do a separate, careful review of these, as this needs careful study.
  • Operator changes. There were enough other changes needed, that we did not cover these today. To be left for a future review.

Blocking Issues for Merge:
Resolution of all issues identified so far (in comments on the patch).

Task to keep track of results from GP branch review meeting #2 (scheduled for ~~9 May~~ 11 May, in Blender Code Quest HQ) # Key topics for review * Materials changes - are all of these things working soundly (lib handling, file IO, usercount, indexing, etc.)? * Check up on other issues raised during last review (see #54721, #54769) * Mode toggle operators (GPENCIL_OT_editmode_toggle, GPENCIL_OT_sculptmode_toggle, GPENCIL_OT_weightmode_toggle, GPENCIL_OT_paintmode_toggle) - Should these even be separate operators? - ~~"back" parameter~~ - (Standard Blender behaviour, though wonky) - Hotkeys (e.g. can currently get "locked" in editing modes, with no way to return to object mode) - (Not urgent for merge, but needs review) * It was agreed earlier that we don't need strict compatibility with Hero files. With some (VFX) modifiers removed, should we consider fixing the naming of structs/identifiers for GP modifiers too (e.g. currently they're all `eModifierType_Gpencil<ModName>` and `Gpencil<ModName>ModifierData`, which may be nicer as `eModifierType_GPencil_<ModName>` and `<ModName>GPencilModifierData` instead? It'd be great to not be stuck with the current naming for eternity. * "GP Paper" setting in 3d viewport - ~~Should this become an overlay type, if so, where to put its options. (Also is this for before/after merge?)~~ * Discussed this in office before meeting: Probably should become an overlay, and the settings can go into the overlay popover like the Editmode settings currently do. But, we can leave that till after the merge, to get things in faster. * Are there any other blocking issues for merge? # Outcomes of Meeting This afternoon, @ideasman42 , @JoshuaLeung, and @mont29 sat down and went through and did a lengthy review of the patch ([D2889](https://archive.blender.org/developer/D2889)), starting with DNA, then moving on to RNA, and some of the blenkernel changes. We identified a number of issues (specifically in the DNA structures), that need to be resolved - mainly naming issues with structs/variables, and runtime data needing to get moved out to nested structs instead of polluting the general datablocks. These have all been noted in the patch (https://developer.blender.org/D2889#77739). Given that many of these were problems in the DNA code, changes will need to be made to all downstream places using these. @fclem also performed a review of the drawing code (https://developer.blender.org/D2889#77859) **Note**: Certain issues were excluded from review (as things that can be tackled later, post-merge, given the complexity of the issues there). Specifically: - **GP's own COW system (i.e. the derived_gpf, etc. GHashes)** - The work involved in properly integrating this with Blender's proper depsgraph/evaluation/cow systems is complex, and would require significant effort/time investment away from other code quest targets. Current conclusion is to just leave this as-is, with the proviso that this is "Bad Code (TM)" that needs to be cleaned up in the long run. - **UI Layouts and .py code for those** - These will need to be reviewed and redone with the UI team anyway (once the toolbar work stabilises), so we will leave those reviews for a post-merge review pass. - **Blenkernel / ID /Library Management Stuff** - @mont29 was going to do a separate, careful review of these, as this needs careful study. - **Operator changes**. There were enough other changes needed, that we did not cover these today. To be left for a future review. **Blocking Issues for Merge**: Resolution of all issues identified so far (in comments on the patch).
Joshua Leung self-assigned this 2018-05-08 12:52:02 +02:00
Author
Member
Added subscribers: @JoshuaLeung, @antoniov, @ideasman42, @mont29, @dfelinto
Author
Member

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

@JoshuaLeung Do you want I start the task to change of Modifier struct names?

@JoshuaLeung Do you want I start the task to change of Modifier struct names?

Added subscriber: @pepe-school-land

Added subscriber: @pepe-school-land

I had a meeting with @pepe-school-land and we agree to make the rename of the struct for modifiers.

After the rename, we will recreate in the new version the modifiers manually or using a script to export or patch old files.

I'm going to start the rename task of structs as @JoshuaLeung suggested.

I had a meeting with @pepe-school-land and we agree to make the rename of the struct for modifiers. After the rename, we will recreate in the new version the modifiers manually or using a script to export or patch old files. I'm going to start the rename task of structs as @JoshuaLeung suggested.

@JoshuaLeung I have finish the rename of the modifier structs: 43993d7a55c8 d0946b84209d

@JoshuaLeung I have finish the rename of the modifier structs: 43993d7a55c8 d0946b84209d

@JoshuaLeung any update with the meeting decisions?

@JoshuaLeung any update with the meeting decisions?
Joshua Leung changed title from GP Branch Review Meeting (9 May) to GP Branch Review Meeting (11 May) 2018-05-11 12:27:22 +02:00
Author
Member

Added subscriber: @fclem

Added subscriber: @fclem
Author
Member

This afternoon, @ideasman42 , @JoshuaLeung, and @mont29 sat down and went through and did a lengthy review of the patch (D2889), starting with DNA, then moving on to RNA, and some of the blenkernel changes.

We identified a number of issues (specifically in the DNA structures), that need to be resolved - mainly naming issues with structs/variables, and runtime data needing to get moved out to nested structs instead of polluting the general datablocks. These have all been noted in the patch (https://developer.blender.org/D2889#77739). Given that many of these were problems in the DNA code, changes will need to be made to all downstream places using these.

@fclem also performed a review of the drawing code (comments pending)

This afternoon, @ideasman42 , @JoshuaLeung, and @mont29 sat down and went through and did a lengthy review of the patch ([D2889](https://archive.blender.org/developer/D2889)), starting with DNA, then moving on to RNA, and some of the blenkernel changes. We identified a number of issues (specifically in the DNA structures), that need to be resolved - mainly naming issues with structs/variables, and runtime data needing to get moved out to nested structs instead of polluting the general datablocks. These have all been noted in the patch (https://developer.blender.org/D2889#77739). Given that many of these were problems in the DNA code, changes will need to be made to all downstream places using these. @fclem also performed a review of the drawing code (comments pending)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

@JoshuaLeung is it possible enable again the possibility to open the 2.79 GP files in the 2.8 GP branch? we have the Anncey demos in the Dlender booth the next week and when I open any GP file from 2.79 do not appear the GP data.

Daniel

@JoshuaLeung is it possible enable again the possibility to open the 2.79 GP files in the 2.8 GP branch? we have the Anncey demos in the Dlender booth the next week and when I open any GP file from 2.79 do not appear the GP data. Daniel
Author
Member

@pepe-school-land I suggest looking for the operator to convert old data/scenes to the new GP objects, and then making "2.8 ready" versions of the files

@pepe-school-land I suggest looking for the operator to convert old data/scenes to the new GP objects, and then making "2.8 ready" versions of the files

@JoshuaLeung You mean create an operator to convert the 2.7 files and don't use the versioning code?

@JoshuaLeung You mean create an operator to convert the 2.7 files and don't use the versioning code?
Author
Member

Yes

Yes

@JoshuaLeung Ok, I will try to create this operator.

Do you have any favorite name? "GPENCIL_OT_convert_old_files"?

@JoshuaLeung Ok, I will try to create this operator. Do you have any favorite name? **"GPENCIL_OT_convert_old_files"**?
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#55002
No description provided.