Revision 66d3dcf by Ton Roosendaal February 15, 2009, 13:09 (GMT) |
2.5 Anim playback now uses "Sync" option, skipping frames to match real time (as set by the frames/sec button). This is a quicky for tests with audio. Note that the real time in seconds to update sound to in ED_update_for_newframe() would be: (scene->r.cfra / FPS) + screen->animtimer->duration Also this can have a slight inaccuracy, the time between the timer handler and the ED_update_for_newframe() notifier is not known, but in general nearly zero. A better implementation is possible, but thats for later. :) |
Revision 50f789e by Ton Roosendaal February 15, 2009, 11:41 (GMT) |
2.5 Graph editor: added refresh tagging on initialize; this is called on browsing space types, as well on read files or switch screens. (Makes the fancy fluorescent rainbow colors in channels appear!) |
Revision 844db37 by Joshua Leung February 15, 2009, 10:58 (GMT) |
Graph Editor: F-Curve Colouring Now F-Curve channels in channels region are drawn with the same colour as their respective curve is drawn in the curves area. I've had to make a compromise to store such colour info in F-Curves themselves, which is not terribly ideal if the F-Curve gets reused in some way. However, for now, this will do (special tweaks can be made to make this work better though). I've also added a colour-determination mode per curve which should in future allow more control over this. By default, all curves still use the old 'rainbow' style. The available types area: * Old Rainbow - Colour is determined 'automatically' using a magic method which uses curve position + total curves to generate a colour. * Auto RGB - Color is determined using the 'array index' stored in F-Curve for data-access. An unresolved issue with this is that all the curves with this will end up with exactly the same colour, leading to confusion (i.e. all location.x and scale.x properties could potentially all be the same red colour). * Custom colour - self explanatory Currently, there's a minor bug when loading old files where the colours don't get initialised yet. For now, just clicking in the Graph Editor after file-load will solve any of these problems. Ton: it looks like area->refresh() isn't getting called after file read. |
Revision 394b3fc by Joshua Leung February 15, 2009, 07:00 (GMT) |
Keying Sets: Added 'remove selected from active set' (Alt-K) operator in Outliner * Cleaned up the helper functions for the Outliner operators which deal with Keying Sets * Fixed a few minor bugs in the Keying Sets API that won't show up with the current tools, but may crop up later * Added a new method to find a 'matching' path in a Keying Set. Now adding a new path to a Keying Set will firstly check if there is any similar path already, and skip adding another path. |
Revision 0b3d60c by Joseph Eagar February 15, 2009, 02:14 (GMT) |
Dissolve verts better cleans up two-edged faces, as much as it can. Some design notes: * BM_Dissolve_Disk is now more like a BM_Dissolve_Vert function (e.g. there's logic to remove verts if there's not surrounding faces). I kindof like this idea better (if we decide to go this way we should call it BM_Dissolve_Vert) but will have to discuss it further with Briggs. It seems more intuitive to have a "destroy this vert" function then a "just destroy it in this specific situation" function. * Joining two two-edged faces does not work, so dissolve vert cannot clean all of them up. Until this is fixed, I've added checks in the conversion code so at least things don't crash. |
Revision 6ad0c20 by Joseph Eagar February 15, 2009, 01:02 (GMT) |
dissolve verts (which can be executed with xkey btw) now cleans up any two-edged faces that may result. |
Revision aac8daa by Joseph Eagar February 15, 2009, 00:47 (GMT) |
extrude uses dupe/delete rather then split, and it detects when to not delete geometry (though this could be smarter in the future). also BMO_pop had two lines out of order, which was causing flags layer to not always be freed when they should. |
Revision c56d635 by Michael Fox February 14, 2009, 23:21 (GMT) |
2.5 ******* - made the armature selection ops use the new editbone/pchan context loops and a little house cleaning |
Revision a0fada6 by Shaul Kedem February 14, 2009, 21:31 (GMT) |
added error reporting to edit mesh |
Revision aba3c36 by Ton Roosendaal February 14, 2009, 18:31 (GMT) |
2.5 Test: making screencast movies inside Blender! Hotkey: CTRL+F3. Stop with ESC Keep in mind it's unfinished :) Just nice to see how simple cleaner code with the new event system and job manager can be put to work! - it uses currently output directory and image/movie settings from scene. No buttons for this yet. - Framerate is hardcoded 10 fps - Thread job takes care of open/write/close movie or save image files. - For speed it uses glReadPixels from backbuffer. Have to consult Brecht for nifty triple buffer trick. - On file reads it stops now. |
Revision 7dce015 by Ton Roosendaal February 14, 2009, 16:43 (GMT) |
2.5 Making screenshots back. CTRL+F3 does full window now. Filewindow doesn't show image type, nor does single-area work now. Need this commit for test in render crashes... :) |
Revision 05cdff9 by Ton Roosendaal February 14, 2009, 14:25 (GMT) |
2.5 FileWindow: It appeared all load/save went via 1 call, so the 'OK save over' menu popped up on loading files too. Added check in the function for saving... bit weak, could become an argument for ED_fileselect. Also renamed file operators to conform to others. |
Revision 3f425df by Ton Roosendaal February 14, 2009, 13:18 (GMT) |
2.5 Node editor: adding node sends proper redraw now, and calls the old 'auto connect' to make it link to active node. |
Revision 891a202 by Ton Roosendaal February 14, 2009, 13:07 (GMT) |
2.5 View3D: snap menu (SHIFT+S) back. All options are own operators, a (temp?) menu collects them all. Note that the operators have a full name, for the menu it seems too much; still I'd prefer a way to name operators in a way it fits everywhere. That will make a unified translation system possible for example. Also: this code was needed to get 'center view' (numpad dot) in editmode to work. Last note; it uses old transform code to gather vertex info. This is fully local to this C file, and quite simple to replace in future with new transform. |
Revision 84b7ebd by Joseph Eagar February 14, 2009, 11:58 (GMT) |
extrude handles loop customdata properly, also added a BM_Face_CopyShared function to copy loop customdata in a face from adjacent faces. it's not used (didn't work in this case) but it seemed fairly useful. may remove if it turns out to not be necassary. |
Revision 699f8fe by Ton Roosendaal February 14, 2009, 10:03 (GMT) |
2.5 - Localview in 3d window back. Note: it puts entire area on localview, so it works nice for 4-split views as well. - Added 'save over' menu in filewindow F2 operator. Mostly to comply to 2.48... such things can be on the review list. |
Revision d875386 by Joshua Leung February 14, 2009, 07:52 (GMT) |
2.5 Bugfixes: * Removed unnecessary define for context loop (editable posechannels) * Fixed crash in animation-channel filtering - missing check for no world animation. |
Revision f3fac33 by Joshua Leung February 14, 2009, 07:27 (GMT) |
2.5 - Adding context iterators for visible/editable (selection is irrelevant) for bones and pose-channels. I'm not totally sure that these are needed, though it does make some tools simpler. |
Revision 11d9645 by Joshua Leung February 13, 2009, 21:40 (GMT) |
Bugfix: 'Legacy' Insert Keyframe operator works again... It's future is still uncertain though. |
Revision 47b9a44 by Brecht Van Lommel February 13, 2009, 17:37 (GMT) |
2.5: Curve edit mode add vertex and add menus now work. Also fixed an issue where sublevel menus did not get right operator context. |
|