Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-09-08 16:36:49 +0400
committerJoshua Leung <aligorith@gmail.com>2008-09-08 16:36:49 +0400
commit2768ee67bd0d78b7af1ef78537257ccf7bba7491 (patch)
treea5f92336197033dd4c92cc242beb179e772cae12 /source/blender/src/drawaction.c
parente3172d8f4d2eb0a5388ddf923142b2d0d53af278 (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.c12
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:
{