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
2008-06-08Bugfix #13649: Segmentation fault when deleting objectJoshua Leung
When the IPO editor was pinned, and the active object was changed, deleting the active object would cause a crash.
2008-04-29Bugfix #9676; Assigning Driver to Own Object when Pinning IPO EditorJoshua Leung
When the IPO Editor is pinned, drivers will now be handled as if they belonged to the object that the ipo-belonged to when the ipo was pinned. This behaviour is more predictable than using the active object.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-03-21Two changes:Joshua Leung
* Attempted fix for bug #8599c (inserting new keyframes mucked up existing IPO-Keys). Now it calls make_ipokey() regardless of whether they exist already (if ipokeys are being shown in the IPO-Editor). This might be a bit slower on some files. * 'Auto-Sync PoseLib' button is now only visible when there's a PoseLib
2008-01-22Added view2d_getscale function for getting the opengl x/y scale for 2d windows.Campbell Barton
Display/Edit TimeOffset accounting for its added parent offset. removed Extension button by mistake.
2008-01-20== Bone Groups ==Joshua Leung
I'm committing some work-in-progress code for "bone groups" now, as I there have been are some major bugs caused by the timeoffset stuff (some of my test files were not loading, and other files were showing all sorts of weird problems). Anyway, in this commit, the following things for "bone groups" have been done: * Bone groups are stored per armature (internally, this is per bPose block) * Added controls for editing bone-groups per armature - "add", "remove", "rename". These can be found in the "Links and Materials" panel in PoseMode, beside the settings for PoseLib. * Reorganised buttons for editing selected bones in PoseMode. I've replaced the "dist" and "weight" buttons (they existed in EditMode anyway) with a menu to choose the bone-group and the custom-shape-ob field. In the place of the old custom-shape-ob field, I've restored the "Hide" button. This might break muscle-memory a bit, but there isn't a lot of space to play with there. Some stuff I'd been originally planning to do before committing: * When adding keyframes for bones, an action-group with the same name as the bone's group will be added to the action, and the action-channel will be made a member of that. * New action/bone groups have unique names (renaming/adding new should check if name exists before assigning it) * There's a setting under Bone-Groups stuff which sets which custom-colour set is used to colour that group's bones. Currently, this is non-functional, as the necessary drawing code for armatures is not in place yet.
2008-01-19add the option to add the parents time offset value.Campbell Barton
2007-12-30== PoseLib - Overhauled Implementation ==Joshua Leung
Based on feedback from Ton, I've recoded the way "PoseLibs" are implemented/exposed. Therefore, quite a bit of code has been changed to fit this in better. Now, ANY ACTION can be a "PoseLib". A set of Markers which belong to the Action (it's taken a year, but they're finally back), are used to tag "poses" in the Action. These markers are shown using diamond-shaped blue icons (designed by Matt Ebb) in three shades - unselected/normal, selected, active. Notes: * Each Armature Object has an Action which acts as a PoseLib. * Improved UI presented in buttons panel for this -- added proper buttons for action assigning -- renamed "Validate PoseLib" to "Auto-Sync PoseLib" (this option auto-tags poses based on keyframes found) Like in the 3d-view, use the hotkeys: * Shift-L to add a local marker * Ctrl-Shift-L to rename a local marker * Alt-L to delete selected local markers Note: transforms, etc. are not currently available with these markers == PoseLib Preview == Added a few features here: * Left/Right-Arrow keys now change the poses too (previous and next respectively) * Up/Down-Arrow keys also change the poses, but "jump" to a pose 5 steps away in their respective directions
2007-12-06Bugfix: rotation difference ipo drivers could give sudden jump. ThisBrecht Van Lommel
was actually due to a numerical issue in the matrix to quaternion conversion code (which was from siggraph '85), now uses an improved version. I hope nothing depends on the previous behavior.. though it should only affect corner cases.
2007-12-02== Bone Path Drawing - More Tweaks Again ==Joshua Leung
Bugfixes: * "Clear Paths" change from last commit wasn't complete yet. Now it REALLY only clears the paths of the selected bones * Button layout in "Armature Visualisation" panel has been reorganised a bit to better present the options (clearer separation between Display and Calculation buttons) New Stuff (Yay!): * Paths of active bones now draw more visibly than those of unselected bones. This makes it easier to identify the path that is taken by the bone * The part of path on the current frame is now drawn in green (the same shade that is used for the current-frame line in the Animation Editors). This nicely blends between the black and blue parts of the path (before and after current frame, respectively), and looks much nicer. * The colour of the current-frame marker in the Animation Editors and the 3D-View, are now theme-colours. This is needed to make the previous option work.
2007-12-02minor update, "Draw Handles" wasnt working when disabled everywhere and ↵Campbell Barton
replaced some magic numbers
2007-11-28Tiny feature, but loadsa code, and big impact for the Blender riggers:Ton Roosendaal
-> Constraint Influence Ipo now can be local, linked to constraint itself You enable this in the IpoWindow header, with the Action icon to the left of the Ipo Type menu. The button tooltips give the clue as well. Tech note: the Ipo now can get directly linked to a constraint, and is being called during regular pose constraint solving. Actions (and drivers in actions) are being calculated *before* pose constraint solving. Result of actions then is written in bones, which then solves the entire pose. This means you can have a driver on both the constraint, as on the action channel for the constraint! Not that I'm going to debug that easily :) Additional fix: Joshua added a copy/paste IpoCurve feature, but he broke the functionality to be able to paste in an empty ipo channel. That now works again
2007-11-22Bugfix #7573Ton Roosendaal
NLA Window, Strip blending mode "Add" didn't work at all. It was using very bad quaternion addition. Replaced with proper code. For devs; new is the function QuatMulFac(quat, factor) which allows to multiply a rotation with a value (make it rotate more or less)
2007-11-04New driver option for the poor suffering riggers:Ton Roosendaal
"Rotation Difference" This option, for Bones, allows the angle between two Bones to be the driver for another Ipo channel. This angle now is hardcoded based on the Bone-space orientation (without parenting rotation). Thanks to nathan for poking and test!
2007-10-21== Core ==Peter Schlaile
This adds fractional FPS support to blender and should finally make NTSC work correctly. NTSC has an FPS of 30.0/1.001 which is approximately 29.97 FPS. Therefore, it is not enough to simply make frs_sec a float, since you can't represent this accurately enough. I added a seperate variable frs_sec_base and FPS is now frs_sec / frs_sec_base. I changed all the places, where frs_sec was used to my best knowledge. For convenience sake, I added several macros, that should make life easier in the future: FRA2TIME(a) : convert frame number to a double precision time in seconds TIME2FRA(a) : the same in the opposite direction FPS : return current FPS as a double precision number (last resort) This closes bug #6715 Standard framerates not supported / breaks sync -- 23.967 29.967 etc. https://projects.blender.org/tracker/?func=detail&aid=6715&group_id=9&atid=125 Please give this heavy testing with NTSC files, quicktime in/export and the python interface. Errors are most probably only spotted on longer timelines, so that is also important. The patch was tested by Troy Sobotka and me, so it most probably should work out of the box, but wider testing is important, since errors are very subtle. Enjoy!
2007-10-17SequencerCampbell Barton
- Draw a verticle line for markers - Added an option to transform selected markers in the sequencer - useful for Extending time
2007-09-24== NLA Editor ==Joshua Leung
Added some features to the NLA Editor that had previously only been added for the Action Editor. * It is now possible to choose whether timing is displayed in Frames or Seconds like in many of the other Animation Editors. Use Ctrl-T or the View menu to change this. * Autosnap behaviour from Action Editor is now also available for the NLA Editor. It was partially done in the previous commit (for transform). Use the new combo-box on the NLA Editor header (like the one on the Action Editor header) to set this. * editaction.c: silenced a compiler warning from the previous commit related to a function which is no longer needed.
2007-09-10Bugfix #7294:Joshua Leung
When resizing an Outliner window, the contents would eventually get 'pushed out of view' when shrinking the view. I've added a bit of a 'hack', which will ensure that this doesn't happen, by forcing the view to look at the left-side of the outliner tree, when the width of the outliner window decreses due to resizing.
2007-08-20Add "View Selected" in the IPO editorBrecht Van Lommel
- Numpad dot is shortcut key, same as in other windows. (Peach feature request)
2007-08-20patch #6795 by James C (sheep):Matt Ebb
This converts the Ipo editor and Timeline windows to use the BIF_ API for drawing international/antialiased text, following the user preference or being drawn in Bitmap/Pixmap/Texture mode. Thanks James!
2007-08-10== Action Editor - Time Display ==Joshua Leung
The Action Editor can now display timing in seconds too. By default, it still displays timing in frames, but it is possible to switch the time display to seconds. The hotkey to toggle this is Ctrl T. Notes: - Many of the Action Editor's tools have yet to be made aware of this. Therefore, they will still work as though frames are used. Only Transform, Snap, and Mirror should really be affected. This will be fixed when I wake up. - Nothing *should* be broken, but I might have missed something.
2007-08-01== Outliner - Patch #4364 ==Joshua Leung
Now the Outliner can be scrolled horizontally too. This was the first patch I ever submitted, but it's gone through many revisions due to ugly Blender bugs that needed to be fixed. Code Notes: * I discovered an ancient bug which would cause Blender to hang when loading a file saved with horizontal scrollbars turned on for the Outliner/OOPS. * Therefore, I've added special B_SCROLLO and HOR_SCROLLO defines for use by the Outliner only. These are used in place of B_SCROLL and HOR_SCROLL so that older Blender's won't choke on this stuff. Thanks for this suggestion Ton. * The hanging occurred in draw_scroll in draw_ipo.c
2007-06-26== Action/IPO Editors - Code Cleanup ==Joshua Leung
Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.
2007-05-03== IPO Editor - IPO Scaling ==Joshua Leung
Cleanups of code for this. Just removed un-necesarry checks.
2007-04-29== IPO Editor ==Joshua Leung
IPO-Keys (K) should now work with scaled IPO curves.
2007-04-28== IPO Editor - Scaled Curves for NLA-Strip Curves ==Joshua Leung
This commit resolves an issue dating back a few releases. When the IPO block being displayed in the IPO editor came from an Action being used as an Action Strip in the NLA editor, the keyframes in the IPO editor were not displayed in 'NLA-time'. There are however a number of things that still need work on so that they will play nicely with these changes. Having said that, the IPO editor is still generally stable for use (or should be). In case anything plays up, 'pin' the IPO view you're using to turn off these changes. This resolves Todo #4335. Known Issues: * When 'K' (show keys) mode is on, it doesn't work too too well yet. The display in such situations will be a bit confusing. * Pressing IKEY in the IPO editor (for inserting a keyframe on the current frame) also doesn't work too well yet. It will insert a keyframe on the wrong frame. * Transforms don't get any correction for scaling yet. This is only an issue when snapping transforms to the grid, or relying on the delta numbers printed in the header.
2007-04-23Changed TESTBASE and TESTBASE_LIB to check the hidden flagCampbell Barton
Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places. added error_libdata() for library error messages that are everywhere. added object_data_is_libdata to test if the object and its data's are from a library. fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!) made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes.
2007-04-06== Preview Range ==Joshua Leung
Preview Range now works in the IPO editor.
2007-02-11Tiny cleanups of marker drawing code. Shouldn't cause any problems.Joshua Leung
2007-01-28== Sequencer ==Peter Schlaile
Bugfix: when ipo-frame-locking is turned off, make the ipo cursor show up at the correct position and set CFRA correctly, if changed within IPO. (avoids very annoying snapping...)
2007-01-17button alignment for logic buttonsCampbell Barton
2006-12-29* Patch #5337 from Juho: Ipo vertex size theme settingMatt Ebb
(with some small modifications)
2006-12-06Bugfix #5356Ton Roosendaal
Outliner: the new 'restriction' options were drawn as buttons, and created always even when not visible. Gave big slowdowns on large data sets. Also: help lines were drawn as shorts, should be floats Cannot fix: button coordinates are short by default still, giant outliner data sets draw buttons in wrong location. Did add nice feature though; on several events the outliner now is not being re-built anymore, but redrawn only. I want to be a bit conservative with it though... but it happens for: - LMB drag to select items - pageup/down, scrollwheel, mmb scroll - search item - show active item - toggle selection Makes a good difference :)
2006-11-30Removed the other ugly global used in action editor. Now theJoshua Leung
ACTWIDTH is a macro that tries to get actwidth from the active SpaceAction (G.saction->actwidth). This should solve any potential problems with having two action editors open editing shapekey actions. Also, I've fixed a compiler warning caused by erwin's constraint commit. Wrong ui call for button.
2006-11-30Big Commit.Joshua Leung
Now time-markers work in all time-related spaces (i.e. Ipo, Action Editor, NLA editor, TimeLine, Sound). The hotkeys and functionality set should be the same for each of these modes (with a few exceptions still). I've had to change a few hotkeys here and there, so hopefully they aren't too bad. Marker Operations: MKEY - Add Marker SHIFT MKEY - Rename marker (was CTRL MKEY) XKEY - Delete Marker PAGE UP - Jump to next marker PAGE DOWN - Jump to previous marker CTRL A - Select all markers SHIFT G - Transform markers (NLA, IPO, Action) G - Transform markers (Sound, Timeline) CTRL SHIFT D - Duplicate markers (NLA, IPO, Action) SHIFT D - Duplicate markers (Sound, Timeline) BKEY - select markers and other keyframes (if any) I've also made a few little tool additions to NLA and Action editors: * NLA editor - Snap To Frame. Now with the option to offset strip so that it starts at the current frame. Added menus for this. * Action editor - Snap To Frame A few new menus for this too
2006-08-06undid commit to stop overdrawing IPO verts, it assumed that ipo verts were ↵Campbell Barton
in order which it seems there not. (only the IPO;s I tested with were) Still might be worth looking into somehow not drawing all the points.
2006-08-05dont draw IPO points outside the ipo view, avoid extra looping also.Campbell Barton
2006-06-25Bugfix #4466 (half)Ton Roosendaal
Object 'active shape' was only 1 byte in object. OK. Let's sacrifice another byte for that then!
2006-06-15* Added a better mouse pointer for the eyedropper tool (thanks Bart) and alsoMatt Ebb
some 2d scroll pointers
2006-06-15Changed some references to 'size' to now refer to 'scale'. If anybodyChris Want
sees a reference to size, as it pertains to a 3D object, please let me know.
2006-06-04Bugfix #4223Ton Roosendaal
Sequencer: A call to view2d_do_locks() got accidentally added in main drawing loop, causing an infinite loop of redraws when this option was used with more sequence windows open. Added missing view2d_do_locks() to zooming in Sequence window. Also cleaned this call a bit.
2006-05-01Small update for pydrivers: force reloading the pydrivers.py BlenderWillian Padovani Germano
text module when user edits the input text box of any pydriver (Transform Properties panel, Ipo window). It's enough to click in and out of a single pydriver's text input box for the module reloading and also re-evaluation of all pydrivers available. Maybe this "refreshing" should also be available from a menu, let's see. Note for Python fans: Definitions and redefinitions in a reloaded module are properly handled in Python, but previously defined data in the module doesn't disappear. So if you define a function "f" inside a module, import it, then change the function's name to "g" and reload the module, both "f" and "g" will be available. This is considered a feature, check reload's documentation: http://docs.python.org/lib/built-in-funcs.html#l2h-59
2006-04-30Pydrivers: Ipo Drivers controlled by Python expressionsWillian Padovani Germano
wiki with info: http://mediawiki.blender.org/index.php/BlenderDev/PyDrivers (there are two sample .blends in the patch tracker entry, last link in the wiki page) Notes: In usiblender.c I just made Python exit before the main library gets freed. I found a situation with pydrivers where py's gc tried to del objects on exit and their ID's were not valid anymore (so sigsegv). Ton needs to check the depsgraph part. For now pydrivers can reference their own object, something normal ipodrivers can't. This seems to work fine and is quite useful, but if tests prove the restriction is necessary, we just need to uncomment a piece of code in EXPP_interface.c, marked with "XXX". Thanks Ton for the ipodrivers code and adding the hooks for the py part and Martin for the "Button Python Evaluation" patch from which I started this one. Anyone interested, please check the wiki, the .blends (they have README's) and tell me about any issue.
2006-04-17Bugfix #3683Ton Roosendaal
When the 'reference shape key' (drawn yellow) was not the first key, the channels as drawn in IpoWindow didn't match the actual shape keys. This was caused by an exception in code that skips drawing the reference shape when 'relative' was used. Now I've added a rule that the first shape in a list always becomes the reference, that way you can also edit it. To keep backwards compatibility, this is only activated on translating the shape key lines.
2006-04-14#bugfix #3682Ton Roosendaal
NLA and Action window sometimes suffered from very weird scaled display, caused by making the subwindow very small. Was a missing check for small sizes. Also in this commit removal of debug print N_T left in for ipos.
2006-04-02Bugreport #4057Ton Roosendaal
Uninitialized variable used in viewmove for 2d windows... the reporter found it himself. thanks Michael Jones!
2006-03-27==Sequencer==Peter Schlaile
This patch is mostly a usability patch for the sequencer, mainly written by Anders Gudmundson and twisted a little bit by me. - Lock Time to other windows - Possibility to switch the X-Axis between frames and seconds-display - IPO-Frame Locking for plugins (T-Key) - Additional Popup to add HD-Sound and Movie at once - In Timeline-Window: Sequencer windows only playback - Make the IPOs a little bit IPO-Frame-Lock friendlier (doesn't jump; the frame that is drawn has the right dimension) - Wheel-Mouse buttons make the sequencer window zoom again. - The "This is not a sound/movie-file message" now reads "... or FFMPEG-support not compiled in!" since I learned some prominent people who complained, that hdaudio does not work for them ;-) - Make SPACEKEY open up the "Add Strip"-Popup on the timeline and start playback in the preview window.
2006-01-31* Fix to adaptively grow and shrink the width of the Ipo channel list based ↵Matt Ebb
on the width of the names. Now we can actually distinguish our shape ipo channels!
2006-01-30* Allow the Sequence editor to scale in Y axis too. Why was this never enabled?Matt Ebb
2006-01-07Orange: while testing other code, I found out the scrollwheel code redrawsTon Roosendaal
a 2d window 3 (three!) times on every event! This explains why scrollwheel seems to lag quite some when used in buttons or outliner. The view2dzoom() and view2dmove() code is horrid. Nice project for someone is to move all 2d (View2D struct related) code into its own C file. A lot of that is spread around in the code.