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-23Cleanup: update comments, remove disabled codeCampbell Barton
2020-07-23Cleanup: remove redundant static variable useCampbell Barton
This hasn't been needed since Python 3.7x.
2020-07-23Cleanup: replace wchar_t with char32_t 3D text accent inputCampbell Barton
2020-07-23Cleanup: rename Curve.len_wchar to len_char32Campbell Barton
The name was misleading as the length is for char32_t, not wchar_t.
2020-07-23Cleanup: unused argumentCampbell Barton
2020-07-22Simulation: add todo commentJacques Lucke
2020-07-22Nodes: add missing update tags in the case of simulation node treesJacques Lucke
2020-07-22Depsgraph: build ids referenced by socketsJacques Lucke
2020-07-22Simulation: move responsibility of updating persistent data handlesJacques Lucke
This solver should not be responsible for updating the handles.
2020-07-22Simulation: fix memory leakJacques Lucke
2020-07-22Simulation: improve depsgraph integrationJacques Lucke
A simulation data block has an embedded node tree, which requires special handling in a couple of places. Some of those places were missing beforehand. This also adds a relation to make sure that the simulation is evaluated after animations on the embedded node tree are evaluated.
2020-07-22Fix T79144: Snapping bypassing the viewport backface cullingGermano Cavalcante
Silently activate the backface culling when the viewport is using.
2020-07-22Cleanup: Fix strict compiler warningSergey Sharybin
2020-07-22Merge branch 'blender-v2.90-release'Hans Goudey
2020-07-22Fix T79160: Bevel modifier set to vertices by defaultHans Goudey
Need to properly initialize the affect_type field.
2020-07-22master is now 2.91.0 alpha.Nathan Letwory
2020-07-22Merge branch 'blender-v2.90-release'Nathan Letwory
2020-07-22Release branch is now in beta.Nathan Letwory
2020-07-22UI: Use property split for simulation modifierHans Goudey
2020-07-22Object: add-object option to place on the surface normalCampbell Barton
Optionally use the surface normal under the mouse cursor.
2020-07-22Particles: give emitter its own stateJacques Lucke
High quality emitters need to maintain state themselves. For example, this it needs to remember when it spawned the last particle. This is especially important when the birth rate is changing over time. Otherwise, there will be very visible artifacts. It is quite likely that other components of the simulation need their own state as well. Therefore, I refactored the `SimulationState` type a bit, to make it more extensible. Instead of using hardcoded type numbers, a string is used to identify the state type. Also, instead of having switch statements in many places, there is a new `SimulationStateType` that encapsulates information about how a specific state is created/freed/copied/... I removed the integration with the point cache for now, because it was not used anyway in it's current state.
2020-07-22GPencil: New BKE function for setting random vertex colorAntonio Vazquez
This function is very handy for debug purposes.
2020-07-22UI: use term 'Vertex' instead of 'Vert'Yevgeny Makarov
2020-07-22Fix UV select flush error in recent loop select cleanupCampbell Barton
Regression from d99b343b31e76
2020-07-22Cleanup: minor changes to doxy sections and namingCampbell Barton
Use py_bl_math prefix instead of M_Math.
2020-07-22Modifiers: option to preserve custom normals for subsurf & multiresCody Winchester
2020-07-22Fix T79148: UV Edge ring select doesn't select edgesCampbell Barton
While UV doesn't yet support edge selection, it can when sync select is enabled.
2020-07-22Cleanup: spellingCampbell Barton
2020-07-22GPU: clear color with 1.0 alphaChristian Rauch
This impacts GHOST/Wayland which draws windows using alpha.
2020-07-22VR: Change how landmarks affect viewer poseJulian Eisel
* Changing to a landmark moves the view exactly to it, rather than keeping the current position offset. * Disabling positional tracking moves the viewer back to the landmark position. This is a more predictable and practical way to use landmarks. See feedback in T71347. On the code side, I did some cleanup so the logic flow is more clear. Note: This is entirely untested. I currently don't have access to a device. There might be issues, tomorrow I'll hopefully get feedback.
2020-07-21Sculpt: Add extra deform types to SlidePablo Dobarro
This adds extra deform modes to the slide mode of the Topology Slide/Relax brush (both slide and smear are almost identical). This is useful to move topology to a specific area to add more localized details Reviewed By: sergey Differential Revision: https://developer.blender.org/D8349
2020-07-21Sculpt: Support pen pressure modulation in Paint Brush propertiesPablo Dobarro
This allows to use pen pressure modulation in hardness, wet mix, wet persistence, flow and density, as well as inverting the modulation (more pressure, less density...). With this, it is possible to create brushes that mix paint or apply a new color based on the pressure. Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D8267
2020-07-21Bevel: Refactor "Vertex Only" to an enumHans Goudey
This matches the change that was done to the bevel modifier so that the interface for the modifier, the active tool, and the operator are consistent. This commit extends the refactor to the bmesh implementation too, so that the parameters in the implementation don't stray too far from what is exposed. Tests are adjusted and still pass.
2020-07-21Fix T79056: Topology automasking artifacts in multiresPablo Dobarro
Both to_v and form_v need to be included. From_v is needed to include the active vertex when there is only one vertex in the radius of the brush, to_v needs to be included to add all grids duplicates Reviewed By: sergey Maniphest Tasks: T79056 Differential Revision: https://developer.blender.org/D8347
2020-07-21Fix T79007: Smooth brushes crasing in dyntopoPablo Dobarro
The custom smooth functions for bmesh and meshes where removed and replaced by a generic smooth function using the sculpt API, which needs to initialize the bmesh indices in order to be used Reviewed By: sergey Maniphest Tasks: T79007 Differential Revision: https://developer.blender.org/D8333
2020-07-21Cleanup: move 'int i' declarationGermano Cavalcante
It is preferable that the value used for interators is defined close to where it is used.
2020-07-21Drivers: add lerp and clamp functions to namespace.Alexander Gavrilov
Implementation of lerp without a function requires repeating one of the arguments, which is not ideal. To avoid that, add a new function to the driver namespace. In addition, provide a function for clamping between 0 and 1 to support easy clamped lerp, and a smoothstep function from GLSL that is somewhat related. The function implementations are added to a new bl_math module. As an aside, add the round function and two-argument log to the pylike expression subset. Differential Revision: https://developer.blender.org/D8205
2020-07-21Particles: initial object socket and emitter node supportJacques Lucke
Object sockets work now, but only the new Object Transforms and the Particle Mesh Emitter node use it. The emitter does not actually use the mesh surface yet. Instead, new particles are just emitted around the origin of the object. Internally, handles to object data blocks are passed around in the network, instead of raw object pointers. Using handles has a couple of benefits: * The caller of the function has control over which handles can be resolved and therefore limit access to specific data. The set of data blocks that is accessed by a node tree should be known statically. This is necessary for a proper integration with the dependency graph. * When the pointer to an object changes (e.g. after restarting Blender), all handles are still valid. * When an object is deleted, the handle is invalidated without causing crashes. * The handle is just an integer that can be stored per particle and can be cached easily. The mapping between handles and their corresponding data blocks is stored in the Simulation data block.
2020-07-21UI: Adjust Multiresolution Modifier LayoutHans Goudey
Adjusting the layout for this modifier is the final part of the modifier UI project for 2.90. This layout exposes the most important information, the levels and subdivision controls, by default, putting other contols in collapsed subpanels. Note that there is empty space for the "Delete Lower" button that is still planned for 2.90. And there will also eventually be more items added to the "Shape" panel, maybe for 2.90. Differential Revision: https://developer.blender.org/D8187
2020-07-21UI: Use consistent layout for custom operator UIHans Goudey
Operators are one of the last places in Blender to use older UI designs that don't fit in with recent style conventions. This commit updates these custom operator UI callbacks for consistency and clarity. Some of the code is also simplified a lot. Some of the older operator layouts were much more complex (in terms of code) than they needed to be. See the differential revision for a before and after screenshot of each operator. Differential Revision: https://developer.blender.org/D8326
2020-07-21UI: Add an outer boundary for edge panning, use in outlinerHans Goudey
Currently if you drag and drop an item from the outliner elsewhere in the Blender window, the outliner will scroll the entire time, even if the mouse is far away. This commit adds optional behavior for the edge pan operator that makes it only act if the mouse is close enough to the region. Differential Revision: https://developer.blender.org/D8193
2020-07-21Cleanup: Comments.Bastien Montagne
2020-07-21Fix (unreported) broken code in recent override operator enhancements.Bastien Montagne
When overriding a whole linked collection from a single object in 3DView, said 'reference' object would be removed by code. We only want that behavior when overriding from an instanciating Empty.
2020-07-21Fix T78994: Clear selected pose doesn't work without animationHans Goudey
It looks like the code left this as a todo, but the basic solution is to add an extra parameter to BKE_bose_rest to check whether bones are selected before reseting them. I also corrected the operator description which said it acted on only selected bones even when there is an option to turn that off. The "act on selected" is generally implied for Blender's operators anyway. Differential Revision: https://developer.blender.org/D8319
2020-07-21Cleanup: CodeQuality: Replace OB_DRAWXRAY by OB_DRAW_IN_FRONTClément Foucault
This is to match the option name and to avoid confusion with workbench xray mode.
2020-07-21Fluid: Cleanup unused variablesSebastián Barschkis
2020-07-21Tests: IO, fixed a memory leak in the USDHierarchyIteratorTestSybren A. Stüvel
No functional changes to Blender.
2020-07-21Cleanup: IO, renamed `delete_object_writer()` → `release_writer()`Sybren A. Stüvel
The function is called for all writers, not just 'object' writers. Furthermore, it's called by the function `release_writers()`, so now the name is consistent with that as well. No functional changes.
2020-07-21Tests: fix link errors when USD and Alembic are disabledSybren A. Stüvel
The unit tests for `bf_io_common` didn't actually link against `bf_io_common`, so when both USD and Alembic were disabled, nothing would link against that library and building the tests would fail.
2020-07-21Fix T79112: Redo shrink/fatten uses negative valuesCampbell Barton
The numbers in the redo panel were negated compared to the value entered while transforming.