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
2020-09-15Merge branch 'property-search-all-tabs-v2' into property-search-ui-v2property-search-ui-v2Hans Goudey
2020-09-15Merge branch 'property-search-all-tabs' into property-search-ui-v2Hans Goudey
2020-09-15Merge branch 'property-search-highlight-tabs' into property-search-all-tabs-v2Hans Goudey
2020-09-15Merge branch 'property-search-start-end-operators' into ↵Hans Goudey
property-search-highlight-tabs
2020-09-15Merge branch 'property-search-single-tab' into ↵Hans Goudey
property-search-start-end-operators
2020-09-15Property Search: Apply fixes from all tab codeHans Goudey
2020-09-15Property Search: Fixes for all tab search V2Hans Goudey
2020-09-14Merge branch 'property-search-highlight-tabs' into property-search-all-tabs-v2Hans Goudey
2020-09-14Merge branch 'property-search-highlight-tabs' into property-search-all-tabsHans Goudey
2020-09-14Merge branch 'property-search-start-end-operators' into ↵Hans Goudey
property-search-highlight-tabs
2020-09-14Property Search: Use runtime struct properly for seach stringHans Goudey
2020-09-14Merge branch 'property-search-highlight-tabs' into property-search-all-tabsHans Goudey
2020-09-14Merge branch 'property-search-start-end-operators' into ↵Hans Goudey
property-search-highlight-tabs
2020-09-14Merge branch 'property-search-single-tab' into ↵Hans Goudey
property-search-start-end-operators
2020-09-14Property Search: Fix storing search string in runtime structHans Goudey
2020-09-14Property Search: Use pointer for properties space runtime structHans Goudey
2020-09-14Property Search: Add explanatory commentHans Goudey
2020-09-14Merge branch 'property-search-add-theme-color' into property-search-single-tabHans Goudey
2020-09-14Merge branch 'property-search-move-context-to-panel' into ↵Hans Goudey
property-search-add-theme-color
2020-09-14Merge branch 'property-search-button-label-pointer' into ↵Hans Goudey
property-search-move-context-to-panel
2020-09-14Merge branch 'master' into property-search-button-label-pointerHans Goudey
2020-09-14Fix T80770: UV Image Editor: Display Texture Paint UVs Not WorkingJeroen Bakker
When developing the image draw engine I wasn't aware of this option. But now it is back.
2020-09-14Fix T79651: Bounding box is wrong after duplicate objectAntonio Vazquez
The bounding box is not updated in the original object when the function is called using evaluated object and keeps wrong while the object is not edited or the file saved. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D8565 Notes: Minor changes done in the patch following review comments.
2020-09-14Fix T78392: [2.83.5, 2.90, 2.91] Crash on undo/ redo after changing modes.Bastien Montagne
During undo/redo read code is expected to clear the `OB_MODE_EDIT` bitflag of `Object.mode`, for some reasons. This was not done anymore for re-used Objects, we need to add a special handling case for that too. Should be backported to 2.90 and 2.83 (will probably not be straight forward for the latter).
2020-09-14Fix 'Links Cut' adding undo steps without cutting anythingGermano Cavalcante
The operator's return was ignored by the gesture ops that always returned `OPERATOR_FINISHED`. This ends by adding a undo step that brings no change.
2020-09-14Fix T80728: UV edge select splits UV's for lasso/box/circle selectCampbell Barton
Oversight in 411c5238a2fef ignored sticky selection. Use 'uvedit_edge_select_set_with_sticky' to make sure sticky options are respected. Also skip checking the existing selection since that only checks the current UV, not all connected UV's which is needed for sticky selection. The extra checks to avoid updating UV's isn't such an advantage as only meshed in the selected region are tagged for updating.
2020-09-14Alembic export: write custom propertiesSybren A. Stüvel
Write custom properties (aka ID properties) to Alembic, to the `.userProperties` compound property. Manifest Task: https://developer.blender.org/T50725 Scalar properties (so single-value/non-array properties) are written as single-element array properties to Alembic. This is also what's done by Houdini and Maya exporters, so it seems to be the standard way of doing things. It also simplifies the implementation. Two-dimensional arrays are flattened by concatenating all the numbers into a single array. This is because ID properties have a limited type system. This means that a 3x3 "matrix" could just as well be a list of three 3D vectors. Alembic has two container properties to store custom data: - `.userProperties`, which is meant for properties that aren't necessarily understood by other software packages, and - `.arbGeomParams`, which can contain the same kind of data as `.userProperties`, but can also specify that these vary per face of a mesh. This property is mostly intended for renderers. Most industry packages write their custom data to `.arbGeomParams`. However, given their goals I feel that `.userProperties` is the more appropriate one for Blender's ID Properties. The code is a bit more involved than I would have liked. An `ABCAbstractWriter` has a `uniqueptr` to its `CustomPropertiesExporter`, but the `CustomPropertiesExporter` also has a pointer back to its owning `ABCAbstractWriter`. It's the latter pointer that I'm not too happy with, but it has a reason. Getting the aforementioned `.userProperties` from the Alembic library will automatically create it if it doesn't exist already. If it's not used to actually add custom properties to, it will crash the Alembic CLI tools (and maybe others too). This is what the pointer back to the `ABCAbstractWriter` is used for: to get the `.userProperties` at the last moment, when it's 100% sure at least one custom property will be written. Differential Revision: https://developer.blender.org/D8869 Reviewed by: sergey, dbystedt
2020-09-14Cleanup: remove unused functionJacques Lucke
The last usage was removed in {rB4eda60c2d82de0d7f7ded8ddf1036aea040e9c0d}.
2020-09-14Fix T80564: flow particle size is too limitingJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D8888
2020-09-14Fix T80643: Library Override: Can't change Armature Layer enabled-ness.Bastien Montagne
Armature properties still had to be made overridable.
2020-09-14Fix T80705: Single Image Texture Painting CrashJeroen Bakker
Regression introduced by {D8234}; GPU textures can be requested without an image user.
2020-09-14API doc: Gotcha's: Add section about abusing RNA properties callbacks.Bastien Montagne
Especially with new undo/redo it is even less recommended to perform complex operations in those callbacks, they should remain as fast and localized as possible. Also updated the section about undo/redo a bit.
2020-09-14Fix T80457: Library Override - Custom Property to Drive Child Particles ↵Bastien Montagne
results in Crash. RNA diffing code was not dealing properly valid NULL PointerRNA (like the empty texture slots of a ParticleSettings e.g., which were cause of crash in that report). To be backported to 2.90 and 2.83.
2020-09-14Fix T80747: New vgroups on unsupported object types fails silentlyCampbell Barton
Raise an exceptions when adding vertex groups to object types that don't support it.
2020-09-14Fix T80694: Crash reloading scripts from the Python consoleCampbell Barton
Running `bpy.ops.script.reload()` from Python was crashing since the operator being called was it's self freed. Change the reload operator to defer execution - as supporting re-registration during execution is quite involved for a corner-case.
2020-09-14Cleanup: use doxy sections for imbufCampbell Barton
2020-09-14DrawManager: Resolve Assert in Image EngineJeroen Bakker
Tiled texture uses different texture structure than normal textures. Normally we add dummy textures and use them, but I found it cleaner to have 2 shaders and use the correct shader.
2020-09-14Fix T72584: Hiding a collection don't hide a child object in viewport when ↵Manuel Castilla
in Local View Hiding a collection should hide all children objects even when we are in Local view with one of them. Note from reviewer: We are doing this already for local collections. So may as well do it when hiding the collections for the entire view layer. Developer details: In function "BKE_object_is_visible_in_viewport" object flag BASE_VISIBLE_VIEWLAYER wasn't being checked when we were in Local view, It's now changed so that it's checked even if we are in Local view. And this function was called by some viewport draw functions to check if it should draw an object or not. Maniphest Tasks: T72584 Differential Revision: https://developer.blender.org/D7894
2020-09-14Property Search: New implementation for all-tab searchHans Goudey
Use a bespoke pass for running property search in a panel region. While this method results in more code, it doesn't reuse the panel search, which has a few benefits: 1. It's possible to exit early when a results is found for a tab. Although this doesn't affect worse case performance, in general it's a benefit. 2. The code for searching all tabs in the properties editor becomes much simpler. 3. There should be other performance improvements, as the search code can skip everything not related to search. This is accomplished by ED_region_panels_layout_ex in area.c, which was a bit too long of a function anyway.
2020-09-14DRW: Fix wrong use of GPU_blendClément Foucault
Use the enum instead of a boolean. Exibit n°5512 where typecast warning would have find the error.
2020-09-14Cleanup: DRWManager: Remove deprecated pass_state functionsClément Foucault
And also enable pass names when using `--debug-gpu` option.
2020-09-14Fix T80603 Workbench: Inverted alpha when renderingClément Foucault
This was caused by a left over DRWPass->state modification that made the subsequent samples redraw without Blending enabled. This led to incorrect blending. The fix is to use the new API for pass instancing.
2020-09-13Apply patch D8816, from Zachary(AFWS) for collection boolean operand.Howard Trickey
Also added code so that exact solver does the whole collection at once. This patch allows users to use a collection (as an alternative to Object) for the boolean modifier operand, and therefore get rid of a long modifier stack.
2020-09-13Fix T80589: Translations in python scripts are missing.Bastien Montagne
Python 3.8 changed handling of constant values in its AST tool. This code should work on both officialy supported 3.7, and newer 3.8, for now.
2020-09-13Fix T80023 Invisible objects or glitches with object 'in front' + 'X-ray'Clément Foucault
Rendering only to the depth buffer seems to need a valid fragment shader with a color output on some platform.
2020-09-13CleanUp: Code foldingJeroen Bakker
Incorrect code folding in recent commit
2020-09-13Fix T77584: Edit Mode crash with shape keys created on blank meshCampbell Barton
Entering edit-mode after creating shape keys on a blank mesh would crash. Regression in 9b9f84b317fef which prevented initializing empty shape keys when there is no shape key offset data available.
2020-09-13Cleanup: unused variableCampbell Barton
2020-09-13Fix printing data from an evaluated depsgraph in PythonCampbell Barton
Printing an evaluated view layer would show: Evaluated Scene 'Scene' - Now __repr__ uses the __str__ fallback for evaluated data, as done in other situations where we can't create a string that would evaluate to the data. - __str__ now shows when the data is evaluated. - __str__ always includes the memory address (which was previously only shown for structs without a name).
2020-09-13Fix T62504: Crash accessing depsgraph from evaluated view layerCampbell Barton
Use correct owner_id types for depsgraph view_layer properties instead of inheriting from the Depsgraph which is set to NULL.