diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-09-08 16:36:49 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-09-08 16:36:49 +0400 |
commit | 2768ee67bd0d78b7af1ef78537257ccf7bba7491 (patch) | |
tree | a5f92336197033dd4c92cc242beb179e772cae12 /source/blender/src/drawaction.c | |
parent | e3172d8f4d2eb0a5388ddf923142b2d0d53af278 (diff) |
Grease Pencil - Defaults Cleanups:
* Made new layers default to having thickness of 3, and opacity of 0.9. These values seem to be used more often.
* Newly added Grease Pencil blocks will now be expanded by default in the Action Editor
* Added support for Image Editor grease-pencil blocks to the Action Editor
* Added version-patching for missing colours used by the info-string for GPencil.
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r-- | source/blender/src/drawaction.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 0782ccfc7ee..33eb5262c3d 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -682,6 +682,18 @@ static void draw_channel_names(void) special= ICON_SEQUENCE; } break; + case SPACE_IMAGE: + { + SpaceImage *sima= sa->spacedata.first; + + if (sima->image) + sprintf(name, "Image: %s", sima->image->id.name+2); + else + sprintf(name, "Image: <None>"); + + special= ICON_IMAGE_COL; + } + break; default: { |