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/source
AgeCommit message (Collapse)Author
2019-09-12Shading: Add More Features To The Voronoi Node.OmarSquircleArt
This patch allows the Voronoi node to operate in 1D, 2D, and 4D space. It also adds a Randomness input to control the randomness of the texture. Additionally, it adds three new modes of operation: - Smooth F1: A smooth version of F1 Voronoi with no discontinuities. - Distance To Edge: Returns the distance to the edges of the cells. - N-Sphere Radius: Returns the radius of the n-sphere inscribed in the cells. In other words, it is half the distance between the closest feature point and the feature point closest to it. And it removes the following three modes of operation: - F3. - F4. - Cracks. The Distance metric is now called Euclidean, and it computes the actual euclidean distance as opposed to the old method of computing the squared euclidean distance. This breaks backward compatibility in many ways, including the base case. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5743
2019-09-12Fix T69789: Assert when create a new Full Copy scene base on 2D template.Bastien Montagne
Private ID data (nodetrees and scene collections...) need special care and handling of their copy flags, and checks must be adapted too. In that case, issue came from the fact that even though those IDs have to be copied outside of bmain, we may still require usercount handling. That commit also fixes a somewhat related issue - we cannot use the non-id private data copying flag for private IDs copying, due to difference in handling of usercount again.
2019-09-12UI: Sub-type for Screen Grab Size.Pablo Vazquez
Set to Pixel.
2019-09-12UI: Wrong label in Screen Grab Size.Pablo Vazquez
It was using "screen_grab_size" as label.
2019-09-12UI: Labels capitalization.Pablo Vazquez
Capitalize the first letter of a word, except articles and prepositions.
2019-09-12Fix T69785: crash dragging in empty space in edit modeBrecht Van Lommel
2019-09-12Cleanup: compiler warningsBrecht Van Lommel
2019-09-12Fix T69582: Empties no longer support Rigid Body ConstraintsPhilipp Oeser
This is caused by rB1342d1879e12 and would also break the whole "Connect" workflow [which relies on empties] Reviewers: mont29, brecht Maniphest Tasks: T69582 Differential Revision: https://developer.blender.org/D5772
2019-09-12Fix T69782: crash using gizmos in grease pencil edit modeBrecht Van Lommel
2019-09-12Cleanup: line breaks with commentsCampbell Barton
2019-09-12Cycles: Initial Support For Local ViewJeroen Bakker
This diff will add support for local view to Cycles rendered preview mode. Currently the implementation shows same results as EEVEE does. This entails a difference with Blender 2.79, where lights were automatically added to the local view. {T69780} describes this should be solved before the next release. This patch also solves missing `owner_id` issues when using the RNA CPP Api from Cycles. Cycles didn't provide the `owner_id` making some functionality fail, what then was worked around in Blender. It also fixes an issue in `makesrna` where incorrect CPP code was generated when only `PARM_RNAPTR` was provided. An optional `view_layer` parameter is added to the `Object.local_view_get` method to reduce lookups. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5753
2019-09-12Fix T69737: Crash using the Elastic Deform brush and CompressibilityPablo Dobarro
Also renamed "compressibility" to "volume preservation" Reviewed By: brecht Maniphest Tasks: T69737 Differential Revision: https://developer.blender.org/D5757
2019-09-123D View: only show origin axes when in object modeCampbell Barton
2019-09-12Fix transforming armature originsCampbell Barton
Using geometry update doesn't work on armatures.
2019-09-11DNA: use defaults for SceneEEVEECampbell Barton
2019-09-11DNA: move View3D, View3DOverlay into DNA_view3d_defaults.hCampbell Barton
2019-09-11Cleanup: remove redundant RNA defaultsCampbell Barton
These are now set from DNA defaults.
2019-09-11DNA: defaults for ID typesCampbell Barton
2019-09-11Cleanup: Warning: 'sld': local variable is initialized but not referencedmano-wii
2019-09-11Transform: Edit Mesh: Support mirror on all axesmano-wii
Part of T68930 Now two other mirror options that can be enabled simultaneously: Mirror Y and Z. Reviewers: campbellbarton Reviewed By: campbellbarton Subscribers: ThatAsherGuy Differential Revision: https://developer.blender.org/D5720
2019-09-11Fix T69458: Edit Mesh selection bug from camera viewmano-wii
2019-09-11Fix T59143: Frame Selected Doesn't work in hair particle editmodePhilipp Oeser
This is caused by rBeb521b22b2b1. Looks like `PE_minmax` doesnt play nice with the evaluated view_layer. If we look inside `PE_get_current`, then `BKE_ptcache_ids_from_object` will actually return a list of `PTCacheID` for the evaluated object. However, looking further, then `PTCacheEdit` / `psys->pointcache->edit` is always NULL for the evaluated object. Without a valid `PTCacheEdit`, `PE_minmax` will basically do nothing. So now we are passing the non-evaluated view layer in the case of particles. Regarding to @sergey, in a longer term we should probably make it so evaluated pointcache have pointer to edit. Reviewers: sergey Maniphest Tasks: T59143 Differential Revision: https://developer.blender.org/D5758
2019-09-11Fix T69558: crash in BKE_scene_update_sound for a soundstrip withoutPhilipp Oeser
linked sound Crash could be triggered by just adding any object to the scene. Reviewers: sergey Maniphest Tasks: T69558 Differential Revision: https://developer.blender.org/D5764
2019-09-11Fix T69722: Pose brush crashes with multires modifierPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T69722 Differential Revision: https://developer.blender.org/D5759
2019-09-11Fix T69754: crash in sculpting after library overrides were enabledBrecht Van Lommel
The rest of this function uses G_MAIN, so do the same.
2019-09-11UI: enable topbar by defaultCampbell Barton
This lets us add settings to the options panel without them being hidden from the user.
2019-09-11Python: Fix to support old-style handlersSergey Sharybin
Can not re-use single typle even if there is a single input pointer: the all-arguments-typle consists of 2 elements.
2019-09-11LibOverride: Enable them in UI by default.Bastien Montagne
This is minimal 'flip-switch' commit, proper cleanup and removal of the option thing will happen later, once we are sure that we can release 2.81 with it enabled. For now, we have a `--disable-library-override` now. ;)
2019-09-11DNA: initialize defaults for output pathsCampbell Barton
2019-09-11RNA: automatically initialize defaults from DNACampbell Barton
Use defaults from DNA_*_defaults.h headers, this avoids calling RNA_def_property_*_default explicitly & having to repeat values.
2019-09-11DNA: make DNA_elem_size_nr a public functionCampbell Barton
Needed for getting struct member offsets.
2019-09-11RNA: separate internal allocation functionCampbell Barton
2019-09-11Sculpt: Transform toolPablo Dobarro
The sculpt mode transform tool applies the sculpt pivot transformation to all vertices, taking XYZ symmetry into account. This commit also includes an operator to set the pivot point initial position. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5717
2019-09-11GPencil: New Brush postprocesing SimplifyAntonio Vazquez
This option allows to apply a simplify when the stroke is completed. The simplify use the Adaptive option to keep the shape.
2019-09-11Cycles: Display RenderPass in ViewportJeroen Bakker
This change allows the user to select a renderpass in the 3d viewport. Added support for external renderers to extend the `View3DShading` struct. This way Blender doesn't need to know the features an external render engine wants to support. Note that the View3DShading is also available in the scene->display.shading; although this is supported, it does not make sense for render engines to put something here as it is really scene/workbench related. Currently cycles assumes that it always needs to calculate the combined pass; it ignores the `pass_flag` in KernelFilm. We could optimize this but that was not in scope of this change Reviewed By: brecht Differential Revision: https://developer.blender.org/D5689
2019-09-11Armature: convert the length Python property of bones to a RNA property.Alexander Gavrilov
This allows accessing it from drivers and using it in UI, as demonstrated by adding it to the transform panel of 3D View. As an aside, properly mark transform-related properties of Bone read-only, as they can only be changed correctly in edit mode.
2019-09-11Cleanup: typo/spellingPhilipp Oeser
2019-09-11Depsgraph: Allow non-keyed changes from frame_change_post handlerSergey Sharybin
Makes it possible to do custom edits to animated properties from a python handler. Reviewers: brecht Differential Revision: https://developer.blender.org/D5738
2019-09-11Render: Only run callbacks for non-preview rendersSergey Sharybin
Those handlers are usually done to edit scene which is being rendered, and this is not supported due to a fully localized nature of the preview bmain. There is still non-conditional callback in stats_background which is a bit tricky to cover with check, but this code is not supposed to be run for previews anyway. Reviewers: brecht Differential Revision: https://developer.blender.org/D5731
2019-09-11Python handlers: Pass depsgraph to events where it makes senseSergey Sharybin
The goal is to make it possible to access evaluated datablocks at a corresponding context. For example, be able to check evaluated state if an object used for rendering. Allows to write scripts in a safe manner for T63548 and T60094. Reviewers: brecht Differential Revision: https://developer.blender.org/D5726
2019-09-11Depsgraph: Introduce depsgraph registrySergey Sharybin
Allows to access dependency graphs created for render engines to inform them about changes in .blend file structure from the Python handlers. Reviewers: brecht Differential Revision: https://developer.blender.org/D5724
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-11Transform: Snap: Fix mixed snap without edgemano-wii
Face snapping was disregarded when approaching an edge.
2019-09-11UI: File Browser Friendly Volume DescriptionsHarley Acheson
File Browser Volumes list gets nicer friendly drive names with volume label or device description. Differential Revision: https://developer.blender.org/D5747 Reviewed by Brecht Van Lommel
2019-09-10Fix T69729: Missing Direction buttons in Draw Sharp brushPablo Dobarro
Reviewed By: brecht Maniphest Tasks: T69729 Differential Revision: https://developer.blender.org/D5746
2019-09-10EEVEE: Volume: Fix error in fallback integration algoClément Foucault
2019-09-10EEVEE: Volume: Speedup: Use Image load store extensionClément Foucault
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5740
2019-09-10UI: File browser deselect on click on empty spaceJulian Eisel
For the default and industry compatible keymap, clicking on empty space in the file browser will deselect all files. Also makes selection use same operator description we use for other select operators.
2019-09-10Fix SDNA error expanding names not updating name array sizesCampbell Barton
This doesn't cause problems at the moment, it just makes using name sizes possible in the future.
2019-09-10Cleanup: no need to add Brush.flag2Campbell Barton
Also use 'use_' prefix for RNA booleans.