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:
authorLukas Tönne <lukas.toenne@gmail.com>2016-04-16 12:29:28 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-04-16 12:29:28 +0300
commitd30b942f07f66ec0479fcfb1ab42ee0a66e85869 (patch)
tree59128202d84154612a381df62b73b3d7913a1e99 /source/blender/editors/space_nla/nla_channels.c
parentdf2e543d4431c1d4f0003b5fbc4cf9ee98a2f7da (diff)
Removed the ID_PA code used for ParticleSettings.
Diffstat (limited to 'source/blender/editors/space_nla/nla_channels.c')
-rw-r--r--source/blender/editors/space_nla/nla_channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index ef1f68441d3..0c91a2eb1c6 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -213,7 +213,7 @@ static int mouse_nla_channels(bContext *C, bAnimContext *ac, float x, int channe
/* offset for start of channel (on LHS of channel-list) */
if (ale->id) {
/* special exception for materials and particles */
- if (ELEM(GS(ale->id->name), ID_MA, ID_PA))
+ if (GS(ale->id->name) == ID_MA)
offset = 21 + NLACHANNEL_BUTTON_WIDTH;
else
offset = 14;