Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-05 | use 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-05 | code cleanup: remove redundant calls to CTX_data_main() | Campbell Barton | |
2012-08-05 | fix 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-04 | style cleanup | Campbell Barton | |
2012-08-04 | code cleanup: | Campbell Barton | |
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions. | |||
2012-08-03 | fix/edits to vector font handling | Campbell 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-31 | Fix warnings on old apple GCC compiler due to no support for alloc_size ↵ | Brecht Van Lommel | |
attribute. | |||
2012-07-30 | fix for own error in r43796, 'Find Missing Files', could set the path to an ↵ | Campbell Barton | |
empty string. | |||
2012-07-29 | add 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-29 | code cleanup: replace MIN2/MAX2 with minf/maxf | Campbell Barton | |
2012-07-29 | style cleanup | Campbell Barton | |
2012-07-26 | fix some types and incorrect info | Campbell Barton | |
2012-07-25 | Fix regression introduced in svn rev49122 | Sergey 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-22 | code cleanup: remove unused math functions (where already noted as deprecated) | Campbell Barton | |
2012-07-22 | code 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-21 | style cleanup | Campbell Barton | |
2012-07-21 | use fabsf when using floats. | Campbell Barton | |
2012-07-19 | code cleanup: remove commented includes - mostly from 2.4x | Campbell Barton | |
2012-07-18 | fix incorrect assert for mask face checking, also correct own bad spelling | Campbell Barton | |
2012-07-17 | Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ). | Bastien Montagne | |
2012-07-17 | code cleanup: spelling | Campbell Barton | |
2012-07-16 | Masks: feather self-intersection collapse function | Sergey 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-16 | barycentric_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-16 | add 2d version of interp_weights_poly_v3 | Campbell Barton | |
2012-07-16 | small speedup for mask rasterizer, only do single sided check for triangle ↵ | Campbell Barton | |
intersection. | |||
2012-07-15 | math function to get the intersection point between 2 lines (not 2 segments ↵ | Campbell Barton | |
which we already have). | |||
2012-07-15 | minor refactor for rect functions. more consistent naming. | Campbell Barton | |
2012-07-14 | mask rasterization: use a simpler method to check if a bucket intersects ↵ | Campbell Barton | |
with a triangle. | |||
2012-07-14 | rename vars for line dist funcs to make more sense | Campbell Barton | |
2012-07-14 | header comment cleanup, explain whats the difference between confusingly ↵ | Campbell Barton | |
named drarnode.c and node_draw.c. | |||
2012-07-14 | use gcc attributes for BLI alloc functions | Campbell Barton | |
2012-07-14 | add is_quad_convex_v2(), SET_UINT_IN_POINTER, GET_UINT_FROM_POINTER macros & ↵ | Campbell Barton | |
some minor edits. | |||
2012-07-13 | Fix #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-13 | new 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-12 | add 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-12 | add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmax | Campbell Barton | |
2012-07-11 | vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v) | Campbell Barton | |
use where possible. | |||
2012-07-11 | code cleanup: use const for passing vectors | Campbell Barton | |
2012-07-11 | Fixes 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-10 | Inline the read Memory Buffer functions for speed optimizations. | Jeroen Bakker | |
2012-07-10 | rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its ↵ | Campbell Barton | |
doing an allocation. | |||
2012-07-08 | correct another case of nonnull (all should be correct now), and comment ↵ | Campbell Barton | |
about color conversion. | |||
2012-07-08 | code 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-08 | use 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-08 | style cleanup | Campbell Barton | |
2012-07-07 | style cleanup: use c style comments in C code | Campbell Barton | |
2012-07-07 | code 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-05 | Code cleanup: move PBVH ray/AABB intersection test to BLI_math_geom | Nicholas Bishop | |
2012-07-05 | style cleanup | Campbell Barton | |