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-09-14Blender 2.78: Point locales to a new branch hashv2.78-rc2Sergey Sharybin
2016-09-14Cleanup: Fix epic indent failure in previous commit :/Bastien Montagne
2016-09-14Fix missing PaintCurves list in bpy.dataBastien Montagne
Minimal list features for now, no add/remove stuff, that we can add later... Reported by sybren. Should be safe for 2.78.
2016-09-14Fix T49341: Bad motion blur behavior in Cycles when using Speed effect in ↵Sergey Sharybin
Sequencer Cycles was thinking it always rendering integer frame, which is not correct.
2016-09-14Fix T49342: TypeError when autocompleting bpy.app.something.Bastien Montagne
Regression from rB036c006cefe471. We can't use self here, self is bpy.app, not pydescriptor of python path getsetter... So for now, do not try to replace getsetter by actual value in bpy.app's dict, just return static var generated on first run. Should be safe for 2.78.
2016-09-14Attempt to fix broken path remapping in own rB443b3ca9b9cb.Bastien Montagne
2016-09-14Code Cleanup: Deduplicate undo node freeing codeJoshua Leung
2016-09-14Fix: GPencil drawing sessions now respect limits for maximum undo stepsJoshua Leung
When drawing with Grease Pencil "continous drawing" for a long time (i.e. basically, drawing a very large number of strokes), it could be possible to cause lower-specced machines to run out of RAM and start swapping. This was because there was no limit on the number of undo states that the GP undo code was storing; since the undo states grow exponentially on each stroke (i.e. each stroke results in another undo state which contains all the existing strokes AND the newest stroke), this could cause issues when taken to the extreme.
2016-09-14Blender 2.78 release: Update addons hash once againSergey Sharybin
2016-09-14CMake: decouple WITH_CYCLES_OPENSUBDIV from WITH_OPENSUBDIV, and enable on OS X.Brecht Van Lommel
Reviewed By: sergey Differential Revision: https://developer.blender.org/D2227
2016-09-14Fix two issues related to 'partial' .blend files:Bastien Montagne
I) Filename was not put in temp Main generated to save selected data only, this was breaking readcode when trying to open partial file, leading to missing filename in final loaded Main data. II) Read code would confuse partial .blend files with Undo ones, when they had no screen in them (which happens to 99.999% of partial .blend files I guess). Reported by @sybren, thanks. Should be safe enough for 2.78 release.
2016-09-14Fix compilation error: Shadowing of variableSergey Sharybin
2016-09-142.78 release: Update splash screen labelSergey Sharybin
2016-09-142.78 release: Update hash for addons submoduleSergey Sharybin
2016-09-14Fix T35333: Update some WM/UI API functions docstrings.Bastien Montagne
Based on patch by @codemanx, but with slightly less verbose descriptions. More detailed behavior etc. rather belongs to doc/python_api/examples/bpy.ops.x.py imho.
2016-09-14Fix bpy.data.user_map() ignoring unused datablocks.Bastien Montagne
Should be backported to 2.78. Found by Sybren here in studio, thanks!
2016-09-14Outliner: Report linked datablock edit failure when trying to rename linked ↵Philipp Oeser
data in outliner
2016-09-14Fix T49323: Ineffective bone roll calculation with low rig scaleSergey Sharybin
The code was expecting vector to be normalized, however after applying inverted object matrix it was possible to have scale applied to it.
2016-09-14Fix T49336: Outliner allows to edit restrict flags for linked objectsSergey Sharybin
2016-09-14Fix T49290: Specific .blend with hair crashes in MacOS 2.78 RC1 on renderSergey Sharybin
The issue was caused by some false-positive empty non-AABB intersection. Tried to tweak it a bit so it does not record intersection anymore. Hopefully will work for all platforms. Tested here on iMac and Debian.
2016-09-14Fix T49327: Cycles OSL Mode: RGB Curves node only outputs gray scale imagesSergey Sharybin
To be backported to 2.78 release.
2016-09-14Fix T49296, assert failure in Bevel code.Howard Trickey
The mesh interpolation function failed to fill a fractions-of-the-way array properly when the distances are very small but nonzero.
2016-09-14Cycles: Fix wrong SSS in combination with hair on AVX2 platformSergey Sharybin
Not sure why exactly that happened, need a closer look.
2016-09-14Cycles: Fix shading and crashes resulting from constant folding on displacementMai Lavelle
Constant folding was removing all nodes connected to the displacement output if they evaluated to a constant, causing there to be no valid graph for displacement even when there was displacement to be applied, and sometimes caused crashes.
2016-09-14Cycles: Replace object index hack with actual checks for SD_TRANSFORM_APPLIEDMai Lavelle
Using ones complement for detecting if transform has been applied was confusing and led to several bugs. With this proper checks are made. Also added a few transforms where they were missing, mostly affecting baking and displacement when `P` is used in the shader (previously `P` was in the wrong space for these shaders) Also removed `TIME_INVALID` as this may have resulted in incorrect transforms in some cases. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2192
2016-09-14Cycles: Fix bump mapping to use object space when used with true displacementMai Lavelle
Bump mapping was happening in world space while displacement happens in object space, causing shading errors when displacement type was used with bump mapping. To fix this the proper transforms are added to bump nodes. This is only done for automatic bump mapping however, to avoid visual changes from other uses of bump mapping. It would be nice to do this for all bump mapping to be consistent but that will have to wait till we can break compatibility. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2191
2016-09-14[CMAKE/Platform/Windows] Only perform version check if the actual compiler ↵lazydodo
is MSVC
2016-09-14Fix undefined variable on errors in Cycles ctests.Dmitry Dygalo
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2201
2016-09-14Fix OpenSubdiv related buffer overrun with multiple FVar channels.Alexander Gavrilov
The existing code uses the input value count of the first channel for all of them. If the first channel is the largest, it leads to a crash-causing buffer overrun in memcpy below. Likely this was left since the time when only one channel was supported. As a crash fix, probably should go into 2.78
2016-09-14Fix missing 'prop_required' flags in some ID RNA funcs.Bastien Montagne
Not critical, but would rather have this in 2.78 (for API doc reasons mostly).
2016-09-14Fix/Workaround T49297: Crash related to custom data draw (Blender with ASAN)Sergey Sharybin
Root of the issue is that active render index became wrong. This is the actual thing to be fixed, but as usual this is quite tricky to reproduce. Since such bad situation might have happened more and fix isn't really difficult or intruisive let's avoid crash for now. Can be revisited once we figure out root of the issue. Nice for 2.78 release.
2016-09-14Fix T49299: Removing offset object in modifiers doesn't update mesh.Bastien Montagne
Own fault in new ID management work, thought rebuild the DAG itself was enough to actually update whole scene, but we actually need to tag datablocks for update as well, when we change (or remove) one of their ID pointers...
2016-09-14Cycles: Fix regular BVH nodes refitSergey Sharybin
For proper indexing to work we need to use unaligned node with identity transform instead of aligned nodes when doing refit. To be backported to 2.78 release.
2016-09-14Cycles: Add asserts to BVH node packingSergey Sharybin
2016-09-14Cycles: Cleanup: line wrappingSergey Sharybin
2016-09-14Fix T49283: Crash in BKE_ptcache_make_particle_key.Bastien Montagne
This is really hack-fix actually, not sure why `get_pointcache_keys_for_time()` seems to assume it will always find key for given part index at least for current frame, and whether this assumption is wrong or whether bug happens elsewhere... Anyway, this is to be wiped out in 2.8, so no point loosing too much time on it, for now merely returning unchanged (i.e. zero'ed) ParticleKeys in case index2 is invalid. Won't hurt anyway, even if this did not crash in release builds, would be returning giberish values.
2016-09-14Fix T49286: Compilation error with XCode 7.0Sergey Sharybin
Weirdly enough, this version of XCode seems to have static_assert() even when NOT using C++11. This is totally weird and counter intuitive since static_assert() is supposed to be C++11 onlky feature. Can XCode stop using future, please? :)
2016-09-14Cycles: Fix OpenCL speed regression introduced with the improved bump mappingLukas Stockner
The two SVM nodes added with e7ea1ae78c caused a slowdown on AMD cards when rendering with OpenCL, whether displacement was used or not. In the Barcelona Pavillon scene on a RX480, this would cause a 12% slowdown. Therefore, this commit adds a additional flag for feature-adaptive compilation so that the new SVM nodes are only enabled when they are needed (Node tree connected to the Displacement output and Displacement type set to Both). Also, the nodes were also added to shaders when the Displacement Type was set to Bump (the default), which was unneccessary and is fixed now. Thanks to linda2 on IRC for reporting and testing and to maiself for help with the displacement shader code. This fix might be relevant for 2.78, but it should be tested further before including it.
2016-09-14Fix T49273: Crash during access to dupli weights at launch time.Bastien Montagne
See commit's comments for details, but this boils down to: do not try to use purely runtime cache data as a 'real' ID pointer in readcode, it's likely doomed to fail in some cases, and is bad practice in any case! Thix fix implies dupliweight's object will be invalid until first scene update (i.e. first particles evaluation).
2016-09-14OpenSubdiv: Support multiple materials drawing in Cycles textured viewSergey Sharybin
Consider for inclusion into 2.78.
2016-09-14[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199 ammended to fix: wrong variable name in main CMakeLists.txt
2016-09-14Revert "Depsgraph: Prioritize evaluation of the new scheduled nodes"Sergey Sharybin
This reverts commit 9444cd56db1a4e43d03fa8c735cd893b2e74b913. This commit caused some flickering in the bones when swapping IK to Fk. While it's unclear why such change caused any regressions, let's revert it to unlock the studio.
2016-09-14[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199
2016-09-14Fix T41883: Strip keyframes not respected for scenes rendered by other scenesSergey Sharybin
2016-09-14Add script which scales splash screen downSergey Sharybin
Based on reading documentation around. This particular version is based on the ImageMagic documentation which could be found there: http://www.imagemagick.org/Usage/filter/ http://www.imagemagick.org/Usage/filter/nicolas/ Current filter is based on measuring mean error with the current splash screen and choosing combination of parameters which gives minimal mean error.
2016-09-14Fix cast shadows (material option) in the viewportMike Erwin
Fix cast shadows options (in material tab) not working in the viewport. An off-by-one error. See D2194 for more. Committing for Ulysse Martin (youle) who found & fixed this.
2016-09-14Fix T49252: Crash when image textures used with true displacementMai Lavelle
2016-09-14OpenSubdiv: Fix missing ORCO when enabling OSD but having dependency to the ↵Sergey Sharybin
geometry Was causing huge viewport lags. Reported by angavrilov in IRC, thanks! Safe and nice for 2.78.
2016-09-14Fix T49251: moving smoke domain with additional resolution causes crash.Alexander Gavrilov
This is a bug in the multithreaded task manager in negative value range. The problem here is that if previter is unsigned, the comparison in the return statement is unsigned, and works incorrectly if stop < 0 && iter >= 0. This in turn can happen if stop is close to 0, because this code is designed to overrun the stop by chunk_size*num_threads as the threads terminate. This probably should go into 2.78 as it prevents a crash.
2016-09-14Fix own mistake in recent rB8b2a45052093, broke saving render results as ↵Bastien Montagne
images in some cases. Reported by sebastian_k over IRC, thanks. To be backported to 2.78.