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
2013-05-21remove return value from MEM_freeN, it wasn't used anywhere and was cast to ↵Campbell Barton
a different function signature. (which evidently works but error prone).
2013-05-13fix [#35335] Crash when rendering a text object with a remesh modifier and a ↵Campbell Barton
material texture
2013-04-14fix for tangent curve flipping only doing 2d angle tests.Campbell Barton
2013-04-05Fix #34867: cycles viewport render did not respect viewport visibility forBrecht Van Lommel
modifiers with text/curve/surface objects. This is because the code here did not yet support the distinction between generating the tesselated mesh at viewport/render resolution and generating a separate displist/derivedmesh for render that is not stored in the object but created and freed on the fly.
2013-03-27style cleanupCampbell Barton
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-20add option to convert grease pencil into poly line directly.Campbell Barton
Without this, bezier curves at 12 resolution are very high detail for many tasks when converted from freehand strokes. so add the option to convert 1:1 grease pencil points to curve polygons. also add use_handles option to curve conversion which is used when converting beziers to poly lines.
2013-03-09use 'bool' for BLI_/BKE_ functions.Campbell Barton
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-21code cleanup: move 2d bevel list into its own function. (as with 3d bevel)Campbell Barton
2013-02-06fix for crashes running some operators in background mode and some divide by ↵Campbell Barton
zero errors.
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2013-01-15Bug fix #33748Ton Roosendaal
Old fixes, since 2009 and before! Related to Curve object editmode: - normals are not being drawn for hidden curves anymore - even worse: Blender also didn't hide the extrusions or bevels for hidden curves - outside edit mode, it shows all (as for all other modes) - (de)select-all now works when 1st (or any) handle was hidden.
2013-01-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2013-01-08style cleanupCampbell Barton
2012-12-15move pbvh into BKE, it used many BKE bad level includes.Campbell Barton
now blenlib/BLI doesn't depend on any blenkern/BKE functions, there are still some bad level includes but these are only to access G.background and the blender version define.
2012-12-15move bpath module from BLI to BKE, it was making many bad level calls into BKE.Campbell Barton
2012-12-11code cleanup: spelling labda -> lambdaCampbell Barton
2012-11-18style cleanup: if's on the same line.Campbell Barton
2012-11-09style cleanup: indentationCampbell Barton
2012-11-01Bugreport - Christian Krupa in irc:Ton Roosendaal
Curves behaved totally bad suddenly. Caused by Campbell code cleanup, replacing this: /* this is for float inaccuracy */ if (t < knots[0]) t = knots[0]; else if (t > knots[opp2]) t = knots[opp2]; with: t = (t < knots[0]) ? knots[0] : knots[opp2]; Tss!
2012-10-31style cleanupCampbell Barton
2012-10-27style cleanupCampbell Barton
2012-10-26style cleanupCampbell Barton
2012-10-21style cleanup: bge, switch statements mostly.Campbell Barton
also left bmesh decimator on in previous commit.
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-09-28code cleanup: correct spellingCampbell Barton
2012-09-16speedup for vertex parent lookups, were looping over array elements when it ↵Campbell Barton
wasn't needed for lattice and curves, and in some cases meshes. do dirrect array lookups instead where possible.
2012-08-26make SWAP macros typesafe using CHECK_TYPE macro.Campbell Barton
Its unlikely you want to do short -> int, int -> float etc, conversion during swapping (if its needed we could have a non type checking macro). Double that the optimized assembler outbut using SWAP() remains unchanged from before. This exposed quite a few places where redundant type conversion was going on. Also remove curve.c's swapdata() and replace its use with swap_v3_v3()
2012-08-25fix for type mismatch with SWAP() macro.Campbell Barton
2012-08-25style cleanup: also spellingCampbell Barton
2012-08-08code cleanup: rename G.afbreek --> is_break, G.rendering --> is_renderingCampbell Barton
2012-07-21use fabsf when using floats.Campbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-06-17style cleanup:Campbell Barton
also fix for building ghost test and fix double free in one of the tests
2012-06-13yse BLI_math for the compositor in more places.Campbell Barton
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-17style cleanup: block commentsCampbell Barton
2012-05-13code cleanup: use vector math function minmax_v3v3_v3() and other minor ↵Campbell Barton
vector function edits.
2012-05-13code cleanup: minor improvements to float/vector usage.Campbell Barton
2012-05-07Style cleanup of own modules using style checker from Campbell.Sergey Sharybin
2012-05-07Style cleanup: displist moduleSergey Sharybin
2012-05-06style cleanup: BKE_*.c files which deal with library functionsCampbell Barton
2012-05-06code cleanup: naming - BKE_mesh_*Campbell Barton
2012-05-05code cleanup: BKE_ naming, also make bpy.data.images.load() always load a ↵Campbell Barton
new image. (not use existing one)
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-05-04Added start and end bevel factor for curves, so now it's possible to makeSergey Sharybin
a bevelled curve which isn't fully covered with a bevel.
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.