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
2016-12-05Depsgraph: avoid more transitive relations for rigid body simulationSergey Sharybin
2016-12-05Depsgraph: Rigid body simulation doesn't need explicit time relationSergey Sharybin
It'll be dependent on time via Time Source -> Rebuild RB World chain.
2016-12-05Depsgraph: Avoid transitive relation from local transform to finalSergey Sharybin
There is always an uber eval node on the way. so we can avoid creating some relations here in order to speed up both construction time and evaluation.
2016-12-05Fix depsgraph: hair collision is actually enabled, so add the relations.Alexander Gavrilov
2016-12-05Fix compilation error on recent Debian desktopSergey Sharybin
Something funny happened here, there were missing symbols from png library to math functions.
2016-12-04Fix T50141: Nabla zero division on texture force fieldLuca Rood
This sets forces to zero, when Nabla is zero and a grayscale texture is used or texture mode is Gradient or Curl. Nabla equal to zero was causing a zero division, and forces ended up being set to `nan`. Reviewed By: mont29 Differential Revision: http://developer.blender.org/D2393
2016-12-04CMake: disable QuickTime with macOS SDK 10.12+, no longer supported by Apple.Brecht Van Lommel
2016-12-04Fix macOS 10.9 build when using OIIO without FFmpeg.Brecht Van Lommel
2016-12-04Docs: Show 'Other Options' last in --helpCampbell Barton
Own error when changing order, moving experimental features last made some sense, but causes them to be listed twice. Reorder and comment to avoid it happening again.
2016-12-04Cleanup: simplify bitmap line drawingCampbell Barton
- Expand overly dense & confusing delta assignments. - Replace bit shift with multiply. Also link to 'clipped' version of this function which may be useful to add later.
2016-12-04[msvc] Changes for new oiio/ffmpeg versions.lazydodo
2016-12-03CMake: update for macOS 10.9 libs with ffmpeg 3.2.1 and webp support.Brecht Van Lommel
2016-12-03Fix macOS build with openimageio 1.7.8 and openexr.Brecht Van Lommel
These macros conflict and are no longer needed with C99 or C++ anyway.
2016-12-03Cycles: Refactor Progress system to provide better estimatesLukas Stockner
The Progress system in Cycles had two limitations so far: - It just counted tiles, but ignored their size. For example, when rendering a 600x500 image with 512x512 tiles, the right 88x500 tile would count for 50% of the progress, although it only covers 15% of the image. - Scene update time was incorrectly counted as rendering time - therefore, the remaining time started very long and gradually decreased. This patch fixes both problems: First of all, the Progress now has a function to ignore time spans, and that is used to ignore scene update time. The larger change is the tile size: Instead of counting samples per tile, so that the final value is num_samples*num_tiles, the code now counts every sample for every pixel, so that the final value is num_samples*num_pixels. Along with that, some unused variables were removed from the Progress and Session classes. Reviewers: brecht, sergey, #cycles Subscribers: brecht, candreacchio, sergey Differential Revision: https://developer.blender.org/D2214
2016-12-02OCIO: Implement exposure/gamma for fallback implementationSergey Sharybin
Quite handy for debugging. Unfortunately, this doesn't support viewport tweaks yet since those require GLSL for colorspace conversion. Maybe this will be implemented as well one day in the future..
2016-12-02Cycles: Implement AVX2 path for curve intersection functionsSergey Sharybin
Gives little performance improvement on Linux and gives up to 2% speedup on koro.blend on Windows. Inspired by Maxym Dmytrychenko, thanks!
2016-12-02Cycles: Add AVX intrinsics helpersSergey Sharybin
They are defined for MSVC but seems to be missing in GCC and CLang-3.8. Maybe some further tweaks to policy when to define those functions is needed, but should be fine for now.
2016-12-02Fix T50062: Mask - Clicking in ActivePoint Parent makes Blender crash.Bastien Montagne
Mask primitive adding code was not initializing correctly id_type of points' parents.
2016-12-02Cycles: Disable AVX2 crash workaroundsSergey Sharybin
I can no longer reproduce crash with neither of the files where the crash was originally visible. This is something where other changes (light threshold, sampling) had an effect and made code to work as it is supposed to. Could have been optimizator issue or something like that. Let's see if we hit same issue again.
2016-12-02Fix (unreported) memleak in ImBuf mipmap code in some cases.Bastien Montagne
`IMB_remakemipmap` may 'shrink' the mipmap list without actually freeing anything, so we need to check all possible levels in `imb_freemipmapImBuf` to avoid memory leaks, not only those currently used.
2016-12-01install_deps.sh: Update official (default) lib versions of ↵Bastien Montagne
py/oiio/osl/osd/ffmpeg.
2016-12-01Fix (unreported) looptri array not being recalculated in ccgDM and emDMLuca Rood
In ccgDM and emDM, looptri array recalculation was being handled directly by `*DM_getLoopTriArray` (`getLoopTriArray` callback), while `*DM_recalcLoopTri` (`recalcLoopTri` callback) was doing nothing. This results in the array not being recalculated when other functions that depend on the array data called the recalc function. This moves all the recalculation code to `*DM_recalcLoopTri` and makes `*DM_getLoopTriArray` call that. This commit also makes a minor change to the `getNumLoopTri` function, so that it returns the correct number without having to recalculate the looptri array. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2375
2016-12-01GPencil: Include various new operators into the 3D View menus tooJoshua Leung
Quite a few of the operators added for 2.78 were not included in the menus
2016-12-01GPencil Sculpt: Numpad keys now work when doing sculpt sessions (i.e. when ↵Joshua Leung
the operator is run using wait_for_input=True) This just brings it in line with the drawing operator
2016-12-01Compiler warning fixJoshua Leung
2016-12-01Buildbot: Disable glibc211 slavesSergey Sharybin
2016-12-01Fix T50116: Light threshold broke branched path tracerSergey Sharybin
In fact, the issue was caused by light threshold being too high for certain scenes. Lowered it down to 0.01.
2016-12-01Cycles: Fix correlation issues in certain casesSergey Sharybin
There were two cases where correlation issues were obvious: - File from T38710 was giving issues in 2.78a again - File from T50116 was having totally different shadow between sample 1 and sample 32. Use some more simplified version of CMJ hash which seems to give nice randomized value which solves the correlation. This commit will break all unit test files, but it's a bug fix so perhaps OK to commit this. This also fixes T41143: Sobol gives nonuniform noise Proper science paper about hash function is coming. Reviewers: brecht Reviewed By: brecht Subscribers: lukasstockner97 Differential Revision: https://developer.blender.org/D2385
2016-12-01Fix T50075: Assert during debug render of hair_geom_transmission.blendSergey Sharybin
2016-12-01Alembic: quiet compilation warnings on Windows.Kévin Dietrich
Most of them are harmless implicit conversions (e.g. Alembic deals with doubles for storing time information when Blender uses both ints and floats/doubles) or class/struct mismatch on forward declarations.
2016-12-01Fix T46795 : Reset GWLP_USERDATA to NULL at window destruction so any future ↵lazydodo
events will not try to reference this deleted class.
2016-11-30Cleanup id->newid usage, initial work.Bastien Montagne
This aims at always ensuring that ID.newid (and relevant LIB_TAG_NEW) stay in clean (i.e. cleared) state by default. To achieve this, instead of clearing after all id copy call (would be horribly noisy, and bad for performances), we try to completely remove the setting of id->newid by default when copying a new ID. This implies that areas actually needing that info (mainly, object editing area (make single user...) and make local area) have to ensure they set it themselves as needed. This is far from simple change, many complex code paths to consider, so will need some serious testing. :/
2016-11-30OCIO: Cleanup styleSergey Sharybin
Was a ground work for some more improvements here, but got dragged to some other studio maintenance job here. The plan would be to enable exposure/gamma control for fallback mode which will definitely be really handy for development and might be handy for cases when OCIO config can not be read.
2016-11-30Alembic: slight cleanup, reorder mesh code a bit.Kévin Dietrich
2016-11-30Fix T49813: crash after changing Alembic cache topology.Kévin Dietrich
Crash is due by mismatching loops and faces counts between the Alembic data and the Blender derivedmesh which does not appear so straightforward to fix (the crash happens deep in the derivedmesh code). So for now, try to detect if the topology has changed and if so, both only read vertices (vertex colors and UVs won't be read, as tied to face loops) and add a warning message in the modifier's UI to let the user know.
2016-11-30UI: Remove 'x' icon from paths and listsJulian Eisel
2016-11-29Fix compilation error with latest OIIO 1.7.8Sergey Sharybin
There are some changes in OIIO includes so now need to do some things differently.
2016-11-29Fix T50094: Crash when viewport rendering point density textureSergey Sharybin
The idea is simple: cache PD resolution from cache_point_density() RNA function because that one is supposed to be called while database is locked for original synchronization. Ideally we would also pass array size to the sampling function, but it turned out to be quite problematic because API only accepts int type and passing size_t might cause some weird behavior.
2016-11-29Cycles: Pass extra array size argument to builtin image pixels functionsSergey Sharybin
This is a way to avoid possible memory corruption when render threads works in parallel with UI thread. Not guarantees complete safe, but makes things easier to check anyway.
2016-11-29Math lib: Fix use function of wrong dimensionSergey Sharybin
Seems to be a typo in recent commit e1e49fd.
2016-11-29Fix T50029: BVHTree.FromPolygons memory leakCampbell Barton
2016-11-29[msvc] remove /opt all together and revert to the default behavior /opt:ref ↵lazydodo
for release builds, /opt:noref for debug builds.
2016-11-29Comment: explain viewport & render pixel-sizeCampbell Barton
It wasn't all that clear why both pixel-sizes are needed.
2016-11-28[msvc] change linker options from /opt:noref to /opt:ref, saves about 20% ↵lazydodo
off the executable size Nobody appears to know why this option was on (and just on for just x64 at that)
2016-11-28UI: Add 'x' icon to text buttons to clear contentJulian Eisel
This is useful e.g. for search buttons to quickly clear the filter string. We might want to make this optional for python scripts.
2016-11-28[msvc2017] remove eigen vector workaround for msvc2017.lazydodo
2016-11-28Fix T50065: Audaspace: some values of the lower limit of Factory.limit ↵Joerg Mueller
causes the factory not to play Backport of upstream audaspace bugfix (ddd9a4d).
2016-11-28Remove sensor-size to int conversionCampbell Barton
Currently harmless since the value is always set at its default (32). Even so, it's confusing since its used with floats after.
2016-11-27A number of other minor RNA fixes and precautionary safeguards against ↵Joshua Leung
further crashes here
2016-11-27GPencil RNA API: "set_active" option for layer.new() and palette.new() is ↵Joshua Leung
now true/enabled by default To bring the API more into line with the UI (and the general expected behaviour of Blender when it comes to adding stuff), newly created layers and palettes will be made the active ones by default. It's possible to override this behaviour still (e.g. in cases where you're auto-generating a large number of them), but otherwise, this change will help prevent errors like T50123.