diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-15 13:48:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-12-15 13:48:04 +0300 |
commit | 4a6d3b2ded36e5a5ea74121678d699c1ae9087c2 (patch) | |
tree | cdd8b2f507f2ded690f7c3d990c9528aaf1bc988 /source/blender/editors/space_outliner | |
parent | ed7bf5a479fdf8ff778a3dd645400830d805e038 (diff) |
RNA:
* DNA_sequence_types.h done, patch by Roelf de Kock, with various changes,
mainly the use of inheritance for different sequence types and hiding the
separate Strip struct.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 923710d22b3..84beb52e953 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -230,7 +230,8 @@ static void rna_collection_but(CellRNA *cell, rcti *rct, uiBlock *block) if(nameprop) nameptr= RNA_property_string_get_alloc(&lookup, nameprop, name, sizeof(name)); - else + + if(!nameprop || strlen(nameptr) == 0) sprintf(nameptr, "%d", cell->index+1); } |