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-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2012-01-10Fix regressions in the color management / dither patch.Brecht Van Lommel
2012-01-08Color:Brecht Van Lommel
* Accelerated sRGB <=> linear conversion using lookup table, this can speed up loading of images in the compositor and simple renders quite a bit. * Dithering now uses the Floyd-Steinberg algorithm. Previously it would simply randomize each pixel slightly, adding noise, now that should be reduced. Patch #29309 by David M.
2011-12-31Fix [#29728] Explode Modifier Causes Crash.Bastien Montagne
The problem was in fact in recent BLI_edgehash changes: a typo in the new macro EDGE_ORD made v0 > v1, instead of v0 < v1. This caused the bug in explode modifier, which (ab)uses that ordering feature a bit…
2011-12-30Object tracking integrationSergey Sharybin
This commits merges object tracking implementation from tomato branch. Summarized changes from branch: - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - Object has got scale to define "depth" in camera space. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api. - Improvements in witness cameras workflow,
2011-12-29optimized mempool iterator from bmeshCampbell Barton
2011-12-29add UNLIKELY / LIKELY util defines to help optimize iterators that are ↵Campbell Barton
called a lot, only defined for gcc at the moment. also some cmake formatting edits.
2011-12-29file missing from cmake listingCampbell Barton
2011-12-28Merging r42896 through r42944 from trunk into soc-2911-tomatoSergey Sharybin
2011-12-28WIP loading bmesh in trunk, some conversion functions for this purpose.Campbell Barton
2011-12-28merge bleshes BLI_array header lib into trunk.Campbell Barton
2011-12-28Code refactoring: add unified image buffer functions for doing float => byte,Brecht Van Lommel
byte => float, float => float, byte => byte conversions with profile, dither and predivide. Previously code for this was spread out too much. There should be no functional changes, this is so the predivide/table/dither patches can work correctly.
2011-12-28copy BLI_edgehash changes from bmesh branch, main change is use of mempool.Campbell Barton
2011-12-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-26patch from debian from Kevin 'kiniou' RoyCampbell Barton
added __GNU__ and __GLIBC__ to conditional defined in order to compile on KFreeBSD
2011-12-22patch [#29667] Fix for potential memory corruption in path_util.cCampbell Barton
from Andrew Wiggin (ender79)
2011-12-21Merging r42770 through r42799 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-21Code refactoring: move MD5 out of imbuf into blenlib.Brecht Van Lommel
2011-12-20Merging r42723 through r42769 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-20move topology mirror out into its own functions - needed for bmesh branch so ↵Campbell Barton
we can use then for bmeshes own internal mirror calculations.
2011-12-20patch [#29651] Add a __str__ Method to Matutils Matrices so print(matrix) ↵Campbell Barton
Shows Columns as Columns from Andrew Hale converted from python string formatting to using BLI_dynstr
2011-12-19Merging r42648 through r42722 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-19change BLI_assert() so it can be included in other defines.Campbell Barton
2011-12-18cleanup of weight paint color setting code, no functional changesCampbell Barton
2011-12-18Support for arbitrary sized vectors - (was limited by 2-4 previously)Campbell Barton
patch http://codereview.appspot.com/5482043 from Andrew Hale * Text from the submission * This patch adds the ability to use arbitrary sized vectors from mathutils. Currently vectors are only of size 2, 3 or 4 since they are generally restricted to geometric applications. However, we can use arbitrary sized vectors for efficient calculations and data manipulation.
2011-12-17style edit only - move parenthesis onto second line of function definition ↵Campbell Barton
(in keeping with most of blenders code) also split some long lines in own code.
2011-12-17Fix #29640: make duplicates release keep hierarchy and parent properties notBrecht Van Lommel
working for multiple objects. ID.newid only worked for one object, now it uses a hash instead.
2011-12-16Math lib: matrix multiplication order fix for two functions that wereBrecht Van Lommel
inconsistent with similar functions & math notation: mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B) mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B) For branch maintainers, it should be relatively simple to fix things manually, it's also possible run this script after merging to do automatic replacement: http://www.pasteall.org/27459/python
2011-12-16static functions for getting power of 2 values were being copied about too ↵Campbell Barton
much, add to the BLI_math api. - is_power_of_2_i - power_of_2_min_i - power_of_2_max_i
2011-12-15Object tracking: object with object solver constraint is now parented to ↵Sergey Sharybin
scene's camera Made Object Solver operator parent object to scene's camera. Behavior is pretty much familiar to Child Of constraint -- it stores inverted transformation matrix which gives constant offset in parent's space. Current files would open incorrect, to make object aligned well again, just press "Set Inverse" button in Object Solver constraint. Fixed orientation operators so now they should work in all cases. Also changed behavior of Set Origin operator which now sets origin to the median point of all selected tracks/
2011-12-15vertex group changes,Campbell Barton
use more api functions more (some vertex group editing functions were copied about), also make some functions int oapi calls. - remove defgroup_find_index(), use BLI_findlink instead since they both work the same way. - move static function getNearestPointOnPlane() to BLI_math api function closest_to_plane_v3() - ED_vgroup_give_parray() added option to return an array where unselected verts are NULL (simplifies code & works for lattice when it didn't before). - more consistant error checking of ob->actdef.
2011-12-12fix [#29537] file/save crashes when target path isnt foundCampbell Barton
bug was that uiPupMenuSaveOver(...) could run the WM API call function which freed the operator, within the low level invoke function which kept using the freed memory. Changed uiPupMenuSaveOver(...) to only show a popup so the caller needs to check if the file exists and should be immediately written (which was done everywhere except for blend saving anyway). * added note that operators invoke/exec funcs cant call WM_operator_call(...) on themselves, ends up using freed memory. * added BLI_is_file(path), checks the file exists and isnt a directory.
2011-12-05syncing some minor formatting edits from bmesh branch.Campbell Barton
2011-12-04Fix for movie clips weren't remapped properly on file saveSergey Sharybin
2011-12-04add a new object member to store the dsize, since with my recent commit ↵Campbell Barton
broke forward compatibility. now the new values are copied into 'dscale' and existing ones remain. this is annoying since now we have dsize and dscale, will look into a way to deprecate struct members next.
2011-12-03de-duplicate dominant axis calculation, exact same checks were in 6 ↵Campbell Barton
different places. added function: axis_dominant_v3(...)
2011-11-28BLI_mempool_findelem() only worked when no elements were freed, use the ↵Campbell Barton
iterator for now.
2011-11-27mempool utility function to get the element at an index ↵Campbell Barton
BLI_mempool_findelem(), not used yet.
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-24(See http://codereview.appspot.com/5431064/ for review of patch)Konrad Kleine
I've written a convenient function that returns the sibling of a node in the red-black tree implementation originally implemented by Joshua Leung. I want to use this get_sibling() function in the future to implement the missing removal function of the red-black tree implementation. For now the get_sibling() function just simplifies the get_uncle() function. Just like the rest of the red-black tree implementation this diff is based on Wikipedia: http://en.wikipedia.org/wiki/Red%E2%80%93black_tree#Removal
2011-11-24Fix #29384: Mesh without polygons + Modifier crashes when switching to ↵Sergey Sharybin
sculpt mode There were some issues with PBVH which prevented working it for meshes without faces. Discussed with Brecht, for benefits of dynamic-topology-sculpting and so better to make PBVH survive such things. Added some extra NULL-pointer checks for this.
2011-11-24patch: [#29382] Arbitrary Length Array Function Additions and ModificationsCampbell Barton
from Andrew Hale (trumanblending), with some edits to use these in mathutils.Vector added. Added Functions: - dot_vn_vn - Dot product of two arrays - normalize_vn_vn - Normalize an array and store the result in a second array - normalize_vn - Normalize an array inplace Renamed Functions: Some functions have been renamed to make them consistent with the naming conventions used by fixed length array functions. - fill_vni to fill_vn_i - fill_vn to fill_vn_fl
2011-11-21fix [#29337] Duplicate long shapekey names crash BlenderCampbell Barton
- added BLI_strncat_utf8. - ensure resulting strings are valid utf8.
2011-11-20- pyapi mathutils.geometry.intersect_plane_planeCampbell Barton
- isect_plane_plane_v3 uses better method - minor refactor - arg name changes & some args as const.
2011-11-19replace fabs with fabsf where both input and output are floats.Campbell Barton
2011-11-17Fixed comment in BLI_dlrbTree_search_exactKonrad Kleine
2011-11-17BLI_mempool redefined causing compile time error, removing duplicate typedefAntony Riakiotakis
2011-11-16merge mempool changes from bmesh (adds mempool iterator).Campbell Barton
2011-11-16minor edits, move mempool stack vars into the nested scope when they aren't ↵Campbell Barton
likely to be used, also formatting edits (was quite un-blender like).
2011-11-15fix for own error, BLI_replace_extension would strip the filename if there ↵Campbell Barton
wasn't already an extension.