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
AgeCommit message (Collapse)Author
2011-03-21move script directories for internal blender scripts.Campbell Barton
ui/ --> startup/bl_ui op/ --> startup/bl_operators scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too. ~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-17Bugfix [#26505] zoom in selected keys on graph editorJoshua Leung
Not really a "bug", but it was on my todo anyways. Based on patch [#26508] by Campbell, with a few modifications including extending this to the Action/DopeSheet editor too.
2011-03-07use set's, since pythons 3.2's optimizer converts these to frozensets, ↵Campbell Barton
lookups are also faster then tuples (though this isn't a bottleneck).
2011-02-26Added operator which makes selected scene markers into local 'pose'Joshua Leung
markers. This is useful for when working with lipsync shots, where you've used markers for noting down key syllables and want to separate these out into chunks to manage things better.
2011-02-14DopeSheet: Add menu entries and hotkeys to select all keyframesJoshua Leung
left/right to current frame in dope sheet This commit separates out this selection functionality out of the click-selection operator into a separate operator, so that hotkeys and menu entries can be assigned to it. This is based on an idea+patch (#23738) submitted by Torsten Rupp (rupp), though I've ultimately decided not to go with the suggested implementation as I don't think this fits that well under the "column" select operator. Todo: Graph Editor support will be coming shortly...
2011-02-11patch [#25809] Auto-Registration as utility function.Campbell Barton
This removes auto-registration, committed by Martin r30961. Realize this is a contentious topic but Brecht and myself both would rather opt-in registration. TODO: - addons need updating. - class list will be modified to use weakrefs (should have been done for existing system too). - will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these.
2011-02-10Small consistency fixupsJoshua Leung
2011-02-04pep8 cleanupCampbell Barton
2011-02-02Action Editor UI Tweaks:Joshua Leung
While animating, I realised that actually the 'only selected' and 'include hidden' DopeSheet filtering options are also useful in the Action Editor, especially while tweaking the animation for some characters, where you'd like to focus only on some of the character's control (i.e. eyelid tweaks, hand tweaks, etc.). The other DopeSheet filtering options aren't so relevant here, so I've excluded them from this.
2011-01-14pep8 corrections.Campbell Barton
2011-01-11Todo #22395: Restoring Grease Pencil Editing Mode in DopeSheet EditorJoshua Leung
This commit restores some basic functionality for retiming Grease Pencil sketches. Some of the functionality that existed before still hasn't been restored (namely snap/mirror tools as well as copy+paste), though it should be possible to use this for basic retiming and sketch-frame management again. - There's still a lot of work required to get this up to the standard of the rest of the animation editor code, as some of this code was originally just hacked in based on the old-style code. - Work is already required to not have to directly access the main db global to get the list of Grease Pencil datablocks to show, but that can come along with pending cleanups of the filtering code.
2011-01-10Restoring "Pose Markers"Joshua Leung
These were markers which belonged to an action instead of the scene, and are used by PoseLib to keep track of where poses are. To restore this, I've made this only available in Action/Shapekey Editor modes, and only when an action is being shown and the "Show Pose Markers" option in the Markers menu has been enabled. Other than that, all the standard marker operators apply now (instead of using a separate set of special operators).
2011-01-06Added back "Marker" menu to all animation editors.Joshua Leung
Issues: - It looks a bit crowded though, so perhaps we could do without, and just leave it for the TimeLine only? - Due to the way the invoke() testing works, the rename operator called from the menu currently fails. Will need to experiment more with execution options to find a workaround.
2011-01-05Animation data for lattices is now shown in the Animaton EditorsJoshua Leung
2011-01-01pep8 cleanupCampbell Barton
2010-11-12rename anim.channels_revive_fcurves --> anim.channels_fcurves_enableCampbell Barton
better matches existing VIEW3D_OT_enable_manipulator & ANIM_OT_channels_setting_enable also fixed warning.
2010-11-11Animation Editors: Experimental indicators + "fixup" operator for "Disabled ↵Joshua Leung
FCurves" F-Curves tagged as "disabled" now have their channels drawn with a red line underlining their names. "Disabled" F-Curves are skipped for evaluation, and typically result (for example) from assigning an action from one armature to another, but the new armature does not have some of the bones the action's F-Curves need in order for the datapaths (referring to the property the F-Curves affect) to be resolved. This is to prevent heaps of invalid channels slowing down animation playback. I've also added a new operator, found by: Channels -> Revive Disabled F-Curves in the Graph Editor and DopeSheet/Action Editors, which will clear all the disabled tags for all the F-Curves in the animation editor at the time (based on the filtering criteria). Use this operator to clear the disabled tags, allowing such channels to be able to be evaluated again (perhaps after adding the offending bones for example, or when using the action on the original armature again).
2010-11-07Animation Editors: Channel ReorderingJoshua Leung
This commit restores the ability to reorder channels in the animation editors (DopeSheet/Action/etc., Graph/Drivers, NLA). The hotkeys for this are: - Shift-PageUp = Move Up - Shift-PageDown = Move Down - Ctrl-Shift-PageUp = Move to Top of List - Ctrl-Shift-PageDown = Move to Bottom of List Do note that only animation data can get reordered using this. So, do not expect to be able to change the object order (that is actually taken from the order that Blender actually evaluates them per update/frame). --- In the process, I've fixed a couple of other bugs: * Removed 'optimisation step' check in anim_filter.c for dopesheet with no filtering options modified, since this meant that the ANIMFILTER_ANIMDATA data filter was not getting processed (and potentially there were other maintenance problems with that). * Made NLA Editor's channel list not totally duplicate the basic Animation Channels keymap. Instead, the "NLA Channels" keymap now only defines the parts that are different, and this then gets specified before the standard one so that these different parts will override the standard ones. * Attempted to fix BorderSelect on NLA Channels list. Still not totally working correctly yet though. * Moved "Euler Discontinuity" menu entry from "Channels" to "Keys". It really belongs in the latter, since it affects the keyframe values, rather than some aspect of the channel (i.e. ordering of channels or how they're displayed)
2010-09-30Action/Shapekey Editor Bugfixes:Joshua Leung
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only). There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think. * Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.
2010-09-13Animation Editors: Added menu entry for deleting selected channels, as ↵Joshua Leung
requested by animator working with Matt
2010-09-07ran through pep8 checkerCampbell Barton
2010-08-27move dopesheet UI template from C to pythonCampbell Barton
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-17apply all rna naming changes for rna_space.cCampbell Barton
2010-08-02RNA Types metaclass registrationMartin Poirier
See mailing list posts for details [1][2][3] Addons still need to be fixed; Campbell said he'd do it today. See any of the py files (outside netrender) in this commit for how to do it (it's rather simple). [1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html [2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html [3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-04-05Animation Editors: Select Linked OperatorJoshua Leung
This operator selects all the keyframes in the same F-Curve as a selected keyframe.
2010-03-24fix for keying set rna path attribute and object select menu incorrect args ↵Campbell Barton
to UI func.
2010-03-14Bugfix #21565: Scale keys from DopeSheet transform menu causes crashJoshua Leung
The operators in this menu were using the wrong operators!
2010-03-08option to transform markers in the dope sheet, needed for re-timing ↵Campbell Barton
animation. currently supports translate and extend. TODO: - select markers in dope sheet. - transform time scale.
2010-02-23pep8 cleanup + correction for external player operator return value.Campbell Barton
2010-02-16[#21177] Text editorCampbell Barton
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-14change python scripts so modules which register with blender have a ↵Campbell Barton
register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-12correct fsf addressCampbell Barton
2010-02-08Operator Execution Contexts Bugfix:Joshua Leung
This commit adds a few more execution contexts for operators, given the increasing tendency for some special regiontypes to exist within areas that must have their own set of special operators. Examples of these include the "channel" operators in the Animation Editors (i.e. those in the 'Channels' menu), and the "Fit to Preview Window" operator for the Sequencer. Previously, operators such as these would not function when clicked on from the menus, and they would not show the hotkeys they were mapped to. Also, fixed a few operator definitions in the Animation Editors which were missing ot->prop defines. This meant that some hotkeys (mainly selection) were shown incorrectly in the menus.
2010-02-07DopeSheet and Graph Editors: Select More/Less OperatorsJoshua Leung
This commit introduces the Select More/Less Operators (Ctrl +/-) for keyframes. This works like the ones for curves, by only selecting/deselecting keyframes lying in the same F-Curve. Inter F-Curve selection is not done by this operator. That is the job for another one. This is especially useful for F-Curves set in the 0-1-0 pattern (i.e. 3 keyframes forming localised peaks), where the peaks can be selected by clicking on them individually, and immediately surrounding '0' values are selected too using "Select More".
2010-01-20Animation Editors: Restored 'Realtime Updates' toggleJoshua Leung
- In 2.4x, this setting was the lock button in the headers. - Now, this option can be found in the View menus of all relevant editors - Basically, this option toggles whether objects (using animation data that's being edited) get updated during animation editor transforms to give realtime feedback on the effects of tweaks. - By default, this is enabled, since this fits in nicer with 2.5's everything 'live' paradigm. However, it is recommended to disable this on slower computers or when updates for heavy rigs are causing too much workflow lag - Also, removed some old crufty settings from action editor data
2010-01-01DopeSheet/Action Editor: Fixed operator name that did not get correctly ↵Joshua Leung
during the operator renaming fixes done by Campbell's script
2009-12-13add pep8 headers so these scripts spit out errors when running pep8.Campbell Barton
made some changes but mostly these scripts will give pep8 warnings.
2009-12-10rename operators TFM_OT_* --> TRANSFORM_OT_*Campbell Barton
2009-12-10remove ICON prefix from the enum, for python this is redundant eg.Campbell Barton
layout.prop("setting", icon='ICON_BLAH_BLAH') Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
2009-12-08white space commit (spaces -> tabs and clearing whitespace)Campbell Barton
2009-12-08Animation Editors: Fixes for RNA/Python BastardisationJoshua Leung
Still not happy about the tight/regular-spacing imposed by the layout engine automation, but will tweak later.
2009-12-08Pythonazed DopeSheet and NLA editors headers UI.Elia Sarti