Grease Pencil datablock property 'use_onion_skinning' doesn't work #103232

Open
opened 2022-12-15 05:55:51 +01:00 by Bun ny · 7 comments

System Information
Operating system:
Graphics card:

Blender Version
Broken: 3.4
Worked:

Short description of error
The datablock-level property "use_onion_skinning" on the Grease Pencil datablock doesn't seem to do anything. Toggling the property with Python doesn't affect the visibility of onion skinning.
Working as expected, this property will be useful when drawing among multiple Grease Pencil objects.

Exact steps for others to reproduce the error
Open attached blend, toggle use_onion_skinning in the Python console: bpy.context.object.data.use_onion_skinning = False onion_bug.blend

**System Information** Operating system: Graphics card: **Blender Version** Broken: 3.4 Worked: **Short description of error** The datablock-level property "use_onion_skinning" on the Grease Pencil datablock doesn't seem to do anything. Toggling the property with Python doesn't affect the visibility of onion skinning. Working as expected, this property will be useful when drawing among multiple Grease Pencil objects. **Exact steps for others to reproduce the error** Open attached blend, toggle use_onion_skinning in the Python console: bpy.context.object.data.use_onion_skinning = False [onion_bug.blend](https://archive.blender.org/developer/F14058506/onion_bug.blend)
Author

Added subscriber: @bunny

Added subscriber: @bunny
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Added subscriber: @antoniov

Added subscriber: @antoniov

This prop is not used and would be removed. Now the onion skin is controled in Overlay with the prop use_gpencil_onion_skinand is not by datablock. You could disable the onion using the prop at layer level for each layer of the datablock.

@PratikPB2123 Not sure if we must set the task as Archived or as Known Issue.

This prop is not used and would be removed. Now the onion skin is controled in Overlay with the prop `use_gpencil_onion_skin`and is not by datablock. You could disable the onion using the prop at layer level for each layer of the datablock. @PratikPB2123 Not sure if we must set the task as Archived or as Known Issue.
Author

I see, but IMO it'd be useful to retain: I often find myself drawing among multiple Grease Pencil objects, each with many layers, and with multiple viewports open on one workspace, which I expect will be a common situation in storyboarding and LineArt workflows. In this kind of case it would be convenient to be able to toggle onion skinning on each object as a whole across all viewports, rather than having to either turn onion skinning off globally (and only per-viewport) with the overlay prop or have to chase down each individual layer. Was glad to find this property existed, but discovered that it wasn't working after writing an addon exposing it to the UI in the Dopesheet and Property Editor.

I see, but IMO it'd be useful to retain: I often find myself drawing among multiple Grease Pencil objects, each with many layers, and with multiple viewports open on one workspace, which I expect will be a common situation in storyboarding and LineArt workflows. In this kind of case it would be convenient to be able to toggle onion skinning on each object as a whole across all viewports, rather than having to either turn onion skinning off globally (and only per-viewport) with the overlay prop or have to chase down each individual layer. Was glad to find this property existed, but discovered that it wasn't working after writing an addon exposing it to the UI in the Dopesheet and Property Editor.
Member

I will mark this as known issue since the property existed but not working as expected

I will mark this as known issue since the property existed but not working as expected
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:07 +01:00
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
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#103232
No description provided.