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-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-03-04Refactor ID make local to use a single flag parameter.Bastien Montagne
Instead of using anonymous booleans flags, also allows to keep the same behavior in all cases, without needing special handling from calling code for our beloved oddballs object proxies...
2020-03-04Cleanup: Rename 'make local' functions to new scheme.Bastien Montagne
Also removed some only used locally from the header, `BKE_lib_id.h` is already way too big, no need to overload it with unused things.
2020-02-19Cleanup: assign Main, use existing assignmentsCampbell Barton
Avoid accessing inline since it's often used multiple times. In some cases it was already defined.
2020-02-17Fix many typos and other issues in UI messages.Bastien Montagne
2020-02-10Cleanup: Rename `BKE_library_override_` functions to `BKE_lib_override_library_`Bastien Montagne
pqrt of T72604.
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-01-28Merge branch 'blender-v2.82-release'Bastien Montagne
2020-01-28Fix T66699 EEVEE: Material Preview "World" option doesn't workClément Foucault
Just hide the button for now.
2020-01-20Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-20Fixed secondary particle combined export functionalitySebastián Barschkis
The combined export was using the old flag format.
2020-01-17Fix T73190: Anim Player button in the status bar when scrubbingJulian Eisel
2020-01-16UI: Show animation cancel button in all status-barsJulian Eisel
Previously the button would only show up in the status-bar located in the same window that had the screen with the animation timer. I don't see a reason not to show the button in all status-bars instead, other animation feedback is also displayed in all windows. Fixes T72194.
2020-01-05Fix T72423: Incorrect tooltips in curve profile layoutJacques Lucke
2019-12-17Fluid: Fix particle settings typeSebastián Barschkis
2019-12-17Cleanup: clang-formatCampbell Barton
2019-12-16Mantaflow [Part 6]: Updates in /blender/sourceSebastián Barschkis
A collection of smaller changes that are required in the /blender/source files. A lot of them are also due to variable renaming. Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3855
2019-11-27Curve: CurveMapping Extend OptionJeroen Bakker
Extend options are currently stored per curve. This was not clearly communicated to the user and they expected this to be a setting per CurveMapping. This change will move the option from `Curve` to `CurveMapping`. In order to support this the API had to be changed. BPY: CurveMap.evaluate is also moved to CurveMapping.evaluate what breaks Python API. Cycles has been updated but other add-ons have not. After release of 2.81 we can merge this to master and adapt the add-ons. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6169
2019-11-26Fix preview Template-ID broken in vertical layoutsJulian Eisel
Old code worked pure "by luck". I fixed an error in rB5bcb0c993503 that made this "luck" go away. Special handling is needed for the preview layout.
2019-11-25UI: Allow label for Template-ID (respecting property split layout)Julian Eisel
Adds a `text` parameter to `bpy.types.uiLayout.template_ID()` which causes a label to be added, as usual. Adding the label also makes the template respect the `bpy.types.uiLayout.use_property_split` option. Also fixes wrong layout being used in the template-ID, although I think that didn't cause issues in practice. Sergey requested this for usage in the Movie Clip Editor.
2019-11-25UI: Reduce width of UI-List scrollbarsJulian Eisel
When scrollbars were redesigned, the size of UI-List scrollbars wasn't updated. Those were still huge. This makes their size consistent with other scrollbars and frankly, non-rediculous.
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-10-27UI: add utility to show icons for the keymap itemCampbell Barton
This is useful for drawing keymap items into the header or status bar While these icons are available directly, mapping them from the keymap item isn't trivial.
2019-09-19Cleanup: spellingCampbell Barton
2019-09-07Fix redo panel button alignmentCampbell Barton
Menu's in the redo panel left a space for decorators.
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-06Cleanup: function groupingCampbell Barton
Also rename widget color blending functions more clearly. - color_blend_v3_v3, was widget_state_blend - color_blend_v4_v4v4, was round_box_shade_col4_r - color_ensure_contrast_v3, was rgb_ensure_contrast
2019-09-06Cleanup: use doxy sectionsCampbell Barton
2019-09-06UI: Bring back features for file path buttonJulian Eisel
Adds back auto-completion and auto-creation (inserting a non-existing file-path would create it) for the file path button. The second feature was left out knowingly, but seems there are reasonable use cases for it. We can't add these features to the button in the Python script, we have to call into C. So using a template to do that. Note that this is based on the old file browser code, I've copied over the TODO comment.
2019-09-05LibOverride: add a generic macro to check whetehr an ID is overridable.Bastien Montagne
...and use it in code generating library overrides.
2019-09-05LibOverride: give more remapping control to ↵Bastien Montagne
`BKE_override_library_create_from_id()` too. Similar change to the one done for tagged IDs overriding some days ago. We do not always want to remap all local usages of a linked data-block to its new local overriding copy.
2019-08-30Fix interger number buttons increment/decrement arrows not working inPhilipp Oeser
some cases Since rB78b56fa7d973 defining a button with 'but->a1 = 0' wasnt automatically setting its step value to 1 in 'ui_do_but_NUM' anymore. Instead of handling this more forgiving in 'ui_do_but_NUM', went over the remaining cases of buttons and and defined them with a step value of 1. Fixes T69305 Reviewed By: brecht Maniphest Tasks: T69305 Differential Revision: https://developer.blender.org/D5631
2019-08-29LibOverride: Fix use-after-free error when freeing whole Main DB.Bastien Montagne
We do not want to touch to other ID pointers in that case, those might have already been freed...
2019-08-27UI: improve layout of curve widget clipping options popupYevgeny Makarov
Differential Revision: https://developer.blender.org/D5593
2019-08-27UI: fix some menus and popups not taking into account UI scale for paddingYevgeny Makarov
Differential Revision: https://developer.blender.org/D5581
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-19UI: replace "reports to text" operator with showing info logBrecht Van Lommel
This operator only existed to be able to see multiple reports, now instead the info log can be opened and contents can be copy/pasted. Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5510
2019-08-16Outliner: Draw constraint icons and enable buttonNathan Craddock
Draw all constraint icons and enable/disable restrict buttons. The action constraint needs its own icon. It currently draws white instead of the blue modifier color.
2019-08-16Cleanup: clang-formatCampbell Barton
2019-08-16UI: click on status bar report message now opens window with Info editorBrecht Van Lommel
Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5468
2019-08-06Cleanup: use BKE_ prefix for BKE_colortools.hCampbell Barton
2019-08-04Cleanup: improve commentsCampbell Barton
2019-08-01Fix T66028: Move sequence, movieclip and text editor progressbars to status barRichard Antalik
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5219
2019-07-07Cleanup: use BKE_packedfile prefix for function namesCampbell Barton
Avoid ambiguity with terms check & compare.
2019-06-17UI: remove redundant RNA_TYPE property in the key-map editorCampbell Barton
2019-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).