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-11-06Cleanup: use ELEM macroCampbell Barton
2020-10-30Cleanup: Use an enum to set instanced panel expansionHans Goudey
This commit uses an enum to access expansion for specific panels for each modifier, constraint, etc. Even though these values are quite simple, this can help make the code more explicit when the ui_expand_flag is accessed directly. Also update comments about this bitfield to make them consistent.
2020-10-27GPencil: New parameter in Texture modifier to rotate Dot texturesAntonio Vazquez
This new parameter allows to rotate the texture of any Dot or Square stroke. Differential Revision: https://developer.blender.org/D9343
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-10-21GPencil: Subdivide Cyclic section of strokes in modifierAntonio Vazquez
When use subdivision modifier, the close section of the stroke must be subdivided too.
2020-10-19Cleanup: Use BLI string functionsHans Goudey
It's better not to assume that strings passed as arguments will have the proper size.
2020-10-16UI: Align related propertiesHans Goudey
The start and end frame properties are generally aligned in one block.
2020-10-16Fix build error with clean buildsJulian Eisel
Needed after d1b3439b80fd6e. Think the error only happened with fresh builds, where dna_type_offsets.h didn't already exist. We have to do the same in other places too, see 8594cdb45684.
2020-10-15Cleanup: Use DNA defaults for grease pencil modifiersHans Goudey
This will make "Reset to Default Value" work properly for grease pencil modifiers. See T80164 for more information.
2020-10-01remove foreachObjectLink callbackJacques Lucke
This removes `foreachObjectLink` from `ModifierTypeInfo`, `GpencilModifierTypeInfo` and `ShaderFxTypeInfo`. There is no need to have both, `foreachObjectLink` and `foreachIDLink`. There is not code that actually depends on `foreachObjectLink`. Reviewers: brecht Differential Revision: https://developer.blender.org/D9078
2020-09-30Cleanup: use 'use_' prefix for RNA booleansCampbell Barton
Some of the naming was quite misleading.
2020-09-30Cleanup: sort struct declarationsCampbell Barton
2020-09-21Various fixes in UI messages.Bastien Montagne
Along some other typos in comments or variable names.
2020-09-12Cleanup: Remove GLEW dependencies outside of GL moduleClément Foucault
2020-09-03Fix T80289: GPencil Opacity modifier not workingAntonio Vazquez
This error was introduced in the refactor of the modifier panels.
2020-09-02UI: Use instanced panel custom data instead of list indexHans Goudey
For modifier shortcuts we added a "custom_data" field to panels. This commit uses the same system for accessing the list data that corresponds to each panel. This way the context is only used once and the modifier for each panel can be accessed more easily later. This ends up being mostly a cleanup commit with a few small changes in interface_panel.c. The large changes in the UI functions are due to the fact that the panel custom data is now passed around as a single pointer instead of being created again for every panel. The list_index variable in Panel.runtime is removed as it's now unnecessary. Differential Revision: https://developer.blender.org/D8559
2020-08-18Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframeJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8613
2020-08-08Cleanup: use array syntax for sizeof with fixed valuesCampbell Barton
Also order sizeof(..) first to promote other values to size_t.
2020-08-07Cleanup: declare arrays arrays where possibleCampbell Barton
2020-08-07Cleanup: Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule. This should be the final commit of the series of commits that addresses this particular rule. No functional changes.
2020-08-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06Cleanup: avoid debug-only includes for BLI_assert.hCampbell Barton
Having includes in debug builds makes it possible to accidentally break release builds. Avoid this by moving calls to other modules out of BLI_assert.h into BLI_assert.c
2020-08-04Merge branch 'blender-v2.90-release'Bastien Montagne
Conflicts: source/blender/editors/gpencil/gpencil_primitive.c
2020-08-04Cleanup: typos & co in UI messages (and some other places).Bastien Montagne
2020-08-01Cleanup: use term init instead of initialize/initialiseCampbell Barton
The abbreviation 'init' is brief, unambiguous and already used in thousands of places, also initialize is often accidentally written with British spelling.
2020-07-27GPencil: Scale stroke thickness when use Offset modifier scaleAntonio Vazquez
2020-07-14Gpencil: Simplify modifier sample mode minimal vert count fix.Antonio Vazquez
For this mode is possible use strokes of 2 points. Differential revision: https://developer.blender.org/D8138
2020-07-14GPencil: Cleanup Build modifier and fix potential div by zero errorsAntonio Vazquez
2020-07-14Cleanup: sort header, cmake pathsCampbell Barton
2020-07-04Fix T78603: GPencil Noise modifier Vertex Group influence filter missingAntonio Vazquez
This was removed by error during the last refactor of modiifers.
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-03Fix T78527: GPencil Mirror modifier is inconsistent with Mesh Mirror (redo)Philip Holzmann
Simply the same code the regular mesh mirror modifier uses. Differential Revision: https://developer.blender.org/D8188
2020-07-02GPencil: Cleanup - More rename from gp_ to gpencil_Antonio Vazquez
2020-07-02Fix T78527: GPencil Mirror modifier is inconsistent with Mesh MirrorAntonio Vazquez
The grease pencil mirror was using the current axis rotation but the mesh modifier doesn't use it.
2020-06-30UI: Add shortcuts for grease pencil modifier panelsHans Goudey
See rB1fa40c9f8a81 for more details. The implementation is the same. The only difference to the mesh modifier commit is a slight rework of edit_modifier_invoke_properties in order to pass through to check for other keymap items with the same shortcut.
2020-06-25Cleanup: spellingCampbell Barton
2020-06-22UI: Fix untranslated layout headingsJulian Eisel
2020-06-19UI: Grease Pencil Modifier Drag and Drop, Layout ChangesHans Goudey
This patch implements the list panel system D7490 for grease pencil modifiers. It also moves their drawing to a callback in GpencilModifierTypeInfo in line with the extensible architecture refactoring goal T75724. This also adds the "set_error" function for grease pencil modifiers, which hadn't been copied from mesh modifiers yet. The implementation is basically exactly the same as for the modifier patch (9b099c86123fc82). Thanks to Matias Mendiola (mendio) for providing mockups for many of the layout changes. Differential Revision: https://developer.blender.org/D7978
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-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-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Cleanup: make formatCampbell Barton
2020-05-23Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-23GPencil: Fix unreported Noise modifier does not work in axis aligned strokesAntonio Vazquez
If the stroke is totally straight, the normal was not calculated properly.