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-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-03-10revert r35438, Martin doesn't like having this option tacked on.Campbell Barton
2011-03-10add option requested [#25598] projection surface snap issueCampbell Barton
for retopo workflow you don't wan't to project the mesh onto its self, added option not to.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-15remove/comment unused defines.Campbell Barton
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-11-21[#24827] Crash when auto-keyframing while playing animationMartin Poirier
Reported by André Oliveira Need to pass valid context to autokeying callback function.
2010-11-14Move rotOrder to proper transform data structureMartin Poirier
2010-11-05centralize function for calculating pixel size. (no functional changes)Campbell Barton
2010-11-03bugfix [#24505] Python command bpy.ops.transform.rotate(...) does not follow ↵Campbell Barton
axis=(...) attribute the axis was being constantly re-initialized from the view.
2010-10-24bugfix [#21097] Rotating multiple bones with non-local location behaves ↵Campbell Barton
incorrectly. - rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone because a different matrix is needed for translation and rotation.
2010-10-19Cancelling rotation on axis/angle object rotation didnt restore the original ↵Campbell Barton
rotation. also commented drotAxis/Angle since its not used yet.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-09-05This fixes: [#23672] If frame offset is too high the strip jumps forward Peter Schlaile
when you try to move it.
2010-05-06keyframe transform, both through dopesheet/action editor and graph editor, ↵Joseph Eagar
works a bit better with handles. handles now follow keyframes properly in frame snap mode, in situations where they would move (but the keyframe would not) in undesirable ways before. also hopefully fixed vector scope crash in image editor. and disabled snapping to seconds (ever); this can be a seperate option, silently switching to second snapping in frame snapping mode is absolutely evil. also, the action editor draws in hundredth of seconds, not seconds, so it didn't even work. Aligorith: I hope this code is ok, if not feel free to rewrite it.
2010-04-02[#21840] When clicking to move a Node it sticks to the mouseMartin Poirier
Add hidden property to be able to force confirm on release (drag immediately is a silly name) on or off. Streamline method for adding common properties to transform operators.
2010-03-28[#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when ↵Martin Poirier
trying to Crease some edges Don't want to project for Crease (and others).
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-09[#21433] Angular rotation snap issue, final value set is not snapped - SVN ↵Martin Poirier
27250 and 2.50A1 Proper fix for this. Moving special mouse input stuff to custom callbacks (this also makes the per transform main functions a bit cleaner). It also fixes the operator property (value) for shear and warp.
2010-02-20Split numinput from transform (reusable in other operator).Martin Poirier
Use in marker move operator.
2010-02-12correct fsf addressCampbell Barton
2010-02-04New Transform 3D view recalculate scheme.Martin Poirier
Only recalculate changes when absolutely necessary (mouse move triggers a soft recalc that will only happen before the next redraw other events trigger hard recalcs). The problem was that mouse moves are reported as lots of events (with small dx,dy) between each redraw which would trigger often heavy recalculations every time while only the last one was really important (the one before the redraw). This makes snap project (retopo) much more manageable but induces a very small lag equal to one refresh cycle. Confirming transform does a hard refresh, so the final result is always consistent with mouse position.
2010-01-25Use modal keymap events for transform numinput increment and decrementMartin Poirier
2010-01-22[#20700] Transformation IncrementsMartin Poirier
Patch by Jonathan Smith When using numerical input, up and down arrow keys increment and decrement the value by the transform increment amount (grid for grab and so on).
2010-01-04transform:Martin Poirier
Rotation operator now saves axis of rotation (when not using a constraint). Better for operator redo and tweak (would use a Z axis because of matrix init) Also fix crash in Translation operator redo and tweak (rv3d is not always available).
2009-12-21Sequence Slide transformation (easier to do special sequence code there than ↵Martin Poirier
in a generic transform) Also make the transform operator creation a bit more automagic (I always forget either operator registration or modal keymap registration, this is all automatic now).
2009-12-17Bugfix: [#20403] transform manipulation widgets with normal coordinatesMartin Poirier
Disable manipulator drawing during transform
2009-12-17Bugfix: [#20406] reapeat duplication along axis+view transform orientationMartin Poirier
Saving back orientation in operator didn't take into account that constraint orientation can be different than user selected orientation. Also simplify the switching logic a little.
2009-12-14A few KeyingSet + Transform Tweaks:Joshua Leung
Autokeying for transform functions now gets context-info, allowing for bone paths to be recalculated. However, the main purpose of this is to allow KeyingSets to eventually have poll functions.
2009-12-10rename operators TFM_OT_* --> TRANSFORM_OT_*Campbell Barton
2009-12-07Use custom cursor draw in transform to draw the new arrow cursors (to ↵Martin Poirier
indicate direction of motion for a particular transformations). This insures that it's drawn under the cursor and not far away when cursor is warped (rubber band still points to event location, this helps visualize too).
2009-12-03Make toggle and hold snap method cohabit nicely.Martin Poirier
Shift-Tab toggles the global toolsetting snap settings (both in and out of transform). Holding down Ctrl inverts the snap setting in transform (turns it on when global snap is off and vice versa). Ctrl-Shift-Tab to select snap mode (only outside of transform for now). For old (pre 2.5) behavior, just keep global snap off and use Ctrl. NOTE: transform modal events for snap have change a bit, saved keymap might not work anymore.
2009-12-01Additive snap for Transform. Easy snapping between two vertices, in the ↵Martin Poirier
middle of three faces, ... A to add the current snapping point to the list Alt-A to remove the last one The resulting snapping point is the average of all snap points in the list (and the one under the mouse pointer, if valid). Snapping between two verts is a matter of moving over the first, pressing A, moving over the other, confirming transform.
2009-11-29Gimbal orientation defaults to Normal instead of Global when bone or object ↵Martin Poirier
is not using euler orientation (Normal is bone axis for pose and Local axis for object, so this is more useful than defaulting to Global).
2009-11-29Fix CLICK event for modal operators.Martin Poirier
modal operators should return RUNNING_MODAL|PASSTHROUGH for unhandled events to be able to receive clicks correctly (this needs to be fixed for other modal operators). Maybe it's time to have "handled" flag in event instead.
2009-11-26First changes to implement the 2.5 snapping proposal (discussed back in May ↵Martin Poirier
and recently on IRC). http://wiki.blender.org/index.php/User:Theeth/Snapping The new widget isn't there yet, but the rest works, including: Increment (gears) is now a snap mode Ctrl click to toggle snap on or off (in transform and 3d view) Shift+Ctrl click to select snap mode (3d view only) Snap status (on/off) is persisted in tool settings, no need to always turn it back on when entering transform. It's still possible to have something resembling the old system by editing the transform modal keymap to snap on on ctrl press and snap off on key release.
2009-11-12Bug: [#19712] Manipulator widget missing functionalityMartin Poirier
With help from Patch [#19757] by Michael Jefferies. ------------- Also, following talks with Matt and Campbell, make pressing Ctrl in transform toggle snap/gears instead of having to hold it down. Important note: holding it down will no longer work correctly because of key repeats (it will toggle it constantly). It's possible to edit the modal keymap to bring back the old behavior (perhaps it should even be default).
2009-11-07Make orientation matrix access function public.Martin Poirier
Fix bug in previous code: passing 3x3 matrix to a function expecting a 4x4 (warnings are for something)
2009-11-06bring back align to view to objectCampbell Barton
- In 2.4x this was numpad *, however that would only align on the Z axis. - New behavior for VIEW3D_OT_viewnumpad, holding Shift with Numpad 1/3/7 sets the left/top/front etc on the normal axis. - Uses active bone, face, edge, vert, curve handel & object (just like the view manipulator with 'Normal' selected).
2009-10-30- Simplified EulToGimbalAxis, its still only works on XYZ and ZXY but at ↵Campbell Barton
least its more clear whats going on. - Made RotOrderInfo use a vector rather then i/j/k - Added gimbal_axis to transform.h (was extern)
2009-10-22Bugfix #19703: Axis Angle wont workJoshua Leung
* Transform code was not properly fixed to work with the new way that axis-angle data was stored * The order of the args for the conversion function when switching rotation representations was wrong, causing problems when switching from quaternion to axis angle (i.e. these occurred for newly created bones).
2009-10-21Region post redraw is now split up in a view space and pixel spaceBrecht Van Lommel
part. This fixes a bug where transform help line drawing would not work with view clipping and mess up the z-buffer. This avoids the transform code having to figure out what kind of opengl state is enabled and disable it temporarily.
2009-10-16X Mirror editmesh with PETMartin Poirier
Lock vertice near the middle (|x| < 0.0001) on the mirror's plane. Don't propagate transformation across mirror plane (this could probably be smarter)
2009-10-13Project option for snap to faces.Martin Poirier
This is similar to the old retopo all option but uses the snapping code and not the openGL depth buffer (it's thus more precise). Not sure if making it available as a snap option is sensible, this is up for discussion. NOTE: it will get slow fast on large meshes, we need to plug in an acceleration structure into snapping. This will need an icon too.
2009-10-08Key ConfigurationBrecht Van Lommel
Keymaps are now saveable and configurable from the user preferences, note that editing one item in a keymap means the whole keymap is now defined by the user and will not be updated by Blender, an option for syncing might be added later. The outliner interface is still there, but I will probably remove it. There's actually 3 levels now: * Default builtin key configuration. * Key configuration loaded from .py file, for configs like Blender 2.4x or other 3D applications. * Keymaps edited by the user and saved in .B.blend. These can be saved to .py files as well to make creating distributable configurations easier. Also, user preferences sections were reorganized a bit, now there is: Interface, Editing, Input, Files and System. Implementation notes: * wmKeyConfig was added which represents a key configuration containing keymaps. * wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap. * Modal maps are not wrapped yet. * User preferences DNA file reading did not support newdataadr() yet, added this now for reading keymaps. * Key configuration related settings are now RNA wrapped. * is_property_set and is_property_hidden python methods were added.
2009-10-08Keying Sets - Bugfixes + Auto-KeyframingJoshua Leung
* Added a new option for Auto-Keyframing which makes it only insert keyframes for the items included in the active Keying Set. This only works for Transform Auto-Keyframing so far (other tools will get it added later). The option is disabled by default. * Fixed bug where adding an 'entire' array to some KeyingSet would only start from the index of the button that the mouse was over at the time * Made some UI tweaks for Keying Sets buttons (still heaps of missing options there).
2009-10-08[#19354] Second press of axis key didn't do local orientation when global ↵Martin Poirier
was selected as user orientation (frankly, I don't like it much to have an exception for that, but backward compatibility is ok, unless someone else has a strong argument against).
2009-09-28Adding back more functionalities for transform orientations.Martin Poirier
Create new orientation is now Ctrl-Alt-Space (Alt-Space is select orientation and the old ctrl-shift-c is taken by add constraints). New orientation panel in 3d view sidebar (nkey) has operator buttons for select, create and delete. Eventually, this should become a list. Note that orientation operators are missing notifiers to properly redraw the 3d view and its header properly.
2009-09-28Durian Feature Request: Rotation Modes for ObjectsJoshua Leung
This (biggish) commit generalises the rotation modes functionality added for Bones, allowing Objects to use the various Euler Rotation orders, Axis-Angle, and Quaternion rotation representations. I've also cleaned up the nomenclature of the rotation-related settings so that the naming styles are more consistent with each other. Unfortunately, this will break all files involving object or bone rotation animation made in 2.5 versions (2.4x will still get correctly converted). General Notes: * By default, Objects still default to using Eulers, while Bones will use Quaternions by default still. * I've fixed all areas that I'm currently aware of to work with these changes. However, there are probably a few places where I've missed a few changes (i.e. auto-keyframing will need attention later). * Removed the old "IPO-Keys" stuff from Transform code. I'm unlikely to restore this in the near future, and trying to fix that to include support for this commit would have been too much work.