diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-25 19:58:51 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-25 19:58:51 +0400 |
commit | 77ad2928c31cbd9a1f2a7769cca27b17fa5c2a1a (patch) | |
tree | 117c1f841069e364c6ef06aa4ebde9beca43cf47 /source/blender/src/header_filesel.c | |
parent | 6894526265818ff5188f1fd82616c81ae9015ae5 (diff) |
First commit, for test, for using Library files for synchronizing partial
data. This functionality is going to be in Outliner, for now only use
for testing while consulting me. :)
Usage: New option in SHIFT+F1 append window, "Sync Pose". When pressed, you
can append/load an *Object* of type Armature, this then replaces its
Armature and Pose with the selected Objects. After that it deletes the
appended object.
Note: it currently appends also Objects when used in Pose Constraints...
Diffstat (limited to 'source/blender/src/header_filesel.c')
-rw-r--r-- | source/blender/src/header_filesel.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/src/header_filesel.c b/source/blender/src/header_filesel.c index 4fefdc41a6e..1d661a7940d 100644 --- a/source/blender/src/header_filesel.c +++ b/source/blender/src/header_filesel.c @@ -144,13 +144,15 @@ void file_buttons(void) uiDefButBitS(block, TOG, FILE_AUTOSELECT, B_REDR, "Autosel", xco+=125,0,65,YIC, &sfile->flag, 0, 0, 0, 0, "Autoselect imported objects"); uiDefButBitS(block, TOG, FILE_ACTIVELAY, B_REDR, "Active Layer", xco+=65,0,80,YIC, &sfile->flag, 0, 0, 0, 0, "Append object(s) in active layer"); uiDefButBitS(block, TOG, FILE_ATCURSOR, B_REDR, "At Cursor", xco+=80,0,65,YIC, &sfile->flag, 0, 0, 0, 0, "Append object(s) at cursor, use centroid if more than one object is selected"); + uiDefButBitS(block, TOG, FILE_SYNCPOSE, B_REDR, "Sync Pose", xco+=80,0,65,YIC, &sfile->flag, 0, 0, 0, 0, "If Object with Pose appended, link the Pose and Armature to all selected Objects"); uiBlockEndAlign(block); + + xco+= 100; // scroll + } else if(sfile->type==FILE_BLENDER) { uiDefButBitI(block, TOGN, G_FILE_NO_UI, B_REDR, "Load UI", xco+=XIC,0,80,YIC, &G.fileflags, 0, 0, 0, 0, "Load the UI setup as well as the scene data"); - - xco+=100; - + xco+= 100; // scroll } if(sfile->type==FILE_UNIX) { |