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-02-15Cleanup: reorganize BKE ID tagging functions.Bastien Montagne
BKE_main_id_tag_/BKE_main_id_flag_ were horrible naming now that we split those into flags (for presistent one) and tags (for runtime ones). Got rid of previous 'tag_' functions behavior (those who were dedicated shortcuts to set/clear LIB_TAG_DOIT), so now '_tag_' functions affect tags, and '_flag_' functions affect flags.
2016-02-15Cleanup: rna_main_api: use macro to define tag() and is_updated rna functions.Bastien Montagne
2016-02-15Buildbot: Support CUDA kernels cross-compile and enable it for 32bit platformsSergey Sharybin
2016-02-15Cycles: Tweaks for 32bit CUDA binariesSergey Sharybin
Tweak some inline policies. Not totally crazy yet, and in fact we now have one less ifdef statement now.
2016-02-15Cycles: Use CUDA_64_BIT_DEVICE_CODE to detect which CUDA architecture to useSergey Sharybin
It is initialized based on size of pointer, which matches our previous behavior, but using it in Cycles side allows to cross-compile CUDA binaries.
2016-02-15Cycles: Make guarded allocator compatible with MSVC2015Sergey Sharybin
2016-02-15Fix white balance, was doing unnecessary linear conversionsCampbell Barton
This made byte & float images behave differently, where other modifiers remain the same. Also remove scene from the modifier (should have been passed as arg but no longer needed).
2016-02-15Compositor: Re-consider the way how track speed worksSergey Sharybin
Based on an user feedback, previous implementation with providing decoupled X and Y speeds didn't work in production at all: there is no way to combine this speeds to an usable vector. So now we're providing speed vector output instead, which provides speed in an exactly the way Vector Blur node expects it to be: first two components is a speed from the past, second two components defines speed to the future. Old behavior can be achieved by RGBA separating the speed output and using first tow components. Now this speed gives quite the same results as a speed pass, with the only difference that track position speed uses "shutter" of 1 while pass uses shutter of 0.5 (and there's no way to affect on that?).
2016-02-15Cycles: Fix guarded allocator issues on WindowsSergey Sharybin
The issue was caused by static vectors allocating some internal data using rebound element allocator for them, which was causing access to a non-initialized statistics objects and was failing a lot when switching Blender to a fully guarded allocation. Additionally, we were not able to free that internal memory before Blender exits, which was causing false-positive memory leak prints. Now we're not using GuardedAllocator for those proxy containers. Ideally this should be done as a GuardedAllocator::rebind, but it didn't work for vector<bool> because it seems some internal parts are converting bool to char32_t, which either makes it so we can't use GuardedAllocator for those vectors or the compiler get's confused when we're trying explicitly allow GuardedAllocator for rebind<char32_t>. This with current approach we should be fine for the release.
2016-02-15Cleanup: rst styleCampbell Barton
2016-02-15Docs: update tip on using the systems PythonCampbell Barton
2016-02-15Fix for Python executable not being found on LinuxCampbell Barton
Python name could include ABI-flags after the version, since checking for all combinations of ABI flags can expand into many possibilities, take the executable name from the build system.
2016-02-15CMake: install python as an executableCampbell Barton
2016-02-15Uber-picky: Too small margin in tooltipJulian Eisel
Minor design detail, but kept bugging me :) Was removed in rBd57847ca5b9.
2016-02-14Cycles: Fix infinite recursion of md5 calculation on WindowsSergey Sharybin
Was caused by some safety things of making sure we've for NULL terminator for the buffer when doing mbs<->wcs conversion, but it turns out this simply confuses str::string and it can no longer have proper .size(). Let's assume behavior of string allocation is same all over the std, and we can avoid having that extra null-terminator allocated.
2016-02-14Fix T47405: subsurf triangulation was producing incorrect normals after last ↵Brecht Van Lommel
fix.
2016-02-14Tweak doc section about overriding context - point out context.copy() usage!Bastien Montagne
2016-02-14Docs: update doxy configCampbell Barton
2016-02-14Docs: disable sharing docs within a groupCampbell Barton
This made using groups apply docstrings to undocumented functions in the group (and give errors that the args didnt match).
2016-02-14Cleanup: bracesSergey Sharybin
2016-02-14Compositor: Cleanup, don't shortcut float valuesSergey Sharybin
Use 0.0f instead of 0.f and so on.
2016-02-14Fix T47405: subsurf inconsistent triangulation in OpenGL compared to applied ↵Brecht Van Lommel
modifier and render.
2016-02-14Fix T45606: cycles multires tangent space normal map bake issues.Brecht Van Lommel
2016-02-14Fix T47404: Bones get draw fat line in pose modeJulian Eisel
Removed this glLineWidth call in rBe8d7a0206e99, thought it wasn't needed. Really hope this was the last line width issue for now :/
2016-02-14Fix crash when cancelling cycles bake in some cases.Brecht Van Lommel
2016-02-14Fix cmd+z for undo not working when editing text objects on OS X.Brecht Van Lommel
2016-02-13Fix T47393: mouse wheel scroll no longer zooms with mighty mouse on OS X.Brecht Van Lommel
Hopefully this is the last fix, using the method explained here: https://forums.developer.apple.com/thread/31536
2016-02-13Cleanup: Move Cycles sky model data to util.Thomas Dinges
2016-02-13Cycles: Remove meaningless expressionSergey Sharybin
2016-02-13Cycles: Fix compilation error on WindowsSergey Sharybin
2016-02-13Cycles: Fixes for Burley BSSRDFSergey Sharybin
There are several fixes in here, which hopefully will make the shader working correct without too much magic in there. First of all, this commit brings BURLEY_TRUNCATE down from 30 to 16 which reduces noise a lot. It's still higher than original truncate from Brecht, but this reduces PDF value at a cutoff distance by an order of magnitude (now it's 0.008387, previously it was 0.063521 for the albedo of 0.8 and radius 1.0). This should converge to a proper result faster and don't have artifacts. This kind of reverts fix for T47356, but after additional thinking came to conclusion Burley is not being totally smooth, it is about giving less waxy results which it's kind of doing in the file. Second of all, this commit fixes burley_eval() to use normalized diffusion reflectance. This matches the way we calculate CDF and solves numeric instability close to 0, making PDF profile looking closer to other SSS profiles: https://developer.blender.org/F282355 https://developer.blender.org/F282356 https://developer.blender.org/F282357 Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1792
2016-02-13Cleanup: Remove some OIIO code for versions prior to 1.5.Thomas Dinges
2016-02-13Cycles: Fix crash caused by the guarded allocation commitSergey Sharybin
C++ requires specific alignment of the allocations which was not an issue when using GCC but uncovered issue when using Clang on OSX. Perhaps some versions of Clang might show errors on other platforms as well.
2016-02-13Docs: remove bmesh py api warningCampbell Barton
2016-02-13Sculpt: avoid double-hash for pbvh buildingCampbell Barton
Gives minor speedup entering sculpt mode and with undo.
2016-02-13Optimize sculpt undo, avoid redundant updatesCampbell Barton
On undo, sculpting regular meshes would update _all_ GPU VBO's. Avoiding the update gives noticeably faster undo. This is also a fix/workaround for strange behavior with NVidia's driver (T47232), Where locking and unlocking all buffers for updating slows down redraw speed permanently after the first undo. However the problem isn't avoided entirely since a single brush stroke might modify most of the mesh.
2016-02-13BLI_bitmap: add flip macroCampbell Barton
2016-02-13Set alpha clip to lower valueCampbell Barton
Workaround for T46962 still works
2016-02-12Cycles: Fix compilation error with MinGWSergey Sharybin
Was using some C++0 which we don't officially enabled yet.
2016-02-12Fix/workaround compilation error in ddsSergey Sharybin
CLAMP was conflicting between Common.h and BLI_utildefines.h Ideally we would use macro from BLI, but it's a bit involved change to make it working with C++, will keep it for later.
2016-02-12Fix error in bvhtree_walk_dfs_recursiveGermano Cavalcante
2016-02-12Cycles: Always use guarded allocator of vectorsSergey Sharybin
We don't have vectors re-allocation happening multiple times from inside a loop anymore, so we can safely switch to a memory guarded allocator for vectors and keep track on the memory usage at various stages of rendering. Additionally, when building from inside Blender repository, Cycles will use Blender's guarded allocator, so actual memory usage will be displayed in the Space Info header. There are couple of tricky aspects of the patch: - TaskScheduler::exit() now explicitly frees memory used by `threads`. This is needed because `threads` is a static member which destructor isn't getting called on Blender's exit which caused memory leak print to happen. This shouldn't give any measurable speed issues, reallocation of that vector is only one of fewzillion other allocations happening during synchronization. - Use regular guarded malloc (not aligned one). No idea why it was made to be aligned in the first place. Perhaps some corner case tests or so. Vector was never expected to be aligned anyway. Let's see if we'll have actual bugs with this. Reviewers: dingto, lukasstockner97, juicyfruit, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1774
2016-02-12Cycles: Make Blender importer more forward compatibleSergey Sharybin
Basically the idea is to make code robust against extending enum options in the future by falling back to a known safe default setting when RNA is set to something unknown. While this approach solves the issues similar to T47377, but it wouldn't really help when/if any of the RNA values gets ever deprecated and removed. There'll be no simple solution to that apart from defining explicit mapping from RNA value to Cycles one. Another part which isn't so great actually is that we now have to have some enum guards and give some explicit values to the enum items, but we can live with that perhaps. Reviewers: dingto, juicyfruit, lukasstockner97, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D1785
2016-02-12Fix: OSX - Cmd + A doesn't work for Font objects editingDalai Felinto
Since Cmd + A works elsewhere, it should work during font objects editing as well. There is still a mysterious issue with Cmd + Z not working for UNDO the edited text in OSX (probably GHOST related).
2016-02-12Integrate font objects copy/paste with system clipboardDalai Felinto
When pasting text, the style (bold, material, ...) is maintained, if it was originally copied from Blender. This fixes the issue of missing copy/paste options for font objects (they were present back in Blender 2.49) Reviewers: Severin, campbellbarton, brecht
2016-02-12Fix crash in bvhtree.FromPolygonsCampbell Barton
2016-02-12Fix T47379: crash appending materials with node trees.Brecht Van Lommel
2016-02-11Fix more cases where gpencil thickness controls line thickness of 3D view ↵Julian Eisel
elements We now simple set glLineWidth to 1 once before drawing objects. This way we don't have to do it all over. Fixes T47396.
2016-02-11Fix T47314: Misaligned DataBlock Previews for groups with custom center ↵Bastien Montagne
coordinates Now take into account `dupli_offset` of groups. Also fixed another issue related to objects renderability, previous code was giving bad results due to added temp objects to generate previews (camera, lamp...).
2016-02-11Fix T47387: Cycles Point Density Render IssuesSergey Sharybin