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-09-03code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h ↵Campbell Barton
and ui defines in interface_intern.h
2012-09-03array functions for endian switching.Campbell Barton
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-29code cleanup: add utility function BLI_path_is_rel()Campbell Barton
2012-08-27Alternate mask spline feather offset calculation method: now there are 2 ↵Campbell Barton
[Even | Smooth] - Even preserves thickness but can give unsightly loops - Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers. This is an example where smooth works much nicer. http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-08-26style cleanup: whitespaceCampbell Barton
2012-08-26Some FFmpeg changesSergey Sharybin
- Make FFmpeg initialization called from creator, not from functions which requires FFmpeg. Makes it easier to follow when initialization should happen. - Enable DNxHD codec. It was commented a while ago due to some strange behavior on some platforms. Re-tested it on Linux and Windows and it seemd to be working quite nice. Would let it be tested further, if it wouldn't be stable enough, easy to comment it again. - Make non-error messages from writeffmpeg.c printed only if ffmpeg debug argument was passed to blender. Reduces console pollution with messages which are not useful for general troubleshooting. Error messages would still be printed to the console. - Show FFmpeg error message when video stream failed to allocate. makes it easier to understand what exactly is wrong from Blender interface, no need to restart blender with FFmpeg debug flag and check for console messages. Used custom log callback for this which stores last error message in static variable. This is not thread safe, but with current design FFmpeg routines could not be called form several threads anyway, so think it's fine solution/
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-25code cleanup: vec_to_quatCampbell Barton
2012-08-25add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' ↵Campbell Barton
var in math_rotation.c
2012-08-25minor code cleanupCampbell Barton
2012-08-25don't use a while loop when in compatible_eul(). this is a low level ↵Campbell Barton
rotation function called in many places so better to avoid iterations. checked this function against the previous method using random rotation inputs and compared results, while this isnt exactly the same the results are very close and acceptable in both cases, also checked baking actions that the resulting FCurves are good and give matching rotations.
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-21code cleanup: vfont's used confusing and over complicated method of storing ↵Campbell Barton
memory for loaded fonts, not store as a temp var in the fonts.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-19fix for own commit r49991, this exposed bad logic in rect copy function.Campbell Barton
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-08-18style cleanup: also correct some doxy commentsCampbell Barton
2012-08-14fix [#32315] Circle select unreliable when in vertex+edge select modeCampbell Barton
dist_squared_to_line_segment_v2() was returning the sqrt'd value in some cases. also use int's for edge_inside_circle() rather then shorts since it was doing int/float/short conversions and we're now using int's for screen vars in more places.
2012-08-12smooth-view for 2d views, graph editor, sequencer, node view, works with ↵Campbell Barton
border zoom, view selected, view all.
2012-08-12style cleanupCampbell Barton
2012-08-10zero rotation values for quat_apply_track() which were in fact just float in ↵Campbell Barton
precision. also minor code cleanup - tabs -> spaces in scons file.
2012-08-09code cleanup: ensure macros require ';' endingsCampbell Barton
2012-08-07fix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, ↵Campbell Barton
dont include in log)
2012-08-06Remove redundant typedef of BLI_StackHoward Trickey
(caused compilation errors with some compilers)
2012-08-06fix for building in debug mode.Campbell Barton
2012-08-06Add an array-based generic stack structure to blenlibNicholas Bishop
Very simple stack with homogeneous contents. Provides push, pop, and is-empty operations.
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