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
2014-06-22WM: set circle select minimum radius to 1Campbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-31Code cleanup: use false/true/bool for maskingSergey Sharybin
2014-03-28Implement asymmetric and free handles type for masksSergey Sharybin
Summary: The title actually says it all, it's just possible to have independent free handles for mask splines. Also it's now possible to have aligned handles displayed as independent handles. Required changes in quite a few places, but they're rather straightforward. From user perspective there's one really visible change which is removed Handle Type menu from the panel. With asymmetric handles it's not clear which handle type to display there. So now the only way to change handle type is via V-key menu. Rewrote normal evaluation function to make it deal with new type of handles we support. Now it works in the following way: - Offset the original spline by maximal weight - Calculate vector between corresponding U positions on offset and original spline - Normalize this vector. Seems to be giving more adequate results and doesn't tend to self-intersect as much as old behavior used to, There're still some changes which needed to be done, but which are planned for further patch: - Support colors and handle size via themes. - Make handles color-coded, just the same as done for regular bezier splines in 3D viewport. Additional changes to make roto workflow even better: - Use circles to draw handles - Support AA for handles - Change click-create-drag to change curvature of the spline instead of adjusting point position. Reviewers: campbellbarton CC: sebastian_k, hype, cronk Differential Revision: http://developer.blender.org/D121
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-08-06fix for using uninitialized boolean vars for mask select more/lessCampbell Barton
2013-07-20misc editsCampbell Barton
- fix for missing None check with recent 'Hidden Wire' draw option. - avoid int overflow with mesh selection. - remove ';' outside of functions.
2013-07-20Fix descriptions for mask selection operators and use less ambiguous ↵Sv. Lockal
"letter-spacing" term
2013-07-20Select more/less tool for mask splinesSv. Lockal
2013-05-08code cleanup: use 'const float[2]' where possible.Campbell Barton
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2012-10-23use min_ max_ functions in more places.Campbell Barton
also fix minor error in MOD decimate when the modifier did nothing the reported face count would be wrong.
2012-10-14code cleanup: remove redundant casts. quiet some qualifier warnings.Campbell Barton
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-09-28code cleanup: correct spellingCampbell Barton
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-09utility functions for getting/setting rectangles for operators.Campbell Barton
2012-08-07use -FLT_MAX where FLT_MIN was misusedCampbell Barton
2012-08-01mask selection invert wasnt working.Campbell Barton
2012-07-27code cleanup: pass mouse position as int[2] rather then wmEventCampbell Barton
2012-07-27code cleanup: mask keys now dont use space-clip keys - could give troubles ↵Campbell Barton
later on.
2012-07-27change clip utility function arguments to take space data and region rather ↵Campbell Barton
then the context. this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.
2012-07-26mask/image editor now works for border select and lassoCampbell Barton
2012-07-25wip mask/image commit, mostly internal function & added some TODO'sCampbell 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-06-20Cleanup up space clip API:Sergey Sharybin
- Remove clip/mask specific size/aspect getters, they shall just use the same size/aspect ratio. - Made size getter (and some other public functions) accept context instead of SpaceClip. Currently only SpaceClip is being get from this context, but later it'll be helpful when adding support of editing mask without opening clip in clip editor (in this case using render resolution for mask would be ideal, but this requires knowing scene in size getter). - Rearrange some functions in clip_editor.c for easier navigation in the file.
2012-06-19Changes in clip editor's public api to make it's more clearSergey Sharybin
whether getting of some property happens or this property is being changed. Also made it more clear whether affecting property belongs to clip or mask datablock.
2012-06-04A few UI messages fixes.Bastien Montagne
2012-06-04abbreviate mask-editing to mask-editCampbell Barton
2012-06-04include cleanup, also raskter wasn't building on osxCampbell Barton
2012-06-04mask merge (initial copy of editor files)Campbell Barton