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
2015-01-20New hair editing feature "Shape Cut", for cutting hair based on a meshLukas Tönne
shape instead of a brush tool. The brush cutting tool for hair, while useful, is not very accurate and often requires rotating the model constantly to get the right trimming on every side. This makes adjustments to a hair shape a very tedious process. On the other hand, making proxy meshes for hair shapes is a common workflow. The new operator allows using such rough meshes as boundaries for hair. All hairs that are outside the shape mesh are removed, while those cutting it at some length are shortened accordingly. The operator can be accessed in the particle edit mode toolbar via the "Shape Cut" button. The "Shape Object" must be set first and stays selected as a tool setting for repeatedly applying the shape.
2015-01-16Fix compilation error with strict compiler rulesSergey Sharybin
2015-01-16Fix T43275: Crash on Render when using 'save buffer' and render layer name ↵Bastien Montagne
contains a '/' Added a new BLI_path_utils func, `BLI_filename_make_safe()`, which for now simply replaces unsafe chars for paths (like '\' or '/') by an underscore...
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2015-01-13Math Lib: improve area calculationCampbell Barton
- area_quad_v3 now works correctly with concave quads. - add area_squared_*** functions, to use when comparing to avoid a sqrt().
2015-01-12BLI linkstack macros: do not prepend the 'anti-namespace-collision' to var name.Bastien Montagne
Issue was, in case of using such stack within a structure, the '_' underscore would be added in front of struct variable (e.g. `my_struct.my_stack` would lead to (try to) using `_my_struct.my_var_pool` ...). Now underscore is appended to var names, ugly but working. Note did not touch to the alloca variants of those macros, since in this case enforcing a pure local use is best I think.
2015-01-10Fix building with very strict flags, use size_t rather than int for string ↵Bastien Montagne
length. Reported on bf-committers.
2015-01-10cleanup: style & warningsCampbell Barton
2015-01-09BLI_string: BLI_str_ends_with -> BLI_str_endswithCampbell Barton
Loosely following Python str convention.
2015-01-09BLI_math: add vector's dot_v3v3v3() func, for when you have three points ↵Bastien Montagne
instead of two vectors.
2015-01-09BLI_rand: add a function returning a random point whithin given 2D triangle.Bastien Montagne
Needed by transfer data.
2015-01-09BLI: add 'A*' (AStar) shortest path solver algorithm.Bastien Montagne
Needed for transfer data.
2015-01-09Gooseberry animation request: Paste flipped pose in actionAntony Riakiotakis
and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now
2015-01-06cleanup: warningsCampbell Barton
2015-01-06PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RETCampbell Barton
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator.
2015-01-04Partial fix for T43113: Filebrowser: Empty folders do not contain go back arrow.Bastien Montagne
Do not allow going into un-readable directories at all. Note we might want to reflect that 'state' in UI for users too, but that will be for later. Also, not quite sure this fix the windows case, will have to start my VM... :/
2015-01-03Cleanup: rename 'filelist' BLI funcs to consistent naming.Bastien Montagne
Also, add an optional callback to `BLI_filelist_free()` to allow freein void poin if needed (consistency with `BLI_filelist_duplicate()`...).
2015-01-03Refactor 'fit in camera view' code, and expose it to RNA.Bastien Montagne
This changes BKE's fitting code to use `BKE_camera_params_compute_viewplane` instead of `BKE_camera_view_frame`. This allows that code to work with orthographic projection too. Also, two funcs were added to rna's Object, to resp. get the projection matrix of that object (mostly useful for cameras and lamps objects), and return position this object should be to see all (to fit) a given set of points. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D961
2015-01-03Add some BLI helpers needed by asset branch.Bastien Montagne
`BLI_strncpy_ensure_pad()` is also useful with current master code. The two others (`BLI_strcmp_ignore_pad()` and `BLI_filelist_duplicate()`) are only used in asset branch currently, but think they could be useful in other places too, and simplifies handling of asset branch & future patch review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D965
2015-01-02cleanup: styleCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-28Fix buffer overrun calculating unique namesCampbell Barton
2014-12-28BLI_string_utf8: add BLI_strncpy_utf8_rlenCampbell Barton
2014-12-27Fix T43034: beautify-fill leaves zero area tri'sCampbell Barton
2014-12-26optimize interp_weights_poly_v2, v3Campbell Barton
use line_point_factor instead of length between vertices.
2014-12-26optimize interp_weights_poly_v2, v3Campbell Barton
halve sqrtf calls per per polygon corner.
2014-12-26cleanup: use cross_tri_v2 when area isn't needed.Campbell Barton
2014-12-22Fix T42966: Py_Initialize: Unable to get the locale encodingSergey Sharybin
This only happened for SCons builds and caused by pure human stupidnes.
2014-12-18cleanup: use const for smallhash & minor editsCampbell Barton
2014-12-17Fix triangulating concave quadsCampbell Barton
Resulting triangles could be pointing in opposing directions.
2014-12-17Docs: comments (hash table & beauty fill)Campbell Barton
2014-12-10Fixes for compilation with msvcSergey Sharybin
MSVC doesn't like caling macro argument f when using float values in the macro, it simply replaces the f in the float value with the argument.. CMake compilation still fails because of 77785ce70807, numpy is never getting unpacked.
2014-12-09Smallhash: add support for iterating value pointersCampbell Barton
also add reinsert function
2014-12-09Fix T42488: Knife (selected_only + occlude) failedCampbell Barton
2014-12-09Fix T42630: Triangulate returns invalid face-mapCampbell Barton
Triangulate with beautify caused a bug when there were existing edges could make the bmesh-operator return an invalid face-map. Now the beauty is calculated on the 2d-tri's resulting from polyfill, its simpler and faster.
2014-12-09Cleanup: remove scanfill define for polyfill codeCampbell Barton
also rename vars which were previously used for scanfill.
2014-12-09Add edgehash remove, clear functions, Heap clearCampbell Barton
Edgehash was missing removal functions (remove, popkey, clear), since it wasn't needed so far, but is based on same code as ghash which has them. also add heap clear() method so we can reuse heaps. (needed for upcoming fix).
2014-12-09Cleanup: simplify heap popminCampbell Barton
2014-12-09Cleanup: remove unused pointer in HeapCampbell Barton
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-12-07Correct defines for binrelocCampbell Barton
After recent moving path functions to appdir.c patch T42826: by ldo (Lawrence D'Oliveiro)
2014-12-06CMake: remove redundant include dirCampbell Barton
2014-12-02Followup to previous linked list commitSergey Sharybin
Windows doesn't have __func__ and utildefines was never included.
2014-12-02Use atomic operations in task poolSergey Sharybin
This ensures proper values of currently running tasks in the pool (previously difference between mutex locks when acquiring new job and releasing it might in theory give wrong values).
2014-12-02Use more unique allocation strings for new links in the listSergey Sharybin
2014-12-01Python: add 'render_write' callbackCampbell Barton
This is useful for addons which intend to write data next to the rendered image/movie, but not for preview renders.
2014-12-01Cleanup: hopefully last int->bool one in this area!Bastien Montagne
2014-12-01Fix T42588: Absolute paths not cleaned on win32Campbell Barton
Making paths absolute would leave in "\..\" part on windows.
2014-11-30Cleanup: warnings & spaceCampbell Barton
2014-11-29Cleanup: use const, avoid float -> double in matrix invertCampbell Barton