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-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.
2020-06-19Cleanup: SpellingHans Goudey
2020-06-17UI: Solve crash with move to index in modifier menuHans Goudey
2020-06-17UI: Improve Modifier Panel Header MenuHans Goudey
This makes a few changes to the modifier panel header: 1. Adds "move to top" and "move to bottom" buttons. 2. Adds a checkmark icon for "apply" 3. Makes it narrower, the text is closer to the dropdown icon. (Requires the change in ui_block_func_POPUP) Differential Revision: https://developer.blender.org/D8040
2020-06-17UI: Modifier Panel Header ImprovementsHans Goudey
This includes a few improvments: 1. Always expose delete. This is the button everyone wants the most, it makes a lot of sense to expose this. 2. Improve "name hiding capability." Basically always align the mode buttons to the right, and count their number to see if the name fits. 3. Aligns more items, to look better, save space, and make the whole header seem more grouped. 4. In my tests the "switch contexts" button never coincides with the delete button, so they share the same space. Differential Revision: https://developer.blender.org/D8037
2020-06-16Refactor: move .blend read/write of mesh deform modifier to MOD_meshdeform.cJacques Lucke
2020-06-15Refactor: use new blenloader api for laplacian deform modifierJacques Lucke
2020-06-15Modifiers: New callbacks for reading and writing .blend filesJacques Lucke
This is part of a greater blenloader decentralization effort (T76372). For modifiers the goal is that fewer files have to be modified when a new modifier is added. This patch just adds the `blendWrite` and `blendRead` callbacks to `ModifierTypeInfo` but does not change any other code yet. In the next steps, modifier specific code will be moved from `writefile.c` and `readfile.c` into their corresponding `MOD_*` files.
2020-06-15Fix T77596: UI: Correct "offset even" location in solidify modifierHans Goudey
This only applies in the "simple" solidify mode. Differential Revision: https://developer.blender.org/D7967
2020-06-13Cleanup: naming for lattice deform functionsCampbell Barton
- BKE_lattice_deform_data_create was init_latt_deform. - BKE_lattice_deform_data_destroy was end_latt_deform. - BKE_lattice_deform_data_eval_co was calc_latt_deform.
2020-06-13Modifier: skip edit-mesh conversion for armature, curve & latticeCampbell Barton
This is an improvement over 2.7x which converted edit-mesh to mesh (CDDM) for all 3 modifiers. Overall this increases performance in edit-mode by around 15-20%.
2020-06-12Cleanup: split object data deform functions into their own filesCampbell Barton
Move armature/curve functions into their headers, they were previously in BKE_lattice.h
2020-06-12Cleanup: minor changes to deform functionsCampbell Barton
- Use 'float (*)[3]' to avoid casts. - Remove unnecessary float[3] copy in gpencil_deform_verts. - Use MEM_SAFE_FREE - Use const arguments.
2020-06-12Cleanup: split deform functions that take target object-dataCampbell Barton
Prefer meaningful function names over redundant NULL arguments. Also clarify variable names as it wasn't obvious the object-data is part of the object target.
2020-06-12Cleanup: use BKE_ prefix for deform functionsCampbell Barton
2020-06-10Cleanup: improve custom data type namesJacques Lucke
This is related to T76659. This just renames data type names to `CD_PROP_STRING`, `CD_PROP_FLOAT` and `CD_PROP_INT32`. It makes them a bit more specific and removes unnecessary abbreviations. Reviewers: brecht Differential Revision: https://developer.blender.org/D7980
2020-06-10Cleanup: move BKE_mesh_wrapper functions into own headerCampbell Barton
2020-06-10Fix T77632: Deform modifier auto-binding not workingCampbell Barton
Regression in deaff945d0b96
2020-06-09Fix missing animation decorators for pointer buttonsJulian Eisel
Also, remove manually placed decorator for vertex groups in modifiers. This was only needed because of this bug, and the layout was slightly misaligned.
2020-06-09BLI: rename ArrayRef to SpanJacques Lucke
This also renames `MutableArrayRef` to `MutableSpan`. The name "Span" works better, because `std::span` will provide similar functionality in C++20. Furthermore, a shorter, more concise name for a common data structure is nice.
2020-06-09BLI: put C++ data structures in "blender" namespace instead of "BLI"Jacques Lucke
We plan to use the "blender" namespace in other modules as well.
2020-06-08Simulations: initial simulation state and cacheJacques Lucke
The current particle state is stored in a `CustomData` instance and the cache is stored in `PointCache`. The current state exists on the copy-on-write copies of the simulation, while the cache only exists in the original data block. This patch implements a temporary trivial particle simulation that does not use the node system yet. It is used for testing and will be replaced soon. `PointCache` still has some limitations that need to be overcome using separate refactorings. For example, we need to be able to store the number of particles in the point cache. Also we need to change which attributes are stored for a particle system more dynamically than is currently possible afaik. Reviewers: brecht Differential Revision: https://developer.blender.org/D7836
2020-06-08Revert "UI: Bevel: Show Offset type before offset amount"Aaron Carlisle
This reverts commit f50222ba2e3e4aa461c23b4f0b3f3382a9e0632c.
2020-06-08Modifiers: fix copy paste mistake in recent refactorJacques Lucke
2020-06-08UI: Fix Wrong UI Label after recent modifier changesAaron Carlisle
2020-06-08UI: Bevel: Show Offset type before offset amountAaron Carlisle
Because this controls how the amount is used in should be set first and is more important therefor place it at the top. This is also consistent with other areas in Blender
2020-06-08UI: Modifiers: Use Falloff subpanel for Weight ProximityAaron Carlisle
This makes the UI consitent with the weight edit modifier
2020-06-08UI: Use Proper Title CaseAaron Carlisle
2020-06-07Fix T77487: Only disable Multires Buttons in Edit ModeHans Goudey
Previously the operator buttons were disabled in every mode but edit mode and sculpt mode.
2020-06-05UI: Apply Latest Changes to Multires ModifierHans Goudey
These changes didn't make it through the transition to the new UI layout. - Add "has_displacement" check - Add "sculpt_levels" property - Give subdivide operators the operator name so they work
2020-06-05UI: Drag and Drop Modifiers, Layout UpdatesHans Goudey
This patch implements the list panel system D7490 for modifiers. It also moves modifier drawing to a callback in ModifierTypeInfo in line with the extensible architecture refactoring goal T75724. This adds a PanelRegister callback and utilities for registering panels and subpanels. It also adds the callbacks for expansion saving and drag and drop reordering described in D7490. These utilities, callbacks, and other common UI elements shared between modifiers live in MOD_ui_common.c. Because modifier buttons are now in panels, we can make use of subpanels for organization. The UI layouts also use the single column layout style consistently used elsewhere in Blender. Additionally, the mode-setting buttons are aligned and ordered consistently with the outliner. However, the large number of UI changes in this patch may mean that additional polishing is required in master. Thanks to William Reynish (@billreynish) who did a fair amount of the layout work and to Julian Eisel (@Severin) for consistent help. Differential Revision: https://developer.blender.org/D7498
2020-06-02Fix T66967: skin modifier crash scaling skin radius to zeroCampbell Barton
2020-06-02BVHCache: PerformanceJeroen Bakker
This patch changes the BVHCache implementation. It will use a primitive array in stead of the ListBase. The locking is also changed from a global lock to a per cache instance lock. The performance of `gabby.blend` available on the cloud increased from 9.7 fps to 10.5 fps. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7817
2020-05-29Modifiers: add invert vgroup weights options to operands of Mix modifier.D. O
Please note that vertices which are in a vgroup are not affected by this option (which means that affected vertices from 'selection' modes remain the same). Only the weights of selected vertices get inverted. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7811
2020-05-26Modifiers: Add normalize weights option to vertex weight modifiersCody Winchester
Original patch by Cody Winchester (@CodyWinch), several fixes and cleanup by Bastien Montagne (@mont29). Differential revision: https://developer.blender.org/D7656
2020-05-25Mesh: skip conversion from edit-mesh to mesh in edit-modeCampbell Barton
This resolves a performance regression in 2.8x where every edit-mode update performed an edit-mesh to mesh conversion. Now the conversion will be lazily initialized if/when it's required. New BKE_mesh_wrapper_* functions abstract over mesh data access. Currently only edit-mesh and regular meshes are supported. In the future sub-surface meshes may be supported too.