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
2020-09-15Cleanup: use doxy sectionsCampbell Barton
2020-09-15Fix T80443: Object.active_shape_key None after adding a shapeCampbell Barton
Change BKE_object_shapekey_{insert/remove} to set/clear the active shape index. Only set the active index when there are no existing active shapes.
2020-09-15Fix T80794: assert naming a new shape key from PythonCampbell Barton
2020-09-15CustomData: add assert to prevent negative array accessCampbell Barton
2020-09-15BMesh: avoid negative array access in shape-key conversionCampbell Barton
2020-09-15Cleanup: remove redundant indexing valueCampbell Barton
2020-09-15Cleanup: make it clear WM_main isn't called in background-modeCampbell Barton
2020-09-15Fix T80774: (correction) keep MEM_init_memleak_detection call earlyCampbell Barton
2020-09-15Fix T80774: Leaks reported using '--version' command line argumentCampbell Barton
Caused by 236ca8fbe8457550.
2020-09-15Fix T80597: Assigning material slot from Python console failsCampbell Barton
Regression in 12bc34b0b81b1, add assert so this doesn't happen again.
2020-09-15Cleanup: spellingCampbell Barton
2020-09-15Cleanup: Split properties editor layout functionHans Goudey
Getting the string for a specific context is a basic thing that can be its own function. This way it can also be reused in other functions.
2020-09-15Cleanup: Split off parts of large panel layout functionHans Goudey
The ED_region_panels_layout_ex function was quite long, so separating some pieces of it can make it easier to understand and more modular. Additionally, the parts that were split off can be reused for future property search code.
2020-09-15Workbench: Depth Of Field: Fix regression in look and avoid implicit castClément Foucault
This is a fixup to rB7710de26d0d768734977769af4a278b262f4da51
2020-09-15Workbench: Depth Of Field: Fix undefined behavior with using texelFetchClément Foucault
On MacOS + Intel Iris Graphics 6100 (may affect other config too), the texelFetch operation bypass the base mip setting of the texture object. Using textureLod with lod = 0.0 ensure the lowest (after clamping) mip will always be selected. Also disable the texture filtering for this sampler to avoid unecessary fetches. This should fix T78653 Blender 2.83 broken Depth of Field in Viewport
2020-09-14Fix T80704: bpy.ops.transform.rotate() ignores orient_typeGermano Cavalcante
Remove the condition preventing orientation from being obtained out of the 3d View context. Also pass the `ob` and `obedit` arguments obtained from the caller.
2020-09-14Cleanup: Use 'r_' prefix for return valueGermano Cavalcante
Make it obvious which values are written to.
2020-09-14Fix T80782 GPU: Curve editing widget point size broken after recent commitClément Foucault
This was caused by a faulty default where program point size was used.
2020-09-14Cleanup: GLShader: Use span and default constructor instead of vector(0)Clément Foucault
2020-09-14Cleanup: GPUDebug: Use Vector instead of custom stackClément Foucault
2020-09-14GL: Make use of the new debug layerClément Foucault
This makes replay analysis inside renderdoc much easier by using the new debug group functionality.
2020-09-14GPU: Add debug groupsClément Foucault
Debug groups makes it easier to view from where an error comes from. The backend can also implement its own callback to make it easier to follow the API call structure in frame debuggers.
2020-09-14GL: Fix linking errors being useless.Clément Foucault
Now they will at least show the shader name
2020-09-14Fix T53073: force destroys particles rotationJacques Lucke
See the differential for some more information. Reviewers: mano-wii Differential Revision: https://developer.blender.org/D8891
2020-09-14Fix T73590: collection instance offset is not applied correctlyJacques Lucke
The instance offset should be applied before scaling. This way the scaling is done from the "collection origin". Reviewers: zeddb, brecht Differential Revision: https://developer.blender.org/D8889
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-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-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 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).