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-09-14minor changes needed for building standalone mathutils.Campbell Barton
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-09-11Fix #36701: Mask pivioting doesnt honor parentingSergey Sharybin
Made mask transformation aware of parent matrix.
2013-09-11add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d()Campbell Barton
2013-09-11uv-pack operator: option to rotate uv islands to fit in the optimal ↵Campbell Barton
rectangle when packing.
2013-09-11add angle_to_mat2 utility function.Campbell Barton
2013-09-10misc minor changesCampbell Barton
- make cmake osx use of -ftemplate-depth match scons. - use array size within sizeof(), more compact. - replace AT with __func__ where the function is unique enough. - BLI_box_pack_2D -> 2d to match other functions. - rename new mesh normal calculation to mesh.calc_normals_split()
2013-09-10Possible fix for MSVC compiling (grr...).Bastien Montagne
2013-09-10add BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses ↵Campbell Barton
stack memory and never allocates. it can be added and removed many times per function but will always remain the size of the maximum number of items. not used yet, added for normal calculation function from mont29.
2013-09-10* Compile fix for r59990.Thomas Dinges
2013-09-10add 2d convex hull utility function, BLI_convexhull_2d(), and python api ↵Campbell Barton
mathutils.geometry.convex_hull_2d() uses Andrew's monotone chain 2D convex hull algorithm.
2013-09-09enable strict flags for mesh_evaluate.cCampbell Barton
2013-09-07missing NULL check in recent commit, also skip some calculations in ↵Campbell Barton
mean_value_half_tan functions for degenerate cases.
2013-09-06fix for barycentric_weights_v2_quad() divide by zero when the location we're ↵Campbell Barton
checking the weight of touches one of the weighting coords exactly.
2013-09-06sorting utility functions for simple cases - sorting pointers by float for ↵Campbell Barton
example.
2013-09-06rename positive_mod to mod_i, make it work with nagative numbers (matching ↵Campbell Barton
pythons modulo), and use in a few more places. allow mesh-checker-deselect to have a negative offset.
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-09-05add function for rotating linked list so at item is last.Campbell Barton
2013-09-05add positive_mod() utility function.Campbell Barton
2013-09-05remove error return value from BLI_bvhtree_insert, no callers were using.Campbell Barton
in the case of an error - assert, rather then fail silently since it wont be working as expected anyway.
2013-09-05use strict flags for kdopbvh, also assert when invalid treetype is passed, ↵Campbell Barton
rather then failing silently.
2013-09-04move timeit macros into their own include, since they are only used for ↵Campbell Barton
testing and unrelated to PIL_time.h typical use.
2013-09-03reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple.Campbell Barton
2013-09-02warning cleanup: correct some odd returns and quiet strict flag warnings on ↵Campbell Barton
some systems.
2013-09-02Some function didn't match their declarationSergey Sharybin
2013-09-02add hash iterator functions to access the pointer to the value.Campbell Barton
2013-09-02add attributes to ghash and edgehash functions.Campbell Barton
2013-09-02use strict flags for kdtree, and replace ints with unsigned ints where possible.Campbell Barton
also replace callocs with mallocs since zeroing memory can be avoided.
2013-09-01Fix [#36479] Particle instance Modifier random position snaps objects to 0 ↵Bastien Montagne
position Most work (tracking bug) done by Anthony Edlin, many thanks! Great example of why having duplicate code is never a good idea... ;)
2013-09-01OSX/gcc4.6+: fix compiling, -Wconversion causes ann weeror in gcc's own ↵Jens Verwiebe
stdio.h else
2013-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-09-01kd-tree,Campbell Barton
- replace numbers with defines for allocation increments and default array size. - move array reallocation into a static function (deduplicate 2x). also fix own mistake with uninitialized slop-space var in memory printing statistics.
2013-09-01Mingw/Windows Compiling Fix:Joshua Leung
In file included from source\blender\compositor\operations\COM_PlaneTrackMaskOperation.cpp:31:0: source\blender\blenlib/BLI_jitter.h:36:65: error: expected ',' or '...' before numeric constant source\blender\blenlib/BLI_jitter.h:37:65: error: expected ',' or '...' before numeric constant It appears that an include used in COM_PlaneTrackMaskOperation.cpp brings in some Windows header file, which in turn defines rad/rad1/rad2 as some numeric constants.
2013-09-01use strict flags for lasso, boxpack, gsqueue and quadric's.Campbell Barton
for lasso also use unsigned ints rather then shorts for the path length.
2013-09-01use strict flags for scanfill, also replace shorts with unsigned shorts and ↵Campbell Barton
ints/bools in some cases.
2013-09-01move strict compiler checks into a header so its easier to manage in one ↵Campbell Barton
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts).
2013-08-31tweak mempool loop comparisons when we know there is no chance for skipping ↵Campbell Barton
past the last value. also correct typo.
2013-08-31Simplify line/plane intersection, add line_plane_factor_v3().Campbell Barton
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().
2013-08-31remove unnecessary check in BLI_mempool_iterstep and add doxygen comments to ↵Campbell Barton
mempool.
2013-08-31mempool internal change, use unsigned ints where possible (less overhead),Campbell Barton
also quiet compiler warning for BLI_LINKSTACK_FREE macro.
2013-08-30Some knife fixes. Avoids duplicating verts; better handling of cut-through ↵Howard Trickey
ortho. Now cut lines detect vertices that they pass (almost) exactly over and snap to them, to avoid making verts vert close to other ones. Added radius arg to BKE_bmbvh_ray_cast so that can detect an obscuring face when the ray might otherwise go exactly between two triangles. Needed an isect_line_tri_epsilon function for similar reason. Fixes last part of bug #35002. Other knife bugs still present but getting this commit in now before continuing bug fixing.
2013-08-29default blend file name setting (untitled.blend) length check wasn't ↵Campbell Barton
correct, move to generic function BLI_ensure_filename().
2013-08-29micro-optimization, avoid checking is_power_of_2_i once in power_of_2_max_iCampbell Barton
also whitespace edit.
2013-08-28remove callback BLI_localErrorCallBack from scanfill, was here for years and ↵Campbell Barton
only ever wrapped printf.
2013-08-28scanfill curves, ngons, masks had their own memarena code and would allocate ↵Campbell Barton
a new one for every fill. now use BLI_memarena and support passing the arena into the fill function, so the arena is re-used, when scanfill is called in a loop.
2013-08-27Get rid of madness about fnmatch: BLI_fnmatch did not do the OS checks, they ↵Bastien Montagne
had to be done in every file using fnmatch (autoexec.c did not, wonder how it could work under unix???). Thanks to Brecht for noting this!
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-26internal changes to ghash/edgehash, reorganize to split out resizing the ↵Campbell Barton
hash from insertion.
2013-08-26add some safety checks in debug mode to ensure sets/hashes aren't confused.Campbell Barton
2013-08-26minor changes to edgehassh/ghashCampbell Barton
- no need to zero vars when freeing ghash - de duplicate ghash remove code. - edgehash clear now works more like ghash.