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-29Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-29Fix T79119: Hook modifier deformation not shown in edit mode.Bastien Montagne
Missing temp `BKE_mesh_wrapper_ensure_mdata` hack for the Hook modifier...
2020-07-29Particles: rename Size attribute to RadiusJacques Lucke
Doing this change for consistency with the point cloud attributes.
2020-07-29Particles: add Size attributeJacques Lucke
2020-07-28Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-28Fix T79180: Object disappears when scaled, set origin etc after applying ↵Bastien Montagne
smooth modifier. Very dummy mistake in modifier code would generate invalid number (divisions by zero)... Should also be ported to 2.83.
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-22UI: Use property split for simulation modifierHans Goudey
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-22UI: use term 'Vertex' instead of 'Vert'Yevgeny Makarov
2020-07-22Modifiers: option to preserve custom normals for subsurf & multiresCody Winchester
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-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-19Particles: Emit particles over timeJacques Lucke
This adds a basic internal emitter for every particle simulation. The emitter cannot be controlled by the user yet. That will come next.
2020-07-15Particles: use CD_PROP_FLOAT3 instead of CD_LOCATIONJacques Lucke
`CD_LOCATION` was only used temporarily due to the lack of a better alternative. This also removes the name from `CD_LOCATION` again, because at most one layer of this type should exist.
2020-07-15Revert "Cleanup: simplify Weld Modifier logic"Germano Cavalcante
This reverts commit 98b1a716d65f187a2499eba2475e4d456f8ed107. That commit broke a few modifiers.py tests (Screw+Weld and a weld merge threshold). And some pairs may be lost in the first loop.
2020-07-14Cleanup: simplify Weld Modifier logicGermano Cavalcante
The original code to rearrange the weld vertices map was confusing. It traverses the overlap result multiple times within a loop. This part of the code has therefore been rethought, simplified and commented. This also results in a slight improvement in the performance of the modifier.
2020-07-14Cleanup: sort header, cmake pathsCampbell Barton
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
2020-07-11Cleanup: spellingCampbell Barton
2020-07-09Particles: Create a simulation state for every Particle Simulation nodeJacques Lucke
Every Particle Simulation node has a name (or a path when it is in a node group). This name has to be used in the Simulation modifier on a point cloud to see the particles. Caching has been disabled for now, because it was holding back development a bit. To reset the simulation, go back to frame 1. Currently, there is no way to influence the simulation. There are just some randomly moving points. Changing that is the next step.
2020-07-08Apply Modifier: support applying as shape key and keeping the modifier.Alexander Gavrilov
This can be useful to save the result of a cloth simulation as a shape key without destroying the simulation, so it's possible to e.g. re-run it to get other shapes, or simply use the new shape key to start the simulation already in a draped state. It also makes sense to allow applying as shape key even when the mesh is shared, because the operation itself just adds a shape key. To support this, split the apply operator into Apply and Apply As Shapekey so that they can have different poll callbacks. Differential Revision: https://developer.blender.org/D8173
2020-07-03Cleanup: Deduplicate code for finding context objectHans Goudey
Instead of manually checking the pinned object, use the existing ED_object_active_context function. This requires adding const to the context in that function.
2020-07-03UI: Fix bevel modifier not showing vertex groupHans Goudey
2020-07-03Cleanup: Remove redundant logicHans Goudey
2020-07-03UI: Use sliders and [0, 1] ranges in ocean modifierHans Goudey
The ocean modifier has two properties that use a [0, 10] hard min and hard max. The values act as factors though, so it makes more sense to use sliders and a 0 to 1 range. This commit also bumps the file subversion to avoid repeatedly applying the change to the properties' range. Differential Revision: https://developer.blender.org/D8186
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-02UI: Use consistent order in ocean modifierHans Goudey
2020-07-02Ocean modifier: Expose eigenvectors for use as mapPhil Stopford
The eigenvectors in the ocean modifier (plus and minus) can be useful, but are not exposed. Assuming the particle system was capable, the eigenvectors could be used to drive spray emission velocities. This exposes the controls to allow a map to be generated from these eigenvectors. Currently, the values are mapped into a 0-255 range similar to foam. Differential Revision: https://developer.blender.org/D7182
2020-07-02UI: Small Tweaks to Modifier Layouts for ConsistencyHans Goudey
These changes are smaller, made based on feedback and a pass on all the layouts for clarity and consistency. The Multires modifier UI will be addressed in a separate patch. Here is an overview of the changes: Renaming Options: - Build: "Start" -> "Start Frame" - Curve: "From Radius" -> "Size from Radius" - Screw: "Calc Order" -> "Calculate Order" - Displace, Warp, Wave: "Texture Coordinates Object" -> "Object" Move Mode Toggle to Top & Expand: - Bevel, Boolean, Normal Edit, Subdivision Use Columns for Tighter Spacing: - Displace, Explode, Ocean, Particle Instance, Remesh, Shrinkwrap, Solidify, Warp, Weighted Normal, Wave Misc: - Bevel: Set inactive properties for vertex bevel - Mesh Sequence Cache: Remove box for cache file - Skin: Don't align "Mark Loose" and "Clear Loose" - Array: Expand relative offset subpanel by default - Array: Move start cap, end cap to a new subpanel - Bevel: Move width type above width Differential Revision: https://developer.blender.org/D8115
2020-07-02Fix T78513: Modifier apply shortcut not displayedHans Goudey
We can't specify the "apply_as" enum value, even though it's the default.
2020-07-01Cleanup: spellingCampbell Barton
2020-06-30Cleanup: spellingCampbell Barton
2020-06-29UI: Don't show modifier operation reports on button pressHans Goudey
The reports should only show when using shortcuts.
2020-06-29UI: Add shortcuts for modifier panelsHans Goudey
The shortcuts act on the modifier with its panel under the mouse. The following shortcuts are enabled by default: - Remove modifier: X, Delete - Apply modifier: Ctrl A - Duplicate modifier: Shift D More shortcuts can be added in the keymap. Each panel can now store a custom data RNA pointer, and a new function is added to get the custom data for the panel under the cursor. This custom data could be used to refactor the "List Panel System" to generalize it and integrate it further with RNA. The same functionality will be added in further commits where it applies to constraints, grease pencil modifiers, and effects. Differential Revision: https://developer.blender.org/D8031
2020-06-29Fix T78444: Duplicate "From Radius" in Cast Modifier UIHans Goudey
This button was meant to be "Use Transform"
2020-06-28UI: Remove duplicate modifier error messageHans Goudey
Thanks to J. Fran Matheu for pointing this out.
2020-06-27Docs: correct invalid doxygen params & referencesCampbell Barton
2020-06-26Fix T78269: Mirror modifier lost UV offset onlyHans Goudey
Also fixed an issue with a decorator in the same subpanel
2020-06-25Fix: Displace Modifier UV Layer UI not a pointerCody Winchester
The displace modifier's uv_layer property should be a pointer in the new UI like the other modifiers use. Differential Revision: https://developer.blender.org/D7990
2020-06-25Cleanup: spellingCampbell Barton
2020-06-23Refactor: move more modifier specific code out of readfile.cJacques Lucke
2020-06-23Refactor: move blenloader code of bevel modifierJacques Lucke
2020-06-23Refactor: move blenloader code of surface deform modifierJacques Lucke
2020-06-23Refactor: move more blenloader code into modifier filesJacques Lucke
2020-06-23Bevel: Refactor profile type input to use an enumHans Goudey
This will allow the easier addition of a constant radius mode in the future and some changes in the UI to mirror the recent similar change from "Only Vertices" to the "Affect" enum.
2020-06-22Fix (unreported) broken UI of modifiers for liboverrides.Bastien Montagne
Broken in recent refactor of modifiers UI code...
2020-06-22UI: Fix untranslated layout headingsJulian Eisel
2020-06-20Bevel: add new 'Absolute' mode for interpreting 'amount' value.Howard Trickey
This mode is like Percent, but measures absolute distance along adjacent edges instead of a percentage. So, for example, if you use this mode with 2 segments and profile=1, you will see the length that the bevel moves along unbeveled edges between beveled ones will match the value specified. Many users seem to expect this behavior, even though it means the bevel width is uneven, so this option is for them.