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-07-30IMB: Refactor util_gpu.c to not expose enum gettersClément Foucault
This was causing compiler error on MSVC and is not a good idea in general.
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Fix T79207: Crash converting curve to meshCampbell Barton
2020-07-30Cleanup: split curve bevel into separate fileHans Goudey
2020-07-30Cleanup: spellingCampbell Barton
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30Cleanup: Rename defineHans Goudey
*_LEN follows names elsewhere in Blender more closely than "_N_"
2020-07-29Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-29Fix T78285: Invalid thread safety in shrinkwrap modifier code.Bastien Montagne
This uses mesh's runtime mutex for both `BKE_mesh_runtime_looptri_ensure` (was using its own global RW mutex before), and `BKE_mesh_wrapper_ensure_mdata` (was not protected at all before). This is more like a band-aid than a proper fix, as mentioned in the report proper fix would be for the modifier to request those data (the relevant BVHTree, which would implicitely also call the tow others) through flags, just like it does for regular CDData layers. But this is a much bigger refactor to be done outside of bugfix scope. Reviewed By: sergey Maniphest Tasks: T78285 Differential Revision: https://developer.blender.org/D8415
2020-07-29Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-07-29Cleanup: GPU: Move Image based function to GPU_draw.hClément Foucault
This makes it less confusing what functions are for blender structures.
2020-07-29Cleanup: Remove deprecated comment.Bastien Montagne
2020-07-29Cleanup: Always keep unlock at same level as lock.Bastien Montagne
This was fine in those cases with current code, but that kind of assumption is always risky, and an open door to hard-to-track bugs when code changes in the future...
2020-07-28Cleanup: too small loop variableJacques Lucke
2020-07-28Merge branch 'blender-v2.90-release'Jacques Lucke
2020-07-28Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-28Fix T54544: "Copy Materials to Selected" only works when materials are ↵Bastien Montagne
defined on the mesh. Build a temp matarray storing materials from obdata and source object (depending on slots 'allocation' of source object), and assign those to targets. Also remove limitation of 'using same obdata is forbidden', just never edit obdata materials in that case... Certainly not perfect, but already much better than existing code.
2020-07-28Cleanup: correct usage of extern-C blocks in various placesJacques Lucke
This removes extern-C blocks around other includes and adds such blocks for some headers that need them.
2020-07-28Cleanup: spelling, commentsCampbell Barton
2020-07-28Cleanup: Commented `BKE_object_moves_in_time()` does not consider physicsSybren A. Stüvel
When an object is moved only by the rigid body physics system, the function `BKE_object_moves_in_time()` will incorrectly return `false`. This commit adds a comment to make this behaviour more explicit. No functional changes.
2020-07-28Cleanup: spelling fix in commentSybren A. Stüvel
2020-07-28Cleanup: remove redundant return statementJacques Lucke
This was found by clang-tidy.
2020-07-28Merge branch 'blender-v2.90-release'Campbell Barton
2020-07-28Fix T79341: Crash evaluating curveCampbell Barton
2020-07-27Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-07-27Fix T79074: Mesh Topology info not being updated after changesPablo Dobarro
All these data arrays are created for a specific topology, so they should be freed and updated when the PBVH rebuilds. Previously, this was only happening when freeing the SculptSession, but it also needs to happen in BKE_sculpt_update_object_before_eval to avoid reusing out of date data. Reviewed By: sergey Maniphest Tasks: T79074 Differential Revision: https://developer.blender.org/D8357
2020-07-27Fix T78242: Crash when using a Sculpt color tools that needs connectivity ↵Pablo Dobarro
for the first time When there is no color layer available, BKE_sculpt_update_object_for_edit creates a new one and tags the mesh with ID_RECLAC_GEOMETRY, so this layer is inmediatly available when the tool starts. This also deletes the PBVH and when it is created again in BKE_sculpt_update_object_after_eval, the pmap is not initialized, making the tool crash. This moves the color layer creation to a separate function outside BKE_sculpt_update_object_for_edit, which now runs after the color layer is available, so it won't need to update again and the pmap will still be available when the tool is used. Reviewed By: sergey Maniphest Tasks: T78242 Differential Revision: https://developer.blender.org/D8135
2020-07-27Particles: initial support for events and actionsJacques Lucke
The following nodes work now (although things can still be improved of course): Particle Birth Event, Praticle Time Step Event, Set Particle Attribute and Execute Condition. Multiple Set Particle Attribute nodes can be chained using the "Execute" sockets. They will be executed from left to right.
2020-07-27Cleanup: Fix compiler warning about missing parenthesesSybren A. Stüvel
The code was well-defined, given that `&&` binds stronger than `||`, but still GCC warns about this. No functional changes.
2020-07-27Cleanup: quiet warningJacques Lucke
2020-07-27Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-27Cleanup: comments.Bastien Montagne
2020-07-27Cleanup: Minor renaming.Bastien Montagne
2020-07-26Fluid: Added new option to control the maximum number fluid particles in the ↵Sebastián Barschkis
simulation New option that lets users the define the maximum number of fluid particles that will be allowed in the simulation. This can come in handy, for example, to ensure that the particle count will not exceed the hardware capabilities, or to avoid excessive amounts of particles in a scene.
2020-07-26Fluid: Added new option to control the maximum number fluid particles in the ↵Sebastián Barschkis
simulation New option that lets users the define the maximum number of fluid particles that will be allowed in the simulation. This can come in handy, for example, to ensure that the particle count will not exceed the hardware capabilities, or to avoid excessive amounts of particles in a scene.
2020-07-26Cleanup: Image: Rename redundant enum for clarityClément Foucault
2020-07-26Cleanup: GPU: Remove GPU_glew.h outside of GPU moduleClément Foucault
Remove use of GL* constants and types inside the codebase. There is still a few occurence to get rid of.
2020-07-26VSE: Refactor delete operator and APIRichard Antalik
Operator logic is limited to iterating over selection and executing same code as python API does. Functional changes: - No attempt to preserve effects is made. Dependant effects are deleted. - No attempt to change meta strip boundaries. Partially fixes T73828 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6892
2020-07-26Merge branch 'blender-v2.90-release'Richard Antalik
2020-07-26Fix T74958: Infinite loop on using strip as modifier maskRichard Antalik
Add recursion check before assigning strip as a mask for modifier. Same check is used for recursion check when reassigning effect input, so it should not be possible to create recursion at all.
2020-07-26Fix T78999: Crash when adjusting sequencer propertyRichard Antalik
Sequencer was not initialized yet, and RNA update function tried to clean up cache. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8323
2020-07-26Merge branch 'blender-v2.90-release'Campbell Barton
2020-07-26Fix T79272: Dimensions fail on negative scaled axisCampbell Barton
2020-07-25Simulation: cleanup dna dataJacques Lucke
2020-07-25Merge branch 'blender-v2.90-release'Campbell Barton
2020-07-25Fix T72622: Transform object origin ignores shape keysCampbell Barton
D8367 by @paul2t with edits.
2020-07-24GPencil: Add more randomness to random stroke colorAntonio Vazquez
The old method produce a small range of similar colors.
2020-07-24Cleanup: use doxy sections, update comments missed from refactorCampbell Barton
2020-07-23Cleanup: avoid zero byte memcpyJacques Lucke
Asan reports warnings because of this.