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
path: root/extern
AgeCommit message (Collapse)Author
2016-05-08A "better" (?) fix for msvc silliness - used in one other place in all of ↵Joshua Leung
Blender
2016-05-08Fix compiling on MSVC - M_PI undefinedJoshua Leung
2016-05-07Clamp dot-product to avoid precision errorCampbell Barton
Would only happen in degenerate cases.
2016-05-07Cleanup: whicespaceCampbell Barton
2016-05-07Curve Fitting: better fallback when least-square solution failsCampbell Barton
Take curvature into account when calculating handle length. Gives significantly better results for curve dissolve and 10-20% more efficient freehand drawing.
2016-05-07Fix error copying cubic dataCampbell Barton
2016-05-05Curve Fitting: avoid clamping fallback handles.Campbell Barton
2016-05-02Correct header (can't use uint here)Campbell Barton
2016-05-02Curve Fitting: expose function for fitting a single curveCampbell Barton
2016-04-30Slight adjustment to curve fitting tangentsCampbell Barton
Don't let the point spacing give bias to a side.
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-04-20Update bundled openjpeg from 1.5.0 to 1.5.2Sergey Sharybin
Solves following issues: - Quite reasonable amount of paranoid warnings were solved by an upstream - Upstream seems to have all fixes needed for FreeBSD and OSX already - Brings all fixes and such from upstream
2016-04-20Cleanup: rename cos-angle to match BLI_mathCampbell Barton
2016-04-15New freehand curve drawing toolCampbell Barton
- Access with Shift-LMB or from the 'Create' toolbar tab. - Uses curve fitting for bezier curves, with error and corner angle options. - Optional tablet pressure to curve radius mapping. - Depth can use the cursor or optionally draw onto the surface, for the entire stroke or using the stroke start. - Stroke plane can optionally be perpendicular to, or aligned to the surface normal. - Optional radius tapering and for start/end points. - Supports operator redo and calling from Python.
2016-04-15Add lib for n-dimensional cubic curve fittingCampbell Barton
This will be used for calculating bezier curves from freehand drawing, may be used for other areas too. Original code from GraphicsGems, 1990 (FitCurve.c), with updates from OpenToonz, under 3 clause BSD license. with own minor modifications for integration with Blender: - support adding extra custom-data. - improved handle clamping.
2016-04-12Remove any wrangler utility scriptsSergey Sharybin
2016-04-12CMake: ignore headerCampbell Barton
2016-04-12CMake: Partially revert recent missing headers commitSergey Sharybin
The header which was put to the CMake project is not by any means used during compilation, it is only used when manually updating CUDA wrangler from CUDA headers.
2016-04-12CMake: add missing headersCampbell Barton
2016-04-05Update Recast version to 1.5.0Reinier de Blois
The version of Recast that Blender ships with is from 2009. This patch updates the Recast version to the latest version, 1.5.0. The Detour version remains untouched. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1747
2016-03-27Fix T47758: rigidbody bug with constraint breaking and disable collisions.Brecht Van Lommel
This is a regression in Bullet, reverted the problematic change for now with a custom patch.
2016-02-21Attempt to fix GLog compilaton on FreeBSDSergey Sharybin
Copied some config variables from an original config file.
2016-02-20Carve: Silence 32/64 bit shit warningSergey Sharybin
There's no need to mix ints and size_t here at all because all the values fits into integer. It's unlikely we'll be re-bundling Carve, so didn't bother with the patchset.
2016-02-20Fix some warnings in GLog/GFlags when buildingwith MSVC2013Sergey Sharybin
Those warnings were only addressed for MSVC2015 so far.
2016-02-17Fix/workaround static object initialization in gflagsSergey Sharybin
2016-02-03Imbuf: remove libredcodeCampbell Barton
D1751, remove this library since its quite a specific - only supports an older version of this codec. Also ffmpeg has added support for recent versions of the codec.
2016-02-02Fix build error on OS X in previous commit, this define should stay.Brecht Van Lommel
2016-02-02Fix T47293: game engine crashes since Bullet upgrade.Brecht Van Lommel
This restores a modification that was there before.
2016-01-26Upgrade Bullet to version 2.83.Brecht Van Lommel
I tried to carefully preserve all patches since the last upgrade. Improves T47195, cloth collision detection bug. Differential Revision: https://developer.blender.org/D1739
2016-01-22Hacky compile fix for mingw compile issue reported by bat3a on bf-committersJoshua Leung
I've been using this fix in another branch locally, so it seems to work fine. The other #ifdef checks should be checked on too, as __MINGW32__ and __MINGW64__ do NOT seem to be defined when compiling that file
2016-01-20Carve: Remove empty implementation filesSergey Sharybin
2016-01-14CMake: De-duplicate checks around unordered maps and shared pointerSergey Sharybin
Previously several areas were calling TEST_SHARED_PTR_SUPPORT and TEST_UNORDERED_MAP_SUPPORT which isn't that bad on it's own but was causing some quite verbose output with same information line printed multiple times. additionally, what's more worse, define flags for Ceres were duplicated in main CMakeLists and Ceres's CMakeLists. Now we've got a single place where checks for those classes are happening and other areas are simply checking for variables set by those check macros, keeping CMake output clean and nice.
2016-01-14Cycles: Add option to directly link against CUDA librariesSergey Sharybin
The main purpose of such linking is to make Blender compatible with NVidia's debuggers and profilers which are doing some LD_PRELOAD magic to intercept some function calls. Such magic conflicts with our CUDA wrangler magic and causes segmentation faults. The option is disabled by default, so there's no affect on any of artists. In order to make Blender linked directly against CUDA library use the WITH_CUDA_DYNLOAD CMake option (it's marked as advanced).
2016-01-09MSVC 2015 do not redefine snprintfMartijn Berger
2016-01-04GTest: Fix some strict compiler warningsSergey Sharybin
Those changes are to be backported to the upstream actually, for until then it should be good enough to have it locally.
2016-01-04Move Libmv from extern/ to intern/Sergey Sharybin
Logically it is intern library since being mainly developed by 1.5 blender guys.
2016-01-04Move Ceres to extern/Sergey Sharybin
Even tho it's currently only used by Libmv we might use it for something else in the future. Plus, it's actually where it logically belongs to.
2016-01-04Move GLog/GFlags to extern/Sergey Sharybin
This is where the libraries belongs to actually, they are not only used by Libmv now, but also by tests and Cycles.
2016-01-04Re-organize structure of GLog/GFlags CMake librariesSergey Sharybin
The idea is to split them into two separate targets and have dedicated include directories list for each of them in order to avoid some annoying include header modifications in comparison with upstream. Reviewers: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1706
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2016-01-02Fix compilation error on WindowsSergey Sharybin
2015-12-31Libmv: Yet again update to the latest versionSergey Sharybin
Again brings some fixes for MSVC-2015 and keeps it easier to backport the fixes into upstream.
2015-12-31Libmv: Update to latest upstream versionSergey Sharybin
Brings some extra fixes for MSVC-2015
2015-12-31Update CUDA wrangler to latest upstreamSergey Sharybin
Brings support of NVRTC bindings and also makes it easier to tweak libraries paths and use multiple alternative names for libraries.
2015-12-31MSVC 2015 fix: do not redefine snprintf, even MS is getting standards complientMartijn Berger
2015-12-30Fix OS X (with 10.11 SDK) glog build errors due to using deprecated code.Brecht Van Lommel
Some values are now restored to the ones from before the upgrade today.
2015-12-30GLog: Solve some compilation warningsSergey Sharybin
Those are actually sent to a pull-request, see https://github.com/google/glog/pull/81
2015-12-30Libmv: Update to the latest upstream versionSergey Sharybin
Main reason is to bring up new Glog which should have MSVC 2015 support.
2015-12-29Make cycles compile with MSVC 2015Martijn Berger
2015-12-28Ceres: Remove suitesparse related filesSergey Sharybin
It's quite small chance we'll be supporting suitesparse for Blender due to all the complexity of 3rd party libraries, so removing implementation files which are only needed when suitesparse is enabled.