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
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-14Cleanup: pep8, prefix unused argCampbell Barton
2019-08-14Manage GPU_matrix stacks per GPUContextJulian Eisel
Previously, we had one global `GPU_matrix` stack, so the API was not thread safe. This patch makes the stack be per `GPUContext`, effectively making it local per thread (`GPUContext` is located in thread local storage). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5405
2019-08-14Eevee: Fix background alpha regressionClément Foucault
2019-08-14Cleanup: don't unnecessarily use ustring in IES file parsingBrecht Van Lommel
2019-08-14Fix T68637: Crash assigning caps-lock shortcutCampbell Barton
Report that this isn't supported instead, also for unknown key.
2019-08-14Eevee: Add support for the holdout nodeClément Foucault
Support should be full when using Alpha Blend mode and partial if using any other blend mode (opaque / alpha clip / alpha hashed).
2019-08-14Eevee: Remove Additive & Multiply Blend modeClément Foucault
This commit also provide a compatibility code that will convert old materials using Additive or Multiply Blend mode to their node equivalent. This conversion is only done on outputs that are enabled for eevee.
2019-08-14Eevee: Improve Transparent BSDF behaviorClément Foucault
Alpha blended Transparency is now using dual source blending making it fully compatible with cycles Transparent BSDF. Multiply and additive blend mode can be achieved using some nodes and are going to be removed.
2019-08-14Fix T68537 Eevee: Modulo node behaves unexpectedly/inconsistentlyClément Foucault
There was still some float imprecision when both input values are equal.
2019-08-14Custom Properties: allow changing the property UI to color picker.Alexander Gavrilov
To fully support storing colors as a custom property, it is necessary to allow switching the property UI to the standard color picker button. That means in effect supporting custom property subtype values. Change RNA_property_subtype to look for a 'subtype' string field in _RNA_UI and parse it as an enum value. To minimize performance impact, only do it if the property is an array; also, don't use the custom subtype during RNA path parsing. On the python side, allow setting some most useful seeming values from the custom property settings editor. Also, since some color picker code seems to run into a risk of buffer overruns if the array size is wrong, check the size in the UI layout code to be safe. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5475
2019-08-14Fix T68623: bpy.types.UI_UL_list.filter_items_by_name is case sensitive.Bastien Montagne
Was a mismatch with default behavior from C-defined basic UI list...
2019-08-14Fix cycles crash when voxel attributes changedPhilipp Oeser
This could happen e.g. when changing smoke type from flow to domain or connecting a volume shader with to a domain without an actual flow type around. Fixes T58569, T68359 Reviewers: brecht Maniphest Tasks: T58569, T68359 Differential Revision: https://developer.blender.org/D5478
2019-08-14Shading: Add a clamp option to the Map Range node.OmarSquircleArt
If the option is enabled, the output is clamped to the target range. The target range is [To Min, To Max]. The option is enabled by default. The clamp option is implemented in EEVEE by linking to the `clamp_value` GLSL function. And it is implemented in Cycles using a graph expand function. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5477
2019-08-14Fix T68597: GPencil Dope Sheet can fail to display active GP objectAntonioya
Now, the dopesheet is activated if the object is in any Edition mode.
2019-08-14cleanup: fix python related build error on windows.Lazydodo
Recent python changes caused issues on some systems.
2019-08-14make.bat: Support running python from lib folder for make formatLazydodo
We are no longer depended on a system python being installed.
2019-08-14deps: python 3.7.4 for windows.Lazydodo
This also updates to a new packaging method where python is runnable from the library folder rather than having tarballs in the release folder.
2019-08-14deps/cleanup: remove partial boost-python support.Lazydodo
boost python was not required by any dependency nor was it ever properly supported.
2019-08-14build_environment/python: Bump versions of our site-packagesLazydodo
IDNA 2.8 CHARDET 3.0.4 URLLIB3 1.25.3 CERTIFI 2019.6.16 REQUESTS 2.22.0 NUMPY 1.17.0
2019-08-13Shading: Add Clamp node to Cycles and EEVEE.OmarSquircleArt
This patch adds a new node that clamps a value between a maximum and a minimum values. Reviewers: brecht Differential Revision: https://developer.blender.org/D5476
2019-08-13Fix T67516 VSE: Animation evaluated incorrectly when scene strip presentSybren A. Stüvel
The calls to `BKE_animsys_evaluate_all_animation()` and `BKE_mask_evaluate_all_masks()` used the wrong timecode to evaluate the animation system. This happened: - Sequencer in scene A was rendered at frame X. - Scene strip for scene B which should be evaluated at frame Y. - BKE_animsys_evaluate_all_animation() was called with frame Y, which also re-evaluated the animation data in scene A. - Other sequencer strips with animated values were then evaluated for frame Y and not frame X. Since the depsgraph for rendering the scene strip is already OK and does its job, it's no longer necessary to re-evaluate all the animation in this way. Removed `BKE_mask_evaluate_all_masks()` because it's no longer used. Reviewers: sergey, brecht, iss Differential Revision: https://developer.blender.org/D5394
2019-08-13Shading: Add Map Range node to Cycles and EEVEE.OmarSquircleArt
This patch adds a new Map Range node that linearly remaps an input value from a range to another. This node is similar to the compositor's Map Range node. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5471
2019-08-13Custom Properties: officially support int and float arrays in the UI.Alexander Gavrilov
In some rare cases it is convenient to store a short array value as a custom property, e.g. a vector or color. For example, it may be helpful when importing/exporting certain formats that support custom or nonstandard attributes on objects. The custom property storage already can handle arrays in order to support properties defined via python. The only thing missing is UI support (and some bugs), and this patch fixes that: - Allow editing short array properties via Custom Properties panel. - Fix a UI layout sizing bug triggered by the previous item. - Fix a dependency graph bug with drivers using such properties. - Make RNA_*_get_default_array code robust in case of size mismatch. - Support custom default values for array properties, allowing both an array and a scalar value. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5457
2019-08-13UI: Fix wrong properties being grayed outJacques Lucke
This has been mentioned in T68610.
2019-08-13Fix T66373: Strange translation text behaviour.Bastien Montagne
i18n code does not work from threads on some plaforms, so it is disabled in Blender when called from non-main thread. Means that we have to go to a slightly different approach, with dirty tag and generating string on request for UI. Note: Also had to update the `info` string size, to fit with expensive asiatic scripts in utf-8... Using mem for that kind of runtime data is not really nice, but for now it will have to do.
2019-08-13Add mathutils.geometry.delaunay_2d_cdt() function to Python API.Howard Trickey
Provides Python API access to recently added Constrained Delaunay Triangulation routine. Reviewed in D5467.
2019-08-13Fix T65670: bone envelope head radius missing from transform panelCampbell Barton
Make the transforms section of the properties panel consistent with the transforms section of the side-bar, and to expose some currently hidden BBone properties in the Bendy Bone section. - Object transformations were not consistent with Pose Bone transformations in that they did not use single-column layout. - Even in Pose Bone transformations, the rotation mode option was after Scale. - Edit Bone Transforms panel included "Tail Radius" and "Envelope Deform Distance", neither of which belong there. See T65670. - Expose bbone_x and bbone_z. D5454 by @Mets
2019-08-13Fix build errors with older GCC versions like 4.9Brecht Van Lommel
We can add more fine grained checks for when these flags are supported so that adding asan flags manually still has all the workarounds, but for now compiling succesfully is more important.
2019-08-13Fix T68507: Gpencil: Show always the Select Menu in Edit ModeMatias Mendiola
In Grease Pencil Edit Mode the Select menu should always be visible. Right now the menu visibility is controlled by the Selection Mask button next interpolate popover Differential Revision: https://developer.blender.org/D5466
2019-08-12Fix T68547: Plane Constraint inaccuracymano-wii
If it is to prevent division by zero just check if the `factor` is zero (instead of using an epsilon).
2019-08-12UI: Use singular noun form in add menusAaron Carlisle
2019-08-12Fix T68187: Factory Preferences doesn't update gizmo colorsCampbell Barton
2019-08-12Fix T68557: Incorrect property reported in errorCampbell Barton
Error spotted by @gbayliss
2019-08-12Cleanup: rename `BaseOffset` to `ObjectOffsets`mano-wii
2019-08-12Fix wrong detection in recent ninja build changeBrecht Van Lommel
2019-08-12Cleanup: DRW manager: Move `select_buffer.c` utilities out of the selection ↵mano-wii
engine internals
2019-08-12Fix T67032: Do not systematically link 'orphaned' indirectly linked objects ↵Bastien Montagne
to scene. Not even in append case. If those objects are already part of a collection, we can now leave them fully un-instantiated in any scene, since user can easily do it themselves as they need to.
2019-08-12Build: automatically detect ninja build system when running "make"Brecht Van Lommel
So that you don't have to specify "make ninja" every time.
2019-08-12Fix Bullet build error with Clang 8 and Xcode 11Brecht Van Lommel
See D5366 and upstream: https://github.com/bulletphysics/bullet3/commit/7f6c479ea6
2019-08-12Fix running space_node directlyCampbell Barton
Part of T65393
2019-08-12Fix T68539: transferring uv (Ctrl+L) does not update immediately inPhilipp Oeser
object mode
2019-08-12Fix T66922: Merge by distance tooltip text wrongPhilipp Oeser
merge/dissolve distance is actually a maximum, not a minimum Reviewers: campbellbarton Maniphest Tasks: T66922 Differential Revision: https://developer.blender.org/D5462
2019-08-12Sculpt/Paint: Ignore INBETWEEN_MOUSEMOVE events on certain brush toolsPablo Dobarro
Some brush tools were being executed too often when using devices with high polling rates, causing performance issues. This should improve the performance of brushes that don't need those updates. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5429
2019-08-12Fix crashes caused by library placeholders.Bastien Montagne
This fixes inconsistencies in materials between objects and obdata due to placeholders generation for missing libdata. Note that we cannot do that when generating the obdata placeholder, as not all objects using it might be already loaded... So this has to be done near the end of the reading/linking process. Reported here by Blender Studio. Reviewers: brecht Subscribers: jbakker, zeddb Tags: #datablocks_and_libraries Differential Revision: https://developer.blender.org/D5428
2019-08-12Fix T68542: ParticleSystem.uv_on_emitter returns always 0,0 while ↵Bastien Montagne
Particle.uv_on_emitter returns a value. 'cached' particles (for paths actually) are only generated for some kind (hair, keyed, and baked system afaik), not for all. Note that we could probably just use directly `totpart` and `totchild`, but keeping code as close to what it was as possible, for now...
2019-08-12Fix error displaying brush panel (sidebar) in Vertex Paint modePhilipp Oeser
oversight in rB83fc8342d827
2019-08-12View3D: Circle Select optimizationmano-wii
Don't recreate `select_bitmap` for each edited object.
2019-08-11Cleanup: spellingCampbell Barton
2019-08-11Cleanup: use doxy commentsCampbell Barton