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
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-12- use more inline math funcitons where possibleCampbell Barton
- swapped in less verbose math functons - modifier include cleanup
2010-04-03More work on Drag Immediate:Martin Poirier
- Rename option and flag to something more sane - Add property to manipulator operator and set true by default Confirm on Release can now be forced true or false per operator, in which case it won't use the default value (the user preference).
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-04-02rna naming, *_frame --> frame_*Campbell Barton
2010-03-30Fix a few warning in editors/ module.Brecht Van Lommel
2010-03-30Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set Matt Ebb
in uv/image editor properties panel Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's more accessible to RNA.
2010-03-29Mirror clipping for curves and surfaces.Sergey Sharybin
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-09Bugfix #21508: Hidden bones remain "selected" and are affected by transformsJoshua Leung
Made hidden bones get ignored by transform code. This should be quite an old bug...
2010-03-03fix for more crashes with baked fcurvesCampbell Barton
2010-02-28Revert back debuging code that made drawing transform constraints only work ↵Martin Poirier
on one side.
2010-02-23Move increment value into numinput structure.Martin Poirier
Easier for transform to have different values per transform then (also different from gears values). (Based on a bug reported by Jonathan Smith)
2010-02-21Bugfix #21234: Autokey "insert only available" userpref inserts keys for all ↵Joshua Leung
bones in an armature -- Bugfix: When autokey is enabled, notifiers to refresh the animation editors *after* transforms finished for objects were missing. While I understand the need to limit these to not doing this during transform, after transform, this lead to lag/inconsistent UI problems. -- * Added 'Damped Track' Option to 'Make Track' Operator * Improved the code of the 'Clear Track' operator to include other types of tracking constraint too
2010-02-12correct fsf addressCampbell Barton
2010-02-10realtime updates in the graph editor were updating all visible fcurves, ↵Campbell Barton
update all selected fcurves instead.
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-02-02Proportional Edit Connected: Use connectivity distance for falloff ↵Martin Poirier
(connectivity distance now also calculated across inner face edges).
2010-01-26Finishing off the Transform code changes for Degrees/Radians:Joshua Leung
Added flags for the mapping function offering more control over what values were affected and when. In the WIP code, the values for unselected verts were getting the restoration conversion being repeatedly applied, resulting in the values tending to zero.
2010-01-26WIP commit - degree conversions for transform fcurve editing - grabbing a ↵Matt Ebb
point works fine, but still issues with grabbing a single handle. Using the Radians unit setting still goes fine though so you can use that for now.
2010-01-21Proxy + Transforms Bugfix:Joshua Leung
This commit fixes some update issues for some rig setups used for Durian, with proxies not updating correctly during transforms. The setup involves an armature that has been proxified, which deforms a mesh in the group it came from. One of the bones in this armature is constrained to an empty that was added in the shot file. When the empty is moved around, the mesh does not deform in response to the armature until the transform is confirmed. This was because the depsgraph tagging was not comprehensive enough, since only a few cached tags got restored (but not all). For now, full depsgraph tagging is now performed for objects as they are transformed.
2010-01-20Animation Editors: Restored 'Realtime Updates' toggleJoshua Leung
- In 2.4x, this setting was the lock button in the headers. - Now, this option can be found in the View menus of all relevant editors - Basically, this option toggles whether objects (using animation data that's being edited) get updated during animation editor transforms to give realtime feedback on the effects of tweaks. - By default, this is enabled, since this fits in nicer with 2.5's everything 'live' paradigm. However, it is recommended to disable this on slower computers or when updates for heavy rigs are causing too much workflow lag - Also, removed some old crufty settings from action editor data
2010-01-09Edge Crease Transform is back. Now in edge menu (Ctrl-E) with Edge Slide and ↵Martin Poirier
the rest.
2009-12-17Bugfix: [#20403] transform manipulation widgets with normal coordinatesMartin Poirier
Disable manipulator drawing during transform
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-08Animation System: Handling UpdatesBrecht Van Lommel
* Added ANIM_list_elem_update and ANIM_id_update functions to call when changing animation curves, which will then call the RNA property update functions for those curves. This is to replace just calling DAG_id_flush_update, that may not always be the right thing to do, and doesn't send proper notifiers for redraw. Still only used/usable when transforming in the graph editor, not sure how this do this with NLA for example, .. needs to be improved. * Added function wm_data_handle_update function to contain the object update function, and also added scene animation update there. Actually it should be doing all datablocks, this makes it work for sequencer. Joshua, do you agree this is the right direction to go in? I can revert or change the code if you think it should be done differently. Mainly wanted to get this working well for sequencer now.
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-02[#20213] Align to Transform Orientation crashes BlenderMartin Poirier
Align needs to be call with region context. Also added checks to prevent this from crashing if not called properly.
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-27Add missing snap properties to transform operator.Martin Poirier
This is used to force snap on and off when needed. Also, when transform is not run modal, it will use default values for PET and snap properties (False) instead of scene settings. No need to force them off when calling transform with Exec.
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-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-05Fix for [#19780] pivot for rotation/scaling doesn't use "active vert/edge/face"Matt Ebb
Martin please doublecheck, but it should be all good.
2009-11-01Object PET works with autokey.Martin Poirier
Reordering some function calls in transform cleanup to make it simpler (that means other fixes are possible too, sequencer probably don't need it's own freeing function anymore).
2009-10-30Proportional edit for object mode.Martin Poirier
Limitations: 1) Parents and children of selected objects are excluded from the pool (siblings are ok) Making it work with that would required unparenting and reparenting after transform, that would turn nasty really quick. 2) Does not support Connected (this could be done through parent links, but see 3 first). 3) Parent relationships in affected objects aren't taken into account. When parent and children in the area of effect, remember that the children will also take the motion of the parents (with additive results). This could perhaps be fixed, but it could be nasty. Other stuff: New BASE_EDITABLE macro that checks if base is editable (like TESTBASELIB except it doesn't check for selection) Add scene parameter to TESTBASELIB_BGMODE macro (using it from current scope is nasty)
2009-10-27- Right click menu can open links directly to API reference docs (rna and ↵Campbell Barton
operators) - Generated and uploaded api docs - http://www.blender.org/documentation/250PythonDoc - Added Edit docs menu item & operators as discussed with Mindrones, Brecht, Stani & Letterip @ bconf, needs some web backend. python operator can aparently use xml/rpc to upload docstrings. - Added operator invoke function - context.manager.invoke_props_popup(self.__operator__, event) this calls a popup for invoke by default (which intern calls execute()) - Own recent commit to game framing applied to non-camera views too. - v3d->persp is deprecated but still used in some places. - Transforming strips could overlap 1 frame if moving them below frame 0 - Transforming overlapping strips could go into an eternal loop (though overlapping strips should not exist)
2009-10-21Graph Editor: Pivot Modes for TransformJoshua Leung
It is now possible to choose from 'Bounding Box' (default), '2D-Cursor', and 'Individual Centers' as the pivot point(s) that rotation/scaling is performed around.
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-19run flushTransParticles after snapping applyProject so you can project/snap ↵Campbell Barton
particles in editmode
2009-10-19Give sequencer its own transform freeing function.Campbell Barton
Updating the sequencer after transform could not use special_aftertrans_update because it relies on data that is freed theeth: moved the customFree function to run before freeing t->data, t->data2d in postTrans(), checked that customData is not needed.
2009-10-17Assorted tweaks for animation editors:Joshua Leung
* Changing to the ShapeKey editor now automatically enables the value sliders * Filtering code for ShapeKey editor can now do AnimData block filtering too (internal details...) * Silenced console warnings when inserting keyframes on F-Curves with no keyframes already (for Animation Editor sliders) * Made the update code for keyframe transforms send more general depsgraph updates. Unfortuately, this still doesn't resolve the update problems with shapekeys
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-14added mesh mirror flag, now store this per meshCampbell Barton
button in mesh interface also dont register operators that change context
2009-10-14Bugfix: uv editor transform operators were not working anymoreBrecht Van Lommel
after the recent retopo/snap commit.
2009-10-13Context operators for adjusting context values directly to avoid adding ↵Campbell Barton
operators for adjusting single values which also need duplicate notifiers. wm.context_set(path="scene.tool_settings.someattr", somevalue) wm.context_toggle(path="scene.tool_settings.somebool") wm.context_toggle_values(path="scene.tool_settings.some_enum", value_1="somevalue", value_2="othervalue") # switch between 2 values wm.context_cycle_enum(path="scene.tool_settings.some_enum", reverse=False) the path value is taken from the context so the full path is context.scene.tool_settings... This means in keymaps you can cycle draw modes, change PET- anything with rna access. If its not so nice to map keys to operators like wm.context_set we could use macro's to wrap it and have its own name Use this for PET and setting pivot options - Made userpref key shortcut Ctrl+Alt+U since its not used in 2.4x - added pivot_point_align (Alt+Comma) - added PET wasnt rna wrapped correctly.
2009-10-13fix for warnings, wkey menu wasnt registeredCampbell Barton
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-12Following up on revision 23783Martin Poirier
Transform saves back tool settings only when they weren't set as operator argument (and only when running modal).
2009-09-28Fix #19468: particle mode crash in transform, when there areBrecht Van Lommel
no editable particles.
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.