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-06-23Fix T45123: 2D line intersection failsCampbell Barton
Co-linear lines could detect as intersecting even if they weren't overlapping.
2015-06-23Cleanup: use 2d math funcs for line intersectionCampbell Barton
2015-06-20Threads: Cache result of syscall when querying number of system threadsSergey Sharybin
Number of system threads is quite difficult to change without need of blender restart, so we can cache result of the systcalls (which are not really cheap) in order to be able to call BLI_system_thread_count() without worrying of performance issues in that function. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1342
2015-06-20Cleanup: checks for unsupported MSVC versionsCampbell Barton
2015-06-19BLI_threads Queue: add `BLI_thread_queue_is_empty()`.Bastien Montagne
Avoids counting the whole queue when we only want to check whether it is empty or not!
2015-06-19BLI_stack: BLI_stack_pop_n_reverseCampbell Barton
Useful to fill an array in the order its added.
2015-06-19BLI_stack: function commentsCampbell Barton
2015-06-18Assert when relative paths are passed to IO opsCampbell Barton
This is typically an error (& hangs a few seconds on win32), best catch early.
2015-06-17Cleanup: styleCampbell Barton
2015-06-16Disable assert for polyfillCampbell Barton
Would fail on some zero-area ngons.
2015-06-16Fix T44701: Buffer overrun reading directoriesCampbell Barton
2015-06-16Win32: make DIR struct opaqueCampbell Barton
2015-06-15Cleanup: quiet assert for zero-length axisCampbell Barton
2015-06-15Cleanup: quiet warningCampbell Barton
2015-06-13Compilation error fixes for older GCC/CLang compilersSergey Sharybin
Avoid data type re-declaration, it's not really working on current FreeBSD's 9 system and CLang-3.0 from OSX. This is not a good idea to do such sort of copy-paste anyway. If someone knows better way of dealing with this please go ahead and correct the code :)
2015-06-12CMake: remove commentCampbell Barton
2015-06-12BLI_linklist, avoid full list search for appendCampbell Barton
For areas that require append, store the last node, Previous behavior would too easily hide poorly performing code. Also avoid (prepend, reverse) where possible.
2015-06-11File Browser Arrow Keys NavigationJulian Eisel
Adds support for selecting/deselecting files in File Browser using the arrow keys. All directions (up, down, left, right) are possible. When to Select, When to Deselect? Standard behaviour is selecting, however if we move into a block of already selected files (meaning 2+ files are selected) we start deselecting Possible Selection Methods Simple selection (arrow-key): All other files are deselected Expand selection (Shift+arrow key): Add to/remove from existing selection ill-Expand selection (Ctrl+Shift+arrow key): Add to/remove from existing selection and fill everything in-between From which file do we start navigating? From each available selection method (Mouse-, Walk-, All-, Border Select), we use the last selected file. If there's no selection at all we use the first (down/right arrow) or last (up/left arrow) file. (Ideally, the view would automatically be set to the new selection, but this behaviour overlaps with an other patch I've been working on, so prefer to do that separately) (Also tweaks color for highlighted file for better feedback) D1297, Review done by @campbellbarton, thx a lot :)
2015-06-11Replace linked-list insert-sort with merge-sortCampbell Barton
Original code from eglib, modified for reuse with multiple linked-list implementations. Adds sort functions: BLI_linklist_sort, BLI_linklist_sort_r
2015-06-11BLI_listbase: match arg order with BLI_qsort_rCampbell Barton
2015-06-06CleanupCampbell Barton
2015-06-05Check ftell return valuesCampbell Barton
2015-06-04New "use placeholders" feature of the sequencer did not detect correctAntony Riakiotakis
filenames. Added BLI_path utility functions to decompose a path name and extract the frame number. It should be useful in autocollapse feature as well
2015-06-04Fix buffer overrun searching program path on win32Campbell Barton
2015-06-03BLI_stack, add clear function.Campbell Barton
2015-06-03Fix race conditionCampbell Barton
Exposed when checking on T44871
2015-06-02Simplify Win32 extension checkCampbell Barton
2015-05-23Cleanup: typosCampbell Barton
2015-05-23Quadric: add common why doubles are used.Campbell Barton
2015-05-23Math Lib: update API usage infoCampbell Barton
2015-05-21Fix T44780: Decimate planar creates concave edgesCampbell Barton
Float precision was causing problems for decimate, small faces that create a nearly flat surface were detected as having no 'cost' to collapse.
2015-05-21Math Lib: double versions of vector funcsCampbell Barton
- add_vn_vn_d - add_vn_vnvn_d - mul_vn_db
2015-05-20BMesh: decimate wasn't using face/edge centersCampbell Barton
When calculating quadrics, using the first-vertex isn't correct.
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-18Correction to early output in the parallel range implementationSergey Sharybin
The used heuristic of checking the value prior to lock is not totally safe because assignment is not atomic and check might not give proper result.
2015-05-18Make switching to threaded malloc safe to be called from threadsSergey Sharybin
For a long time this function was only intended to be used from the main thread, but since out implementation of parallel range (which is currently only used by mesh deform modifier) we might want to switch to threaded alloc from object update thread. Now we're using spinlock around the check, which makes the code safe to be used from all over the place. We might consider using a bit of atomics operations magic there, but it's not so much important for now, this code is not used in the performance critical code path.
2015-05-17CMake: correct file listingCampbell Barton
2015-05-13Project Paint: resolve ugly bleed artifactsCampbell Barton
Use the bilinear reverse to find the pixel to bleed from. Was using pixel space which didn't work well.
2015-05-11GHash: use const keys when only used for lookupsCampbell Barton
2015-05-11GHash: Add BLI_ghash_ensure_p_ex to copy the keyCampbell Barton
Needed in cases where the memory from each key is owned by the GHash.
2015-05-05Prefer name 'program' over 'binary'Campbell Barton
binary-search is confusing!
2015-05-05BLI_path: add PATH search utility functionsCampbell Barton
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-05-04Fix T44592: Zero scale on an axis, zeros allCampbell Barton
2015-05-04Fixed comment.Lukas Tönne
2015-05-01Fix T43711: dual quaternion deform bug with shearing in deform matrix.Brecht Van Lommel
This also increases the tolerances in is_orthogonal / is_orthonormal functions, which were much too low for practical purposes.
2015-04-29Add macro BLI_SMALLSTACK_AS_TABLECampbell Barton
Use for edge-split (a little less overhead compare to popping each item).
2015-04-28disable ARRAY_SIZE fixed length check for ClangCampbell Barton
2015-04-28BLI_utildefines: add MEMSET_STRUCT_OFS macroCampbell Barton
2015-04-27Math Lib: add range_vn_uCampbell Barton