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
2009-02-20Add clipping text option to blenfont also add an enable/disableDiego Borghetti
function for aspect and rotation (and the new clipping). Update source/Makefile to point to the new libed_sculpt_paint.
2009-02-20KeyingSets: Added two operators which wrap the internal (blenkernel) ↵Joshua Leung
KeyingSets API functions These operators - ANIM_OT_keyingset_add_new() and ANIM_OT_keyingset_add_destination() - are designed for use from PyAPI or through some other means, and as such, have not been assigned any hotkeys. They should only be used when all the relevant settings can be supplied to them, which in ideal circumstances would be through some script used by a rigger to define all the necessary Keying Sets for their rig for example. Whether we will be building many of the utilities for the PyAPI like this remains to be seen. Note: the second one doesn't work yet, as there are problems with accessing certain operator props.
2009-02-202.5:Brecht Van Lommel
* Image painting back. 2d paint, 3d paint and projection, undo, pressure, repeating paint operations, etc should all work. Drawing cursor needs a bit of work, only gets shown when enabling texture paint mode now. * Move sculpt, image paint, and vertex/weight paint into a single sculpt_paint module. Doesn't make much difference now, but nice to have it together for better integration and consistency in the future.
2009-02-192.5Ton Roosendaal
- Mesh Rip back (Vkey). For those who keep wondering how it works: just put mouse cursor somewhere close to the selection, press V and mouse mouse away from it. Feels like real rip! - Made extrude sorta work, no menu/options yet though. But it does transform! - Added an short event->mval[2] with region coords, easier coding for the guys :) - Fill operator standard delivers 'beauty' now
2009-02-192.5Ton Roosendaal
Made sliders behave correct in SpaceGraph and SpaceAction. - no slider draw when all is visible - sliders update correct when visibility changes. Still an issue here to tackle; view2d->tot is used incorrect... it's set on window size now (??), it should be the boundbox of the entire contents. That allows correct slider draws and ops like 'view home'. Will poke Joshua tomorrow. :)
2009-02-194 new function, boundbox, width, height and rotation.Diego Borghetti
The rotation is through glRotatef and as you can see it's ugly, the freetype2 allow apply a transformation (2x2 mat) to the glyph before load, so I want to try using that. Another thing to add is the 4x4 mat to get the scale and size from there.. but I need commit this now to continue from my home.
2009-02-192.5Ton Roosendaal
Assorted smaller fixes: - Fix: modal keymaps for editmode in view3d were not set again when you copy areas or go fullscreen. - Improved "redo last op" (F6) to search back in history for a redoable operator. Operator also used wrong pupmenu type. - On creating new FCurve editor, the channel rainbow colors are set correct. - EditMesh: fixed code for Spin/Screw, correct props, init and error reporting. (Spin hotkey ALT+R temporary) - recompiled all to check for uninitialized variable warnings. (compile flag should be -O for this). Fixed some proto's.
2009-02-192.5Ton Roosendaal
- Fix in ESC for render output window; it didn't check the 'full' and 'prevspace' flags correct. In some cases it left the screen in 'full' mode on ESC. - Added modal handler on a render, which catches the ESC while render, to prevent that ESC to be passed on to the image window. This handler can be further elaborated later to prevent edit accidents while render is in progress. I already notice some derivedmesh/customdata free errors on render now
2009-02-19RNA: fix for bug in particle code, hopefully this solves the crash?Brecht Van Lommel
2009-02-182.5Ton Roosendaal
Cleanup of saving code for Image window. Little extra: added poll() check for buttons, greying out inactive menu items or buttons. You can see it work in Image menu. (Item 'save image' is grey when it wasn't saved, then you have to use the 'save as' item). Carefully designing poll checks is worth a trial once. :) Do note that cpu time for polls should be totally minimal.
2009-02-182.5Ton Roosendaal
Patch from Arystan: - bugfix in mouse select posemode - Lkey 'select linked' for both pose as editmode armature.
2009-02-182.5Ton Roosendaal
Several things in one commit; could not split this up easily, one job invoked another, and so on. :) - Added pulldowns for save/load .blend file in top bar. - To enable "Save" without further popups (save over) I've added a signaling function in window header to indicate a succesful save. - On any undo push it now signals 'file changed'. This goes by notifiers nicely, but now registers only the undopushes, which is quite unreliable. "Changed" state shows in header as "Blender*" and for OSX with the standard close button black dot. - Made screencast show a button in top bar indicating such, and allowing quit. No hotkey for quit yet... but ESC will keep casting now. - Fixed new BLF_init(), which should be in WM_init() and not on any .B.blend read. - Fixed CTRL+F3 "Save Screenshot", which was still using old fileselect code.
2009-02-18Shift-A adds Armature Object (in Object Mode) or Bone (in Edit Mode) again. ↵Joshua Leung
Still todo, is to have Shift-A in Object Mode add single-bone armature again.
2009-02-18Bugfix for Record Transform AnimationJoshua Leung
Only selected objects are now keyframed.
2009-02-18* More icon naming updatesMatt Ebb
2009-02-18* Cleaned up naming of icon ID constants. This helps fix bad icons in the ↵Matt Ebb
graph editor among others.
2009-02-18* More icon updatesMatt Ebb
2009-02-18working yet preliminary (like everything) screw mesh. in irc there was a ↵Shaul Kedem
discussion about setting the screw axis outside of the function, but someone else should do that.
2009-02-18 2.5Michael Fox
***** added add_primitive_bone, removed operator from previous commit as it was not needed
2009-02-18 2.5Michael Fox
****** added a ARMATURE_OT_bone_add operator, ita generic operator to add a bone it behaves the same way as the old add bone (making a bone not set the tail but have it selected), commiting this so other add bone ops like add bonre pinative or making new armature
2009-02-18RNA:Brecht Van Lommel
* Added Particle wrapping patch by Roelf de Kock. It's not complete yet and I haven't reviewed it, but committing anyway, will get to it later. * Added "Percentage" subtype for floats. Doesn't really do much besides making auto rna buttons into sliders rather than numeric inputs, but can later display in % rather than 0.0-1.0.
2009-02-172.5: Image space, two fixes:Brecht Van Lommel
* With one item in ID databrowse list, you couldn't activate it. * Render result without render image now displays grid at size according to render settings again.
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.