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
2012-12-04fix [#33412] Jump to next frame broken in grease pencil modeCampbell Barton
allow arrow keys while in grease pencil session, otherwise you can't change frames. also correct out-of-date comments.
2012-11-11Bugfix [#33140] Ton Roosendaal
The alt+shift+RMB menu to select objects didn't handle 'extend' (now called toggle). Was due to code cleanup for selecting (and new CTRL+SHIFT+Select). Now the shift+alt menu behaves like shift+clicks.
2012-10-26style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-14style cleanupCampbell Barton
2012-10-14code cleanup: remove redundant casts. quiet some qualifier warnings.Campbell Barton
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-10-10refactor foreachScreen functions for clipping, now the projection clipping ↵Campbell Barton
flag is passed down directly rather then converting the enum into a flag, also fix own recent crash lasso seleting in object mode with pose objects.
2012-10-10object center selection now uses floats, also fix own error in circle ↵Campbell Barton
selection in recent refactor.
2012-10-10refactor screen foreach functions to accept float[2] arguments rather then ↵Campbell Barton
int pairs. overall means less converting between float and int (and short in some cases).
2012-10-07style cleanup: line length,Campbell Barton
rename V3D_PROJ_RET_SUCCESS -> V3D_PROJ_RET_OK
2012-10-06add mball_foreachScreenElem() and use for lasso & circle selection, also ↵Campbell Barton
utility metaball functions to (de)select all.
2012-10-06add circle select for metaballsCampbell Barton
2012-10-05use pose_foreachScreenBone for pose lasso and circle selectCampbell Barton
2012-10-05add armature_foreachScreenBone(), use for lasso and circle select.Campbell Barton
also add boundbox checking for lasso select.
2012-10-05code cleanup: use functions to initialize selection user data structs, use ↵Campbell Barton
radius-squared for circle select comparisons. edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.
2012-10-05more improvements to logic for selection/projection: replace ↵Campbell Barton
ED_view3d_project_short_global() with ED_view3d_project_int_object() in some places.
2012-10-05fixes/minor improvements to circle select in armature and pose mode.Campbell Barton
- pose mode now checks if circle select intersects the bone if neither head/tail are reached (as with editmode) - checking if the mouse intersects with the bone now checks that neither projection failed. - use ED_view3d_project_int_object rather then the global version.
2012-10-05fix for circle select ignoring lock selection option for pose and edit ↵Campbell Barton
modes, added macros PBONE_SELECTABLE, EBONE_SELECTABLE
2012-10-04make ED_view3d_project_int equivalent to ED_view3d_project_short functions.Campbell Barton
2012-10-04refactor ED_view3d_project_short & ED_view3d_project_short_noclip,Campbell Barton
This is apart of a code cleanup to make ED_view3d_project_short/ED_view3d_project_int/ED_view3d_project_float interchangeable. Currently they work very differently in a way thats quite confusing (and cause of bugs in blender that remain uncorrected) - fixes coming. There are also cases where ED_view3d_project_short is used, then the values are converted from shorts into int's after because ED_view3d_project_int() behaves differently, will unify behavior of these functions after this commit. - rather then clip/noclip versions, pass flags (for bound-box clip, window clip). - rather then store the invalid clip-value, return success (or error value clip_near, clip_bb, clip_win, overflow). - remove local copies of project functions from drawobject.c: view3d_project_short_clip, view3d_project_short_noclip, view3d_project_short_clip_persmat. add functions: - ED_view3d_project_short_global() global space projection - ED_view3d_project_short_object() object space projection. - ED_view3d_project_short_ex() take perspective matrix and local space option as args. - ED_view3d_project_base() - special function to set the Object 'Base' screen coords (sx, sy), since this is a common enough operation.
2012-09-28code cleanup: correct spellingCampbell Barton
2012-09-20code cleanup:Campbell Barton
- make view3d project names more consistent. - remove apply_project_float() its not needed. - update comments referencing an old function name. - move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-20code cleanup: remove unused macros, commet some which may be useful later - ↵Campbell Barton
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-09-07remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh ↵Campbell Barton
merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it. Also - other select modes like border-select dont do this, so looks safe to disable.
2012-09-07code cleanup: header had many incorrect sections for function/file, also ↵Campbell Barton
rename mouse_mesh() --> EDBM_select_pick()
2012-09-07code cleanup: move vertex and face picking functions into meshtools.cCampbell Barton
2012-09-07code cleanupCampbell Barton
2012-09-03fix [#31694] Circle Selection is ignored within face selection in texture ↵Campbell Barton
paint mode
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-14fix [#32315] Circle select unreliable when in vertex+edge select modeCampbell Barton
dist_squared_to_line_segment_v2() was returning the sqrt'd value in some cases. also use int's for edge_inside_circle() rather then shorts since it was doing int/float/short conversions and we're now using int's for screen vars in more places.
2012-08-09utility functions for getting/setting rectangles for operators.Campbell Barton
2012-07-12add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmaxCampbell Barton
2012-07-11vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)Campbell Barton
use where possible.
2012-07-09style cleanupCampbell Barton
2012-06-15Internal refactoring of tracking module, should be no functional changesSergey Sharybin
- Re-arrange functions in headers and implementation file to make them more grouped by entity they're operating with. Also order of functions in implementation file should match order of functions in header for easier navigation. - Rename some functions to match conventions of naming public functions. - Some code de-duplication, still some room for improvements tho. - Split main 2D tracking functions into smaller steps to make it more clear. Accidentally OpenMP was disabled in some of previous commits, re-enable it.
2012-06-04Removed some old cruft - commented out select_actionchannel_by_name() linesJoshua Leung
2012-06-04Attempted fix for borderselect crash that Jeremy (@Mango) is getting on aJoshua Leung
particular file in Pose Mode
2012-06-03Part-Bugfix, Part-Feature Completion: 'Armature' Option for Mask ModifierJoshua Leung
finally works This commit finally hooks up the Mask Modifier's "Armature" option with the relevant depsgraph updates on bone selection. Hence, this feature finally works as it was originally intended - that is, bone selections can be used to control which parts of the mesh that the mask modifier is applied to are displayed, giving riggers more freedom to experiment with rigs that don't necessarily feature overbearing/cluttering widgets. Regarding the implementation ("has_viz_deps" flag): This feature is just the "tip of the iceberg" of a number of related set of rigging/visual animation tools I've had in mind for a while now (dating back to the introduction of this modifier). Key considerations - Not all rigs will use this, so we don't want an extra (depsgraph-flush + search) recalc cost for those that don't use this. - There are some planned features which will also use this
2012-05-28move mouse select options into their own property function - more operators ↵Campbell Barton
should use these eventually
2012-05-25style cleanupCampbell Barton
2012-05-25Modifications to the view3d.select() operator: Nathan Vegdahl
1. Two new boolean options have been added to the operator: "deselect" and "toggle". 2. The previous behavior of "extend" (toggling the selection) has been moved to the "toggle" option. 3. "extend" now only extends the selection, it never deselects. 4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite of extend). 5. The built-in keymap has been changed to use "toggle" where "extend" was used before for this operator, to maintain the previous behavior in the default keymap. In short, this works towards making "extend" and "deselect" fully consistent across all selection tools (adding to and removing from selection, respectively), but still preserves the old behavior as well. (Patch reviewed by Brecht.)
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-14code cleanup: add WM_gesture_lasso_path_to_array, move mouse path to array ↵Campbell Barton
conversion there.
2012-05-08style cleanup: view3dCampbell Barton