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-09-24Quiet warningCampbell Barton
2015-09-22Cleanup: indentationCampbell Barton
2015-09-18Use squared length where possibleCampbell Barton
2015-09-16Fix T45389 Windows thumbnails not working.Antony Riakiotakis
Also they did not work when using blender -R from command line in 64-bit systems. Issue was checking for wrong define which would cause code to detect if the blender executable functions under 32 bit emulation. For 64bit executables this is false, leading blender to believe we are operating under a 32bit system, and registration would try to register the 32bit thumbnailer. This 32 bit dll is (correctly) missing for local installs and from the new installer, thus no thumbnails.
2015-09-13Cleanup: spellingCampbell Barton
2015-09-09Fix T46056: User Preferences-> install from File freezes Blender.Bastien Montagne
Own stupid error in recent fix for buffer overflow in `BLI_testextensie_glob()`... Also found & fixed another potential buffer overflow in this func.
2015-09-07Fix beautiful textbook case of string overflow in `BLI_testextensie_glob`...Bastien Montagne
2015-09-05Math Lib: isect_plane_*_v3 avoid negationCampbell Barton
Unmeasurable speedup for plane intersection.
2015-09-05Math Lib: simplify isect_plane_plane_v3Campbell Barton
Unlike the 3 plane method, the 2 planes squared cross-product _is_ the determinant.
2015-09-04Fix for isect_tri_tri_epsilon_v3 w/ small facesCampbell Barton
tris with ~1e-05 edge lengths would fail
2015-09-04Math Lib: Use plane intersect from graphics-gemsCampbell Barton
2015-09-04Math Lib: avoid sqrt w/ triangle intersectionCampbell Barton
2015-09-04Correct own error in line_point_factorCampbell Barton
Passing zero epsilon allowed divide by zero.
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-03Small tri intersect fails when not normalizedCampbell Barton
Logic was ok, but would run into precision issues.
2015-08-31Revert fix for T45849 (part 2, tsk!)Campbell Barton
2015-08-31error in commentsCampbell Barton
2015-08-31Alternate fix for T45849: tri-tri intersect errorCampbell Barton
Project both triangles onto the same plane to simplify calculations.
2015-08-31Revert fix for T45849, alternate fix coming upCampbell Barton
epsilon check here didn't account for scale, causing T45919
2015-08-31Math Lib: Add closest_to_plane helper functionsCampbell Barton
- closest_to_plane3 (for float3 planes) - closest_to_plane*_normalized_v3 (for unit length planes) Use when the plane is known to be unit length
2015-08-25Fix T45853: Edge-slide UV-correct jitterCampbell Barton
2015-08-25Cleanup: styleCampbell Barton
2015-08-24BLI_fileops: Some fixes and cleanup.Bastien Montagne
* Fix BLI_file_touch, used to add one dummy byte ((unsigned char)EOF) to empty files! * Get rid of static global temp string in WIN32 area (very bad, and useless!). * Get rid of paranoid NULL checks in WIN32's BLI_gzopen(). * Add non-relative filename asserts to WIN32 file operations too. * ifdef-out BLI_move and BLI_create_symlink, unused (and the later is not even implemented for windows). Partly based on patch and points raised by Jason Wilkins (jwilkins) in T32870, thanks!
2015-08-24Fix T45884: Crash copying keyframesCampbell Barton
BLI_str_quoted_substrN could crash if the prefix wasn't found
2015-08-23Math Lib: Use same logic for 2d/3d functionsCampbell Barton
dist_squared_to_line_v2, dist_to_line_v2
2015-08-23Math Lib: minor optimization interp_weights_polyCampbell Barton
2015-08-22Cleanup: spellingCampbell Barton
2015-08-22Use epsilon for line-intersect collinear testCampbell Barton
Also remove 2x vector normalize since other parts of the code already check this. Fixes T45849
2015-08-21BVH-raycast: Use watertight intersectionsCampbell Barton
By default watertight intersections are used, For callbacks where its not needed, BLI_bvhtree_ray_cast_ex can be called without the BVH_RAYCAST_WATERTIGHT flag. Fixes T45286
2015-08-21Math Lib: watertight intersection functionCampbell Barton
From Cycles with some very minor differences.
2015-08-21Math Lib: Add float/int conversion functionsCampbell Barton
2015-08-21BVH-raycast: ensure input direction is unit-lengthCampbell Barton
This was already the case for most users of ray-cast. Doing this avoids 2x normalize calls per ray-cast in many places.
2015-08-20Resolve MSVC/OpenMP compat issueCampbell Barton
2015-08-20Hopefully fix mingw building after filebrowser rewrite.Bastien Montagne
The mystery here is, how MSVC could not break on such error? :(
2015-08-20BVH-overlap: add callback to BLI_bvhtree_overlapCampbell Barton
The callback checks if 2 nodes intersect (not just their AABB). Advantages: - theres no need to allocate overlaps which are later ignored. - expensive intersection tests will run multi-threaded. Currently only used for Python API.
2015-08-20BVH-overlap: use stack for overlap data arrayCampbell Barton
This is known to be <32, so no need to malloc every item.
2015-08-20Cleanup: de-duplicate ray-cast initializationCampbell Barton
2015-08-20Cleanup: comment out isect_ray_tri_threshold_v3Campbell Barton
Also define epsilon var for ray-cast functions.
2015-08-20Cleanup: remove unused BVH_ONQUAD flagCampbell Barton
2015-08-19Final 'FileBrowser First Stage' merge.Bastien Montagne
It basically rewrites most of filelist.c, with some more limited changes in other areas of filebrowser. From user perspective, it: * Removes some info in 'long' drawing mode (owner, permissions) - OS-specific data that do not really matter in Blender! * Makes short/long display 'fixed' size (among four choices, like thumbnails mode). * Allows to list several layers of dirtree at once, in a flat way (inside .blend files and/or real directories). * Consequently, adds datablocks types filtering. * Uses way less RAM when listing big directories, especially in thumbnail mode (we are talking of several hundred of MiB spared). * Generates thumbnails way faster. From code perspective, it: * Is ready for asset engine needs (on data structure level in filebrowser's listing). * Simplifies and makes 'generic' file listing much lighter. * Separates file listing in three different aspects: ** 'generic' filelisting (in BLI), which becomes a shallow wrapper around stat struct. ** 'filebrowser drawing' filelisting, which only contains current visible subset of the whole list (sliding window), with extra drawing data (strings for size, date/time, preview, etc.). ** 'asset-ready' filelisting, which is used for operations common to 'basic' filehandling and future asset-related one. * Uses uuid's to handle file selection/state in the browser, instead of using flags in filelisting items. * Uses much lighter BLI_task handling for previews, instead of heavy 'job' system (using the new 'notifier' timer to handle UI refresh, in similar way to jobs). * Moves .blend datablocks preview handling to IMB_thumbnail (necessary to avoid storing all datablock previews at once, and gives better consistency and performances too). Revision: https://developer.blender.org/D1316 Thanks to Campbell & Sergey for the reviews. :)
2015-08-19Fix T45706: Axis aligned tri-tri intersectionCampbell Barton
2015-08-18UI: avoid subtracting shadow from winrctCampbell Barton
For popup interactions we need to know if events are in the region or not, however subtracting the shadow isn't so reliable, since its not always added to all sides of a popup. Instead, get the winrct value from a popup using the block rect, otherwise the winrct as-is.
2015-08-10BLI_threads: add an helper to wait on a condition using a global mutex.Bastien Montagne
Also, factorized internal code to get global mutex from its ID.
2015-08-04Docs: comment functions in BLI & Py APICampbell Barton
2015-08-02parenthisize macro args to avoid errorsCampbell Barton
2015-07-31Docs: doxy correctionsCampbell Barton
2015-07-29Math Lib: add isect_tri_tri_epsilon_v3 functionCampbell Barton
2015-07-25Cleanup: warnings, styleCampbell Barton
2015-07-24parenthisize macro args to avoid errorsCampbell Barton
2015-07-21Math Lib: use vector funcs for isect_line_line_v2_pointCampbell Barton