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
path: root/source
AgeCommit message (Collapse)Author
2009-02-172.5: CMake update for blenfont module, also some flags for sconsBrecht Van Lommel
to make it compatible with makefiles and ftfont module.
2009-02-17And another scons fix, hope now work!!Diego Borghetti
2009-02-172.5: Text edit mode operators back. Took me a while gettingBrecht Van Lommel
them nicely repeatable, and splitting up the big edit_text operator into individual operator so it's all nicely scriptable, documented, configurable, etc.. * Insert Text, Line Break, Insert Lorem * Toggle Case, Set Case, Toggle Style, Set Style, Set Material * Copy Text, Cut Text, Paste Text, Paste File, Paste Buffer * Move, Move Select, Delete * Change Spacing, Change Character Notes * Text (datablock) to Object doesn't work yet, will need to implement text editor context for that. * Some shortcut keys don't work because screen/wm overrides them, ctrl+x, ctrl+left/right. That override goes top down which works well for some cases, but here we need to override in the other direction. * There's no unicode support in RNA, or the user interface code for that matter, but text strings can contain these characters. At the moment it stores a UTF-8 string in char arrays, which is supposed to be nicely compatible with ascii. Seems reasonable to add support for UTF-8 in the interface code, python bindings, .. eventually?
2009-02-172.5: fix to make blenfont module compile with scons.Brecht Van Lommel
2009-02-17Fix scons build for blenfont, patch by skejoe.Diego Borghetti
2009-02-17Making the things compiled!!Diego Borghetti
I change the #if 0 with #if WITH_FREETYPE2, also fix a lot of typos, etc. This is the basic but now it draw text!!, I am using the "User Preference" space to test the library, nobody is working on that and the option are in the outliner now so... TODO-next: using the 4x4 mat, string size, bounding box, aspect and rotate. Notes: I update the Makefile, missing some include and other things so maybe scons, cmake and msvc also need update ?
2009-02-172.5Ton Roosendaal
Bug: cleanup in space_file copy I did missed a NULL check :)
2009-02-172.5Ton Roosendaal
Fix for the 'repeat last operator' option. It didn't work yet well outside editmode. Now undo/redo has to fully keep the UI alive, even when called from within a running popup. Another fix: when regions collapse/hide they were not effectively disabled, still accepting events. (like Nkey in 3d window).
2009-02-172.5Ton Roosendaal
Bugfix: passing on uninitialized var to a function made msvc halt. Strange that gcc didnt complain :) Brecht: check if this 'a' was needed as counter or so?
2009-02-172.5Ton Roosendaal
Node/Composite tinkering: - titles in headers and on collapsed nodes back - backdrop option draws again (no scroll operator yet) - added preview option in blur, filter and mix nodes. Just for fun while working :) Probably every node should get this...
2009-02-172.5Ton Roosendaal
Small fixes for filewindow; - on resize area/window, the load button disappeared. - made scrollers indicate what direction works - mousewheel scroll switches to horizontal automatically now (assuming we keep filelists horiz, previews vertical scrolled) View2d got hacked a bit by me for it; i guess for some cases the scroll value should become customizable. Will come back later!
2009-02-17Visual Keyframing - Restored code to make this work, but it may still be flakyJoshua Leung
NOTE: upon further testing, quick-record-animation feature does not work with auto-ik yet. Although it would be desireable to have, it is not a priority at this point, since adding that would require a bit of reworking of that code for something it wasn't intended for.
2009-02-17PoseChannel Transforms - AutoIK RestoredJoshua Leung
- Auto-IK works again now. - Quick-animate feature works with Auto-IK now. - Also disabled the checks for existing animation data for this, making it easier to use/discover. At least we've got undo to cover for the cases where the user didn't intend to do this.
2009-02-17Record Transform Animation - Quicky feature which makes it super-easy to ↵Joshua Leung
animate stuff quickly To use, simply enable Auto-Keyframing and start the animation playback from the TimeLine. Then at any time while the playback is still running (and Auto-Keyframing is still enabled), select any object/bone and start moving it around. You can also select other objects/bones and move them around using standard transform tools (grab/rotate/scale), or exit transform for the active/selected object(s), and move on to other objects instead. Repeat until satisfactory! This is similar to the old 'Record IPO' functionality (and/or is closer to the 'Mouse Recording' in 3DSMax), except it's much cooler, and is more flexible at the same time. It's "good for quick and dirty tests, or things with timing, where it's easier to do it real time" - William Reynish, or "handycam effect or eyes animation" - Pepeland. Additional Notes: - for now, the objects that are used for this currently need some animation data already. This limitation is temporary. - eventually, 'samples' (i.e. baked-data) not keyframes will be made by this tool as samples are more suitable for such large sets of densely spaced points
2009-02-16spin mesh is alt Rkey - ton, please check and advise regarding screw_mesh ↵Shaul Kedem
and defaults. F3 fails while pressed continuously
2009-02-162.5Ton Roosendaal
Patch from Arystan Dyussenov (A624), two operators for armatures; - select hierarchy up/down, using bracket [ ] with or without shift, and for editmode and posemode. Good work, thanks!
2009-02-16WIP, low level python UI functions, so far tested popup menu to work with ↵Campbell Barton
bpyui.pupMenuBegin, menuItemO and pupMenuEnd functions. And a popup block with python callback with bpyui.pupBlock, beginBlock, popupBoundsBlock and endBlock funcions. These functions should not be accessed by scripters directly.
2009-02-162.5Ton Roosendaal
Some small fixes: - handler operator exec gave too quick a warning for invalid area (set area context to NULL is OK :) - 4-split 3D view with clip option didn't reset clip when 4-split was disabled - creating a new 3d view didn't initialize buttons region correct.
2009-02-162.5Ton Roosendaal
Cleanup of wm_event_types.h, removed all old "allqueue" defines.
2009-02-162.5Ton Roosendaal
Proper integration of File-selecting in WM. The communication flow was flawed. :) Main problem was that filewindow can change the screen context entirely, and should not do this directly on a call inside an operator. Another problem was that the operator ownership was handed over to SpaceFile, which is asking for problems if you want to execute the operator with proper context later on. Solution is simple; window handlers already are valid owners of operators and can manage context, so instead of directly talking to the 'file space', you give the operator to a new handler this way: WM_event_add_fileselect(C, op); This handler then listens to events (OPEN, EXEC, CANCEL) sent by the WM or by the filewindow itself. This way local context operators (like "open new image in imagewindow") will survive a full-window fileselector fine, and in future also secondary windows browsing files. Two bugfixes included in this commit too: - Add sequence menus in Sequencer used wrong context. - When handler executes operators, it sets stored context now by first checking if this is still valid.
2009-02-16F-Curve names: Experimental style 2Joshua Leung
In this commit, I've experimented with the way in which F-Curve names (seen in DopeSheet/Graph Editor) are put together. Now, F-Curve names are assembled in the form: <array-index> <property-name> (<struct-name>) i.e. "X Location (Bone)", "Y Location (Object)" "Specularity (VeryLongMaterialName)", etc. The goal of this experiment was to hopefully make it quicker to do a left-margin scan and identify the defining differences between closely related F-Curves. - This has the benefit of no (potential) need for horizontal scrolling back and forth to see and compare the end portions of names, and also to avoid the important parts of the name getting pushed out of the standard viewable area by some owner-struct long names. - The downside is the loss of the clear hierarchial layout closely related to the RNA-paths used internally, that was provided by the old method. Also, this method also looks rather awkward on first glance, but if it improves efficiency of use, why not :)
2009-02-16Tweaked tooltips drawing - the previous correction I applied here for the ↵Joshua Leung
width was too excessive. That was based on some bug which seems to have disappeared now.
2009-02-162.5: Restoring Auto-Keyframing for Transforms Joshua Leung
Auto-Keyframing does not work anywhere else yet, and probably won't for a while.
2009-02-16Graph Editor Transform Bugfix:Joshua Leung
Now grabbing a single handle (auto/aligned) works correctly. One line of missing code mean that the handle recalculations were getting skipped.
2009-02-162.5Joshua Leung
Added RNA wrapping for F-Curve colour settings
2009-02-15added back sequencer RMB select Ctrl/Alt modifier keys.Campbell Barton
2009-02-152.5Ton Roosendaal
Accidentally closed comment twice, that doesnt compile!
2009-02-15thought the hashes were my own mistake from typing python in the wrong ↵Campbell Barton
window but turns out the pre-processor uses them.
2009-02-152.5Ton Roosendaal
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. :)
2009-02-152.5Ton Roosendaal
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!)
2009-02-15Graph Editor: F-Curve ColouringJoshua Leung
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.
2009-02-15Keying Sets: Added 'remove selected from active set' (Alt-K) operator in ↵Joshua Leung
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.
2009-02-15 2.5Michael Fox
******* - made the armature selection ops use the new editbone/pchan context loops and a little house cleaning
2009-02-15added error reporting to edit meshShaul Kedem
2009-02-142.5Ton Roosendaal
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.
2009-02-142.5Ton Roosendaal
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... :)
2009-02-142.5Ton Roosendaal
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.
2009-02-142.5Ton Roosendaal
Node editor: adding node sends proper redraw now, and calls the old 'auto connect' to make it link to active node.
2009-02-142.5Ton Roosendaal
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.
2009-02-142.5Ton Roosendaal
- 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.
2009-02-142.5 Bugfixes:Joshua Leung
* Removed unnecessary define for context loop (editable posechannels) * Fixed crash in animation-channel filtering - missing check for no world animation.
2009-02-142.5 - Adding context iterators for visible/editable (selection is ↵Joshua Leung
irrelevant) for bones and pose-channels. I'm not totally sure that these are needed, though it does make some tools simpler.
2009-02-14Bugfix: 'Legacy' Insert Keyframe operator works again... It's future is ↵Joshua Leung
still uncertain though.
2009-02-132.5: Curve edit mode add vertex and add menus now work. AlsoBrecht Van Lommel
fixed an issue where sublevel menus did not get right operator context.
2009-02-132.5: update cmake for rna_animation.c.Brecht Van Lommel
2009-02-132.5: Keyingsets now can construct rna paths including pointersBrecht Van Lommel
and collections, which means keying for example object game settings or constraint properties should work.
2009-02-13select left/right of active sequence stripCampbell Barton
2009-02-132.5Ton Roosendaal
Bugfix: menus in "screen space" could go wrong because the code accidentally used window->winid instead of screen->mainwin id. (the first is window id, the 2nd wm subwindow id. On start both are one, which made it not appear immediately).
2009-02-132.5Ton Roosendaal
feature restored: window title shows file name, if saved/loaded.
2009-02-132.5Ton Roosendaal
Feature restored: save file for the first time automatically names it untitled.blend, prevents to accidentally save over last saved file.