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-10-31Code cleanup: synchronize const qualifiers between declaration and definitionSergey Sharybin
2014-09-30Fix T42018: Crash when displaying beveled poly-curves with spline bevfac mappingSergey Sharybin
This fix is for 2.72.
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-10Curve: Remove assert in BKE_curve_bevelList_makeCampbell Barton
Failed on any cyclic poly line.
2014-09-04Fix setting Curve-handle type moving the wrong oneCampbell Barton
Issue noted in T35952, now if you convert a free handle to an aligned handle, it will move the selected handle.
2014-09-04Fix T35952: Switching a single handle to free would lock the others alignmentCampbell Barton
2014-09-01Support more object types scene-scale (on creation)Campbell Barton
- lamp - camera - font - empty & effector Also fix inconsistency with apply transform (modified shape-keys for meshes but not curve/lattice)
2014-08-21CleanupCampbell Barton
2014-08-18Correction to previous curve bevlist commitSergey Sharybin
2014-08-18Fix T41085: Blender crashes when using "spline" or "segments" for bevel ↵Sergey Sharybin
curve factor. Root of the issue goes to the fact that bevel list calculation might drop some points if they're at the same position. This made spline length calculation goes wrong. Now the length of the bevel segments is stored in the bevel list, so values are always reliable. Initial patch by Lukas Treyer with some tweaks from me.
2014-08-13SpellingCampbell Barton
2014-07-17Add helper to validate (and fix) material indices of meshes' polygons, ↵Bastien Montagne
curves' splines and texts' letters. Useful especially for importer addons. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D650
2014-06-19Curve: zero memory on access rather then callocCampbell Barton
also remove redundant check
2014-06-15Curve: replace calloc with malloc for values immediately written intoCampbell Barton
2014-06-15Curve: use zero length array for BevList for less confusing syntaxCampbell Barton
2014-06-13Code cleanup: spellingCampbell Barton
2014-05-27Revert fix for T38594, caused T40186 (just accept limitation for now)Campbell Barton
2014-05-26EditCurve: Replace -1 with CU_ACT_NONE defineCampbell Barton
2014-05-26Fix for curve having invalid active vertex after setting typeCampbell Barton
also allow passing NULL vertex to BKE_curve_nurb_vert_active_set
2014-05-163D Text: Change textbox placement to ignore font scaleCampbell Barton
Logic here was very stupid, texboxes would have their initial locations scaled by font size but not their width/height. Now its possible to change font size while keeping the textbox layout. Other fixes - tab character didn't work properly with textboxes. - memory leak when VFontData was missing.
2014-05-14FCurve: handle calculation was measuring new handle lengths and not using ↵Campbell Barton
for new ratio
2014-05-13Fix T40176: Curve Functions broken in several addonsSergey Sharybin
Regression since 94e5e2f. Handbook example about what happens when you use copy-paste and don't test code after you did a cleanup.
2014-05-03Fix for aligned handles in masking and curve objectsSergey Sharybin
The issue has been introduced in 0985bb4, made it so curves and masks stick to old behavior. FCurves are still flaky, namely, grabbing both handles selected would change the length of one of the handles which is not nice imo.
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-29Fix T39947: Aligned handle behaviour problem in graph editorCampbell Barton
Error in recent change to handle behavior
2014-04-29Code cleanup: simplify reallocs using MEM_recallocCampbell Barton
2014-04-28Fix for typo in commentJoshua Leung
2014-04-28Fix T38594: Incorrect behaviour when editing aligned handles in curve editorJoshua Leung
With the right handle selected, the movement of the left handle appears constrained to the frame it is currently on, leading to unpredictable and wild overshoots of the bezier curve. There appears to be little benefit in doing so. The effect of this patch is that makes it so that instead of trying (initially) to maintain the same distance between the two handles and then overshooting randomly later, the handles now try to keep the same distance from each other (i.e. similar doing a rotation around the keyframe) at all times. While this means that it isn't possible to set up assymetric handles (i.e. where ease in to the key is less than the ease out for example) using aligned handles (it's still possible using free; it's just a lot more work to keep them aligned), the benefits of removing of the random blips and jumps when things jump outweight the losses. Patch by Brecht
2014-04-26Code cleanup: use 'const' for arrays (blenkernel)Campbell Barton
2014-04-11Fix T39266: Weird Skin modifier shutdownSergey Sharybin
Fix wrong quat being calculated for curve's path. Also avoid some divisions by zero. Happened in cases when all the curve points have the same coord.
2014-04-08Code cleanup: remove paranoid NULL checkCampbell Barton
2014-04-08Fix T39635: Crash convening curve to meshCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Code cleanup: BKE_nurbList_handles_set used some strange logicCampbell Barton
2014-03-30Code cleanup: de-duplicate cotangent weight function & add arg sizesCampbell Barton
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-03-28Bevel Factor MappingLukas Treyer
Bevel Factor Mapping allows to control the relation between bevel factors (number between 0 and 1) and the rendered start and end point of a beveled spline. There are three options: "Resolution", "Segments", "Spline". "Resolution" option maps bevel factors as it was done < 2.71, "Spline" and "Segments" are new. * "Resolution“: Map the bevel factor to the number of subdivisions of a spline (U resolution). * "Segments“: Map the bevel factor to the length of a segment and to the number of subdivisions of a segment. * "Spline": Map the bevel factor to the length of a spline. Reviewers: yakca, sergey, campbellbarton CC: sanne Differential Revision: https://developer.blender.org/D294
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-20Code cleanup: use boolsCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-03-113D Text: textbox selection while in editmodeCampbell Barton
D395 from Henrik Aarnio with some improvements.
2014-03-07Fix T38985: Setting endpoint_u property while creating spline in Python ↵Sergey Sharybin
gives strange behavior
2014-03-01Code cleanup: correct abs use and quiet warningsCampbell Barton
2014-03-01Code cleanup: comment unused code in calchandleNurb_internCampbell Barton
Also remove outdated comments.
2014-02-28Fix T38817: FCurve autoclamp errorCampbell Barton
Animating large values with auto handles didn't work well, (large variations on the Y axis would shrink handles).
2014-02-27Fix T38863: FCurve auto-clamp allows handle to move past X boundsCampbell Barton
F-Curves with large Y axis had strange behavior where the handles could stretch out on the X axis rather then clamping as they do at smaller sizes.
2014-02-27Code cleanup: curves calculation was using offsets confusinglyCampbell Barton
also avoid calculating handle length when align isn't used.
2014-02-20Fix for off-by-one error switching nurbs directionCampbell Barton
2014-02-18Fix crash on file load with linked groups and curve bevel.Brecht Van Lommel
This isn't a proper fix, curve_cache should not be NULL, but it makes it possible to open the file at least.
2014-02-14Fix T38562: Wrong curve tilt after Switch DirectionSergey Sharybin