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-02-23add back view 1:1 operator from 2.4x (Shift+PadEnter)Campbell Barton
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-27Workaround for [#25279] Shift-Numpad combinations fail to align view to ↵Nathan Letwory
selected. On Windows shift+numpad triggers extra ctrl event, making this fail. For now, use Alt as modifier on Windows (other platforms remain with Shift).
2010-12-17fix for keymap error with renaming rna.Campbell Barton
2010-12-08pedantic word ordering change.Campbell Barton
- wm.add_modal_handler -> modal_handler_add - wm.add_fileselect -> fileselect_add - ob.add_shape_key -> shape_key_add - VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove) Also made 2 internal cmake vars hidden.
2010-09-06revert keymap name commit, matt says everything should be '2D View', '3D ↵Campbell Barton
View...' etc, so for now just go back to what we had. reverse merge: svn merge -r31774:31773 .
2010-09-06rename '3D View' keymap, since its know as 'View 3D' for other areas of the ↵Campbell Barton
keymap editor.
2010-08-19fixes for recent renamingCampbell Barton
2010-08-17apply all rna naming changes for rna_space.cCampbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-07-24bugfix [#22769] Undo Looses Active Camera Campbell Barton
The problem was that the v3d could have a different camera to the scene even when locked. VIEW3D_OT_viewnumpad was ignoring v3d->scenelock option and allowing an invalid state.
2010-07-04home key to center the camera offset.Campbell Barton
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-04-07Fix [#21760] Snap to Origin doesn't workMatt Ebb
Removed the 'Snap selected to origin' operator, it was dysfunctional and other operators contain better functionality to do the same things.
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-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-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-02-12correct fsf addressCampbell Barton
2010-01-20patch from Bjørnar Hansen (anachron)Campbell Barton
Multiple background images displaying each on a different axis. Changes made from the original patch. - Use an enum rather then multiple booleans. - Reduced the space taken up by the user interface. - Made the image template compact display not show fields & premul options. - Added readfile.c lines so old blendfile images are loaded. - Option to hide BGpic UI (like modifiers & constraints) - Use the index rather then a bgpic from the context for the remove operator. note: could be good to use 1 image for both left+right, for eg, but for this to work as intended we would need to add image flipping depending on the axis so left this commented out for now.
2010-01-14* Added an 'enable manipulator' operator, with boolean properties for each of Matt Ebb
translate/rotate/scale, for people to bind to shortcut keys. wm.context_set doesn't work well here since it just toggles each component on/off. Fixes [#19730] Missing/conflicting keymaps for "Change Manipulator Mode" function Good defaults for this can be decided on for an updated 2.5 key layout.
2010-01-14ctrl +/- should be in default keymap for 3d view zoom in/out, probably other ↵Joseph Eagar
views too
2010-01-14[#20583] Snap Cursor to Center and more View editsMartin Poirier
Patches by Jonathan Smith (jaydez) Add a Cursor Center entry in the snap menu (Shift-S) to reset the cursor to 0,0,0. Also rename the view_center operator to view_selected to reflect better what it does (in the code only, description and name were already ok).
2010-01-12Renamed toolbar to Tool Shelf all overMatt Ebb
2010-01-11Multitouch trackpad 2 fingers gestures implementationDamien Plisson
- 2 fingers scroll (MOUSEPAN / GHOST_kTrackpadEventScroll event) pans/scrolls the view - 2 fingers pinch (MOUSEZOOM / GHOST_kTrackpadEventMagnify event) zooms the view And in 3D view: - alt + 2 fingers scroll rotates the view - 2 fingers rotation (MOUSEROTATE / GHOST_kTrackpadEventRotate) orbits the view. The implementation uses a new GHOST event type: GHOST_kEventTrackpad, that is then dispatched as Blender MOUSEPAN, MOUSEZOOM or MOUSEROTATE events. This is currently fully implemented for OSX (GHOST Cocoa fires the new events), with auto-detection of the source peripheral, so that a regular mouse still sends MOUSEWHEEL events.
2010-01-04* Added back some shortcuts from 2.4x using ctrl/alt/shift/etc mouse wheel ↵Matt Ebb
to scrub frames, pan view, etc. * Redraw the 3D View on brush edit changes (for [ and ] keys)
2009-12-24Removed a few operators that were just used to generate popup menus and ↵Matt Ebb
replaced with python defined menus.
2009-12-24Key map related things:Matt Ebb
* Moved 'change shortcut' (previously directly RMB on menu items) to a context-menu item, and added Remove Shortcut and Add Shortcut. This is all available now in a RMB context menu for operator buttons and menu entries. * Renamed a bunch of key maps to be consistent with UI names, and human-readable. Since these key map names are now being directly used in the UI for people to find things, they should be understandable and in plain language. This renaming may break some older saved key map setups - though previously saved .b25.blends should convert over ok. Exported .py files may need some find/replacing - in this commit check the changes in resources.c to see what's changed.
2009-12-18Keymap conflict detection operator.Martin Poirier
Takes into account the hierarchical structures of keymaps as well as wildcards (KM_ANY) in event definitions, user remaps (emulate numpad, action/select mouse buttons, ...) and event values that overlap (click, press and release) For now, doesn't do anything other than print conflicts in the console. As a result, I cleaned up a lot of keymaps that had double definitions, moved some keymap items in more appropriate places, fixed wrong definitions and removed kmi that were added for testing a long long time ago. Out of all the remaining conflicts, after removing obvious non-issues, here's what remains: http://www.pasteall.org/9898
2009-12-09reference to INDIVIDUAL_CENTERS causing errorCampbell Barton
2009-12-04Fix for [#19921] pressing NumpadDot on isolated mode centers the 3D cursorMatt Ebb
2009-11-29[#20103] Shortcut (Ctrl Space) not working for to show 3d transform manipulatorCampbell Barton
2009-11-28Shaded view toggle key (Shift-Z) not needed anymore.Martin Poirier
2009-11-23* Changed default shortcut key for 'center view to cursor' to ctrl numpad .Matt Ebb
2009-11-23Bugfixes:Joshua Leung
* Restored Center View to 3D Cursor. For now, I've mapped this to QKEY since all other nice combinations of CKEY have been taken now. * Fixed bug introduced in commit last night where parenting lattice to armatures with deforms would no longer work.
2009-11-17use number keys to set the current brush in paint modesCampbell Barton
2009-11-12Shift click on modifier works again.Martin Poirier
For some reason, adding a keymap entry with KM_SHIFT didn't work, had to use KM_ANY and passthrough invalid modifiers. Left a note to investigate later.
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-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-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-15added operators for setting rna for each type, this avoids having double ↵Campbell Barton
"'quoted'" strings from C which is ugly.
2009-10-14Use new operator to toggle view3d draw type.Martin Poirier
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-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-06* Added 'set object as camera' operatorMatt Ebb
3D View: View -> Cameras -> Set Object as Camera (Ctrl Numpad 0)
2009-09-25modal kaymaps for view3d rotate/move/zoom removed redundant 'view' prefix ↵Campbell Barton
from these operators.
2009-09-24Use Shift+F for fly-mode (like 2.4x) rather then Any+FCampbell Barton
2009-09-23fly mode back as a modal operator view3d.flyCampbell Barton
- access with the F key, Ctrl+Alt+F in editmode, View->Navigation menu - camera, perspective & 4split (perspective view only) - uses modal keymap, (same as 2.4x). - bugfix since 2.4x, when flying upside down, turning left/right was inverted. - bugfix for "Align Camera To View", was using deprecated v3d->ofs rather then rv3d->ofs, fixed for NDof fly too. checked v3d->ofs is only used in readfile.c Todo - Warping the cursor removed in 2.5, no way to place the cursor in the middle of the view. - Adding keyframes while in flymode to record the path is missing. - Not getting MMB mouse release events (used for pan). need to look into why.
2009-09-22- removed View3D->localview since it wasnt set on entering localview (making ↵Campbell Barton
many tools fail, add objects for eg.), check localvd instead. - Accent (`) key now sets all layers (like in 2.4x) - added Alt+C keybinding for converting object types.