Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25030] Grease Pencil active_frame_delete() deletes wrong layer
Date:
2010-12-03 21:45
Priority:
3
State:
Closed
Submitted by:
Olivier Amrein (
oenvoyage
)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Grease Pencil active_frame_delete() deletes wrong layer
Detailed description
If you have a frame with 2 grease pencil layers the Delete Frame button deletes the "active" layer, even if we click on an inactive layer's button.
Open the attached example, there are 2 GP layers.
The black one is active. White is inactive
Click on the Delete Frame button on white layer.
It deletes the Black frame, and then makes white layer active.
I think the delete operator is called before the set Active or the UI doesnt take in account which layer the button is on.
Followup
Message
Date
: 2010-12-04 14:54
Sender
:
ronan ducluzeau
ubuntu 10.04 64bits rev33468
Even if black Layer is protected; a click on Delete Frame button on inactive white layer delete the black frame.
Date
: 2010-12-06 06:32
Sender
:
Campbell Barton
moved to the header r33498 since these only operate on the active layer.
Attached Files:
Name
Date
Download
grease_pencil_delete_frame.blend
2010-12-03 21:45
Download
Changes:
Field
Old Value
Date
By
Resolution
Investigate
2010-12-06 06:32
campbellbarton
close_date
2010-12-06 06:32
2010-12-06 06:32
campbellbarton
assigned_to
aligorith
2010-12-06 06:32
campbellbarton
status_id
Open
2010-12-06 06:32
campbellbarton
Resolution
None
2010-12-04 00:03
aligorith
assigned_to
none
2010-12-04 00:03
aligorith
File Added
13950: grease_pencil_delete_frame.blend
2010-12-03 21:45
oenvoyage