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
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-28minor changes to the python api.Campbell Barton
- pep8 script was giving an error on non utf8 scons source files. - use PyList_SET_ITEM macro when list type is ensured. - all mathutils types use subtypes to create new types when available. - use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.
2010-11-25bugfix [#24907] bone roll z up broken and python script showing correct ↵Campbell Barton
method to roll bones from Josh Wedlake (joshwedlake), who provided a reference script used to apply changes in ED_rollBoneToVector(). - Obvious bug fixed where Z-Up didnt work right. - More align axis options to Recalculate Roll operator: X/Y/Z/View Axis & Negate. - Axis Only option, ignore the axis direction, use shortest rotation to align bones. ED_rollBoneToVector() changes: - would give bad roll when the axis wasn't normalized or perpendicular to the bone. some callers accounted for this but not all. - option to align to the axis but not the direction.
2010-11-24fix for crash introduced r33257, also tag some vars as unused.Campbell Barton
2010-11-22- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.Campbell Barton
- python/mathutils api matrix.lerp(other, factor) - new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.
2010-11-21- include pthreads for win32 globally (as with opengl).Campbell Barton
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-11-16option to write images to a files on single frame renders, this isn't ↵Campbell Barton
accessed by the UI at the moment, but could eventually be used for saving test-renders. The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering. Also made some 'char *' args into 'const char *'
2010-11-16fix for creating movie paths with non utf8 names.Campbell Barton
button test if non utf8 chars are allowed was inverted.
2010-11-16fix for fix, r33086.Campbell Barton
- incorrect range check broke ZYX euler rotations, use MIN/MAX constants so this doesn't happen again. - BGE Armature PyAPI also wasn't using correct min/max with rotation modes. - clamp on file read rather then when calling the rotation functions, so developers don't use invalid args without realizing it. - added assert() checks for debug builds so invalid axis constants don't slip through.
2010-11-15Bugfix, reported in IRCTon Roosendaal
The enum "rotmode" was read using an array, without checking for boundary cases, causing crashes on bad input. (Wahooney report 2, thanks!)
2010-11-12take delta's into account when applying the objects matrix (dloc, drot, dsize).Campbell Barton
Now object_apply_mat4() can be used as the reverse of object_to_mat4(). Noticeable result is fly mode and 'Apply Visual Transform' dont jump when deltas are used, also means setting matrix from python works as expected.
2010-11-12Fix compile problems for msvc.Nathan Letwory
2010-11-11System console toggling for MinGWSergey Sharybin
Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but MinGW's default is 0x0400 (thanks AlexKu for point) Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to avoid possibility of different functions prototypes in different modules.
2010-11-11fix for building, also use const char in more places.Campbell Barton
2010-11-07remove BLI_bfile, has been in blenders source for quite some time but ↵Campbell Barton
remains unused. can add back in if its ready to be used ofcourse.
2010-11-07- avoid loop within loop for unique naming function (even though it wasnt ↵Campbell Barton
likely to run often). - off by 1 error with outliner naming length. was 1 too short.
2010-11-07de-duplicate unique naming logic, was used in 7 different places, convert ↵Campbell Barton
into a function call.
2010-11-04Global definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and ↵Sergey Sharybin
_LARGEFILE64_SOURCE at linux and win32/mingw platforms Needed to work properly with large files at 32bit system (display correct size in file browser, i.e.) This will also fix compilation with zlib 1.2.5
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-11-03fix [#24499] Consistency Issue with LassoSelect/ExtendOptionCampbell Barton
Added extend option to lasso. also... - selecting bones wasn't checking their layer of if they were hidden in a number of places. - fixed memory leak. small unrealed changes - added PBONE_VISIBLE macro - renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's. - removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific. Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next.
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-11-01bugfix [#24477] Can easily create bones with duplicate namesCampbell Barton
- fixed this error 7 different functions (deform groups, uv layers & similar). - support for numbers over 999. - renamed splitIDname() to BLI_split_name_num(), moved to BLI_path_utils
2010-11-01bugfix [#24462] UV Layouts saved as PNG results in two files (one is 0 KB, ↵Campbell Barton
other has corrupted filename)
2010-10-30fix for own mistake with mat4_to_loc_rot_size(), flipping the scale on ↵Campbell Barton
negative matrix isn't correct.
2010-10-30change mat4_to_eulO, mat3_to_eulO to calculate 2 rotations and return the ↵Campbell Barton
smallest one. mat4_to_eul & mat3_to_eul are already working this way. Without this we get problems with constraints, eg: rotation on the Y axis over 90d can be represented by setting the X and Z to -PI, Y would decrease to 0 (infact 180d).
2010-10-30Fix for [#24458] Problem with Axis Angle rotationJanne Karhu
* Added checks to handle zero axis vector.
2010-10-30warning/portability fixes.Campbell Barton
2010-10-27remove include paths which dont exist, fix for doc upload script which was ↵Campbell Barton
getting the blender version twice and not working sometimes.
2010-10-27Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash ↵Campbell Barton
function into path_util.h since these are not fileops.
2010-10-27Change /WX away for now, some odd thing going on between cloned ↵Nathan Letwory
environments. Need to check after release.
2010-10-27dont use const for matrix arg, since it needs to be cast in most cases.Campbell Barton
2010-10-26move matrix decomposition out of object.c into BLI_math_matrix function: ↵Campbell Barton
mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers. also added access to this in python's mathutils.Matrix() loc, quat, scale = matrix.decompose()
2010-10-24bugfix [#24357] Font folder can be specified but is not openedCampbell Barton
- open operator was incorrectly checking if the font path was set. - rna ID editable check was also incorrect, checking the ID name rather then the filename. - use define FO_BUILTIN_NAME rather then "<builtin>".
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-22index for openmp loop needs to be signed int.Nathan Letwory
2010-10-22Add some missing const'sNathan Letwory
2010-10-22Fix for snapping pose bones with axis-angle rotation.Campbell Barton
- armature_mat_pose_to_bone() was missing axis-angle check. - added loc_axisangle_size_to_mat4() for completeness. - use 'const' prefix where possible in math rotation functions.
2010-10-22eulO_to_quat wasn't functional for XZY, YXZ, ZYX rotation orders.Campbell Barton
it also modified the input rotation value which isn't expected for these functions.
2010-10-22fix warningsCampbell Barton
2010-10-21Enable /WX in blenkernelNathan Letwory
Silence warnings
2010-10-21Silence warning about macro redefinitionNathan Letwory
2010-10-20[#24267] Hook fails after SolidifyCampbell Barton
Solidify modifier wasn't assigning origindex values. - BLI_math.h array functions: range_vni(), mul_vn_fl(), mul_vn_vn_fl(), add_vn_vn(), fill_vni(). - define 'AT' as __FILE__ ":" STRINGIFY(__LINE__), useful for quick debug prints.
2010-10-19Remove BLI_bfile.c from build process. It is unused, and currently throws ↵Nathan Letwory
error C4013 (ie. previous commit works sweetly ;)
2010-10-19fix for implicit declaration, not sure why this happens but OpenSuse 11.1 ↵Campbell Barton
wouldn't build.
2010-10-18enable DEBUG define in CMake and scons, also change booleans debug option to ↵Campbell Barton
BOP_DEBUG, which was used inconsistently, and had to add a define for superlu.
2010-10-18Use DEBUG instead of NDEBUGNathan Letwory
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-18bugfix [#24291] Error parenting a child with any negative scaling coordinateCampbell Barton
the bug was in object_apply_mat4(), caused by applying a non-normalized matrix to the rotation. Blender 2.4x also had this problem, surprising nobody noticed!.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.