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
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-06-12Cleanup/simplify G.main usages.Bastien Montagne
Using G.main only to get main bled filepath, or built-in fonts, is OK. So now using the 'valid' G_MAIN macro here instead.
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-05-31Cleanup: remove G.main from BKE mball code.Bastien Montagne
2018-04-02Build: fixes for the Intel compiler versions 2016, 2017, 2018.Milan Jaros
Differential Revision: https://developer.blender.org/D3109
2017-05-26Fix T51350: 2D curve normals flip when deformedCampbell Barton
Deforming 2D curves & text with modifiers/shape-keys could flip the normals. Now check the back-facing flag instead of `z < 0`.
2017-02-22Fix T50745: Shape key editing on bezier objects broken with Rendered ↵Bastien Montagne
Viewport Shading So... Curve+shapekey was even more broken than it looked, this report was actually a nice crasher (immediate crash in an ASAN build when trying to edit a curve shapekey with some viewport rendering enabled). There were actually two different issues here. I) The less critical: rB6f1493f68fe was not fully fixing issues from T50614. More specifically, if you updated obdata from editnurb *without* freeing editnurb afterwards, you had a 'restored' (to original curve) editnurb, without the edited shapekey modifications anymore. This was fixed by tweaking again `calc_shapeKeys()` behavior in `ED_curve_editnurb_load()`. II) The crasher: in `ED_curve_editnurb_make()`, the call to `init_editNurb_keyIndex()` was directly storing pointers of obdata nurbs. Since those get freed every time `ED_curve_editnurb_load()` is executed, it easily ended up being pointers to freed memory. This was fixed by copying those data, which implied more complex handling code for editnurbs->keyindex, and some reshuffling of a few functions to avoid duplicating things between editor's editcurve.c and BKE's curve.c Note that the separation of functions between editors and BKE area for curve could use a serious update, it's currently messy to say the least. Then again, that area is due to rework since a long time now... :/ Finally, aligned 'for_render' curve evaluation to mesh one - now editing a shapekey will show in rendered viewports, if it does have some weight (exactly as with shapekeys of meshes).
2016-06-25Fix T48723: Curve bevel creates invalid geometryCampbell Barton
2016-06-25Cleanup: use BLI_bitmap for bevel-splitCampbell Barton
2016-03-04Fix uninitialized memory use lattice-boundboxCampbell Barton
Many other places weren't clearing boundbox dirty flag after calculation.
2015-10-07Cleanup: spellingCampbell Barton
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-06-17Cleanup: styleCampbell Barton
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-03-30Fix T44186: Bezier Bevel facto mapping broken when 'start' was set to ↵Bastien Montagne
'Resolution' and 'end' was not. Trivial, we need totla_length in that case too. Safe to be backported to 2.74.
2015-03-25use BKE_mball_tessellate.h includeCampbell Barton
also remove unused includes
2015-02-27Fix T43807: invalid mesh from 2-sided cyclic curveCampbell Barton
2015-01-06Remove slurph shape-key featureCampbell Barton
This is an old option which wasn't working in over a year without complaint.
2014-11-29Cleanup: unused headersCampbell Barton
2014-10-21Fix T42257: Curve vertex parent not working with animationSergey Sharybin
Vertex parent was using original non-modified nurbs list, simply because it didn't have something else to operate with. Now we've got deformed by pre-tessellation modifiers nurbs in the curve cache which might be used y the vertex parent.
2014-08-20Cleanup: styleCampbell Barton
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-07Fix T41047: Text objects flippingCampbell Barton
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-18Cleanup in MBALL/displist: no need to create curvecache for non-basis ↵Bastien Montagne
mballs, will never be used anyway!
2014-07-18Cleanup: curvecaches for curves, not mballs!Bastien Montagne
2014-06-19Curve: zero memory on access rather then callocCampbell Barton
also remove redundant check
2014-06-19Complete last commit.Bastien Montagne
Sorry, forgot to check other uses of BKE_nurb_makeCurve, NURBS surfaces were affected as well.
2014-06-19Fix T40694: Curve path messed up.Bastien Montagne
Error in rB4b4bb410e04e, BKE_nurb_makeCurve() requires its coord_array to be zero'ed, hence we need calloc here.
2014-06-15Curve: remove unused displist membersCampbell Barton
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-10Curve: skip curves when matching bevel-fac (like 2.70)Campbell Barton
2014-06-06Code cleanup: styleCampbell Barton
2014-05-28Style cleanupSergey Sharybin
2014-05-26Fix T40223: Errors in bevel_factor_mapping_start/endCampbell Barton
Initial patch by Lukas Treyer with own fixes added
2014-05-26Fix for out of bounds read calculating spline mappingCampbell Barton
2014-05-26Curve Mapping: disable for cyclic curves (it doesn't make much sense and is ↵Campbell Barton
buggy)
2014-05-26Fix for out of bounds reads with curve bevel mappingCampbell Barton
2014-05-17Fix mistake in recent patchCampbell Barton
2014-05-16Fix T40223: Setting bevel_factor_mapping_start/end crashesCampbell Barton
Patch from Lukas Treyer
2014-05-16Add assert to check for buffer overrunCampbell 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-26Code cleanup: use 'const' for arrays (blenkernel)Campbell 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-31Fix deffects reported by CoverityScan (nothing dramatic, but at least one ↵Bastien Montagne
was a (minor) bug).
2014-03-31Code cleanup: fixes for function prototypesSergey Sharybin
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-20Code cleanup: use boolsCampbell Barton