Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25721] Unable to delete grease pencil data blocks

Date:
2011-01-19 18:03
Priority:
3
State:
Closed
Submitted by:
Randy Blose (revolt_randy)
Assigned to:
Joshua Leung (aligorith)
Category:
Tools
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Unable to delete grease pencil data blocks
Detailed description
Intel cpu, windows xp, nvidia 8400 gt graphics, Blender r34076

In the attached .blend file, select a grease pencil datablock with the pencil icon in the upper left corner. F12 to render current scene, now try to delete the data block, not the layer, but the data block. Save and re-open the file, the data block is still there and will show up if you repeat the above process. Same results in 3d view. F-curve editor and dopesheet editor both have an option the shift-click to force removal on save, that option isn't listed in the tool tip and doesn't function.

I consider this more of a missing feature than a bug, but decided to report it to bring it to someone's attention.

Thanks for all the hard work!!

Followup

Message
  • Date: 2011-01-19 18:47
  • Sender: Ton Roosendaal
  • There's no "delete" in blender for this, we have user-counting. I noticed greasepencil always saves, also when users is zero.

    Joshua, it's a simple line extra in writefile.c
    if(gpd->id.us>0 || wd->current) {

    Why wasn't this added?
  • Date: 2011-01-19 20:39
  • Sender: Randy Blose
  • Hey, thanks Ton and Joshua!!!

    As I mentioned, I consider this a missing feature. Since you can force user count to zero and force removal of several things within blender (actions, textures, images, etc), I just wanted to bring this to someone's attention.

    Thanks again,
    Randy
  • Date: 2011-01-20 00:10
  • Sender: Joshua Leung
  • Ton:
    It must be something I wasn't aware of or overlooked when converting this from the old screen local-data version.

    While checking out the other items, I noticed that the WindowManagers saving code also lacks this? But then again, that can't be unlinked :)
  • Date: 2011-01-20 11:05
  • Sender: Ton Roosendaal
  • Yep for the time being WM data isn't in user counter control :)
 

Attached Files:

Name Date Download
gpTest.blend 2011-01-19 18:04 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-20 00:10aligorith
close_dateNone2011-01-20 00:10aligorith
StatusInvestigate2011-01-20 00:10aligorith
assigned_tonone2011-01-19 18:47ton
StatusNew2011-01-19 18:47ton
File Added14642: gpTest.blend2011-01-19 18:04revolt_randy