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
2012-08-05use define for 0.375 = GLA_PIXEL_OFS, used all over the interface.Campbell Barton
also use M_SQRT1_2 in math_rotation.c
2012-08-05code cleanup: remove redundant calls to CTX_data_main()Campbell Barton
2012-08-05fix a glitch where overlapping feathering could give random bad pixels, this ↵Campbell Barton
was caused by feather edge going in a different direction to the mask edge - creating bowtie quads.
2012-08-04style cleanupCampbell Barton
2012-08-04code cleanup:Campbell Barton
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions.
2012-08-03fix/edits to vector font handlingCampbell Barton
- don't overwrite the font path with "<builtin>" when the font file cant be found, it caused bad problems when loading files on someone elses systems when paths couldn't be found blender would silently clobber paths (tsk tsk). - when fonts are freed their temp data is now freed too. - assigning a new filepath to a font now refreshes the object data.
2012-07-31Fix warnings on old apple GCC compiler due to no support for alloc_size ↵Brecht Van Lommel
attribute.
2012-07-30fix for own error in r43796, 'Find Missing Files', could set the path to an ↵Campbell Barton
empty string.
2012-07-29add inline functions for max/min ints, good to use when the arguments are ↵Campbell Barton
function calls (we had a few of these).
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-26fix some types and incorrect infoCampbell Barton
2012-07-25Fix regression introduced in svn rev49122Sergey Sharybin
Would rather have mathematical functions consistent from using the same vector for input and output values point of view then introducing questionable optimizations.
2012-07-22code cleanup: remove unused math functions (where already noted as deprecated)Campbell Barton
2012-07-22code cleanup: use cosf and sinf when both args and results are float values.Campbell Barton
also remove local math functions in KX_Camera
2012-07-21style cleanupCampbell Barton
2012-07-21use fabsf when using floats.Campbell Barton
2012-07-19code cleanup: remove commented includes - mostly from 2.4xCampbell Barton
2012-07-18fix incorrect assert for mask face checking, also correct own bad spellingCampbell Barton
2012-07-17Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).Bastien Montagne
2012-07-17code cleanup: spellingCampbell Barton
2012-07-16Masks: feather self-intersection collapse functionSergey Sharybin
This implements simple function which collapses internal loops caused by self-intersections into a singularity. This loops can't be removed because rasterizer expects points of feather be aligned with points from spline itself.
2012-07-16barycentric_weights_v2_quad wasn't working quite right, rewrite as an ↵Campbell Barton
expanded version of interp_weights_poly_v2() that cuts down duplicate calculations.
2012-07-16add 2d version of interp_weights_poly_v3Campbell Barton
2012-07-16small speedup for mask rasterizer, only do single sided check for triangle ↵Campbell Barton
intersection.
2012-07-15math function to get the intersection point between 2 lines (not 2 segments ↵Campbell Barton
which we already have).
2012-07-15minor refactor for rect functions. more consistent naming.Campbell Barton
2012-07-14mask rasterization: use a simpler method to check if a bucket intersects ↵Campbell Barton
with a triangle.
2012-07-14rename vars for line dist funcs to make more senseCampbell Barton
2012-07-14header comment cleanup, explain whats the difference between confusingly ↵Campbell Barton
named drarnode.c and node_draw.c.
2012-07-14use gcc attributes for BLI alloc functionsCampbell Barton
2012-07-14add is_quad_convex_v2(), SET_UINT_IN_POINTER, GET_UINT_FROM_POINTER macros & ↵Campbell Barton
some minor edits.
2012-07-13Fix #32087: Crash while changing values in comp editor (bt and blender included)Sergey Sharybin
Issue was caused by threading conflict between compositor output node which is freeing buffers used by render result image and image draw code which could use buffers at the same time as compositor frees this buffers. Solved by adding adding lock around viewer image invalidation and image drawing. Use renamed LOCK_PREVIEW mutex for this, which si not called LOCK_DRAW_IMAGE. With new compositor locking for preview is not needed so it could be removed. Added the same lock around viewer operation which also frees buffers used by viewer image. It's actually quite difficult to check whether this is indeed needed. This code seems to be using acquire/release technique, but somehow acquiring ImBuf before invalidating it in compositor operation doesn't resolve the issue, so probably it's not actually locking acquire and things should be checked deeper.
2012-07-13new function barycentric_weights_v2_quad(), like barycentric_weights_v2 but ↵Campbell Barton
for quads. takes vecs and a point and assigns 4 weights, needed for nice quad interpolation for mask feathering.
2012-07-12add bli rect min/max functions.Campbell Barton
2012-07-12- add a temp var for edge scanfill (fits in 4 bytes alignment - won't ↵Campbell Barton
increase mem usage) - make keyindex an unsigned int, since its used to store vertex indices - use BLI_in_rcti_v for IN_2D_VERT_SCROLL and IN_2D_HORIZ_SCROLL
2012-07-12add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmaxCampbell 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-07-11code cleanup: use const for passing vectorsCampbell Barton
2012-07-11Fixes for keying screen:Sergey Sharybin
- Fixed issue with black areas appearing when too many sites are defined. Currently tweak epsilon value for this, but probably actual issue is somewhere else, can't see it yet. - Fixed issue with bright pixels appearing in the sites, was caused by accumulating color for pixels, which isn't needed. Once color for pixel was set stop iterating via triangles. Could give some speedup too. - Ignore markers which are outside of frame bounds, they were giving bad triangulation and they can't affect on gradient due to color fir such sites is not known. - Sites used to be created at position without track offset taken into account.
2012-07-10Inline the read Memory Buffer functions for speed optimizations.Jeroen Bakker
2012-07-10rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its ↵Campbell Barton
doing an allocation.
2012-07-08correct another case of nonnull (all should be correct now), and comment ↵Campbell Barton
about color conversion.
2012-07-08code cleanup: quiet uninitialized memory use warning for X11 - harmless in ↵Campbell Barton
this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized). also some other minor changes.
2012-07-08use gcc attrubutes to warn on unused return values and arguments which ↵Campbell Barton
shouldnt be NULL. also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
2012-07-08style cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-07-07code cleanup: dont use function calls like dot_v3v3, pow and sqrt within ↵Campbell Barton
macros which results in calling the function multiple times needlessly. also added some comments.
2012-07-05Code cleanup: move PBVH ray/AABB intersection test to BLI_math_geomNicholas Bishop
2012-07-05style cleanupCampbell Barton