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-04-07Cleanup: BLI_path.h function renamingCampbell Barton
Use BLI_path_ prefix, more consistent names: BLI_parent_dir -> BLI_path_parent_dir BLI_parent_dir_until_exists -> BLI_path_parent_dir_until_exists BLI_ensure_filename -> BLI_path_filename_ensure BLI_first_slash -> BLI_path_slash_find BLI_last_slash -> BLI_path_slash_rfind BLI_add_slash -> BLI_path_slash_ensure BLI_del_slash -> BLI_path_slash_rstrip BLI_path_native_slash -> BLI_path_slash_native Rename 'cleanup' to 'normalize', similar to Python's `os.path.normpath`. BLI_cleanup_path -> BLI_path_normalize BLI_cleanup_dir -> BLI_path_normalize_dir BLI_cleanup_unc -> BLI_path_normalize_unc BLI_cleanup_unc16 -> BLI_path_normalize_unc16 Clarify naming for extracting, creating numbered paths: BLI_stringenc -> BLI_path_sequence_encode BLI_stringdec -> BLI_path_sequence_decode Part of T74506 proposal.
2020-04-07Cleanup: clang-formatCampbell Barton
2020-04-07UI: Use Consistent Operator NameAaron Carlisle
Was called "Subdivide Multi" in Bone Edit and "Subdivide" in Mesh Edit
2020-04-06GPU: Panel Drag Widget Drawing PerformanceJeroen Bakker
The 10g Intel/Win driver doesn't work well with our emulated intermediate mode. This patch alters the drawing of the drag widget of the panels to reduce unneeded drawing. The previous method would draw 16 boxes per widget. This new way would cache this drawing in a GPU batch and just move the matrix around. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7345
2020-04-06Don't take into account time remapping when scrubbing with AV sync.Sebastian Parborg
It would cause the playhead to be remapped to an other frame than the one you clicked on.
2020-04-06Fix user counting when ungrouping a node group.Maxim Vasiliev
Existing code for ungrouping did not correctly handle user counters: - counter for the group was not decremented - counters for containing nodes were not incremented The latter resulted in losing some nodes after orphan cleaning or several save/reload cycles. The bug did not have destructive consequences until recently, because it was compensated by another bug (fixed in rBe993667a46c2). Maniphest Tasks: T74665, T74682 Differential Revision: https://developer.blender.org/D7332
2020-04-06Cleanup: keep parameter docs above the function bodyCampbell Barton
2020-04-06Tracking: Fix (un)distortion happen in single threadSergey Sharybin
Need to communicate available number of threads to the camera intrinsics implementation, otherwise default value of 1 is used. Must have been single-threaded for a very long time.
2020-04-06Fix T75444: typo in tooltipJacques Lucke
2020-04-06Fix T74111: Animation Playback Delayed With Time Remapping And AV-SyncSebastian Parborg
When setting the current playback time in BKE_sound_play_scene we didn't account for the frame length. So the current frame/time would be wrong when we asked the audio playback what time it was. This would lead to playback being offset when using time remapping and AV sync. Reviewed By: Richard Antalik and Sybren A. Stüvel Differential Revision: http://developer.blender.org/D7248
2020-04-06Fix T75418: Outliner Blender File view has UNKNOWN category for armaturesPhilipp Oeser
Typo in rB57daecc2cf88. Maniphest Tasks: T75418 Differential Revision: https://developer.blender.org/D7346
2020-04-06Fix (unreported) wrong hair vertex colorsPhilipp Oeser
This was already fixed in rB985f33719ce9 once. But resurfaced after rB7070e4c15e6c [which just reverted a bit too much ;)]. Spotted while looking into T75263. Differential Revision: https://developer.blender.org/D7308
2020-04-06Tracking: Fix slow undistored displaySergey Sharybin
TH distortion model was not cached properly, making it so frame is undistorted on every redraw.
2020-04-06Fix f-curve sequencer versioning logicCampbell Barton
Screen loop was inside an existing screen loop, in the body of a function used to initialize the toolbar region.
2020-04-06Fix T75297: Apply base inflates meshes with Simple subdivisionSergey Sharybin
2020-04-06Fix T75311, T75310: Edit Weight Paint Overlay Render ArtifactsJeroen Bakker
During recent refactoring of the edit weight overlay we moved a assignment before it was valid. Making everything one frame off what resulted in a flashing frame during TAA, not drawing the overlay until a second action happened, making overlays too bright. The reason whas that the painting overlay wasn't initialized in the first sample, but the draw passes and groups were filled. Resulting in rendering the overlay twice or not at all. This change moves the assignment to where it is valid.
2020-04-06Cleanup: Add some comments removed in rB0d0036cb53f8Richard Antalik
2020-04-06Cleanup: spellingCampbell Barton
2020-04-06Fix displaying edit-mesh measurements with deform modifiersCampbell Barton
Resolves regression from 2.7x
2020-04-06Fix T74602: Sequencer slip operator ignores offset constraintsRichard Antalik
Limit offsets, so each strip contains at least 1 frame of content. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7288
2020-04-06VSE: Draw f-curves for opacity and volume values on the stripsRichard Antalik
Feature can be enabled or disabled in timeline view menu item "Show F-Curves". Author a.monti Reviewed By: ISS Differential Revision: https://developer.blender.org/D7205
2020-04-06VSE: don't allow strip preview when clicking on the scrubbing regionRichard Antalik
Don't set 'special preview' or Solo mode if scrubbing in scrubbing region. Author: a.monti Reviewed By: Severin Differential Revision: https://developer.blender.org/D7234
2020-04-06Cleanup: Fix comment style and check if they are valid or make sense.Richard Antalik
2020-04-06Cleanup: Use `_fn` as a suffix for callbacks in VSE codeRichard Antalik
2020-04-05Volumes: add volume.grids.frame_filepath to get the current frame filepathBrecht Van Lommel
This can be used by external renderers that can load OpenVDB files.
2020-04-05UI: Support split property layout for pointer search buttonsJulian Eisel
Pointer search buttons created with `uiItemPointerR()` (which allows also passing a collection property to search in) did not work with the split property layout (i.e. `uiLayout.use_property_split`). For example vertex group search buttons typically use this. Note that decorators (`uiLayout.use_property_decorate`) are not supported yet. Although if they are enabled, the decorator column is still created to keep the layout alignment visually intact. Also re-uses the existing hack to allow placing multiple items in the row before the decorator column. Needed for some in-progress changes to the modifier stack UI.
2020-04-05Cleanup: use const for 'clnors' argument where possibleCampbell Barton
2020-04-05Cleanup: macro hygiene, parenthesize argumentsCampbell Barton
2020-04-05Cleanup: differentiate the evaluation meshCampbell Barton
2020-04-04Cleanup: Split up Window-Manager VR file (and related changes)Julian Eisel
Splits up wm_xr.c into multiple files in their own folder: source/blender/windowmanager/xr. So this matches how the message bus and gizmo code have their own folder and files. This allows better structuring and should make the code scale better. I rather do this early on than to wait until we end up with a single, huge file. Also improves a bit how data is prepared and updated for drawing.
2020-04-04UI: Remove 'Simulation' from 'Fluid Simulation' modifierAaron Carlisle
This is conistent with other modifiers and is reduntent with the 'Simulate' menu header.
2020-04-04Cleanup: remove unused methodJacques Lucke
2020-04-04Cleanup: Rename Panel * variables from pa to panelHans Goudey
2020-04-04Cleanup: Move Detail Operators and Dyntopo to their own filesPablo Dobarro
2020-04-03Cleanup: Move Mask Filter and Mask Expand to their own filesPablo Dobarro
2020-04-03Cleanup: Move Mesh Filter, Smooth and Automasking to their own filesPablo Dobarro
2020-04-03fix (unreported): Weld Modifier: possible use of uninitialized variableGermano Cavalcante
2020-04-03Cleanup: Move all sculpt transform functionality to its own filePablo Dobarro
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Including "BLI_listbase.h" for LISTBASE_FOREACH macroDalai Felinto
These headers are not needed right away, but will be in the upcoming commit.
2020-04-03Cleanup: Missing clang format in previous commitPablo Dobarro
2020-04-03Cleanup: Move all Face Set functionality to its own filePablo Dobarro
2020-04-03Cleanup: Rename ExtensionRNA variables from ext to rna_extJulian Eisel
Makes it more clear that code using this is related to the RNA integration of a type. Part of T74432. Also ran clang-format on affected files.
2020-04-03Fluid: Refactored caching in main Mantaflow classSebastián Barschkis
This refactor cleans up code for the Manta file IO. It also improves the cache 'Replay' option.
2020-04-03Cleanup: clarification of 'name' in BKE_idtype functionsSybren A. Stüvel
The 'name' parameter of `BKE_idtype_idcode_from_name()`, and the `str` parameter of `idtype_get_info_from_name()`, are expected to be the 'user visible name' of an `IDTypeInfo` struct. This is made clearer in the code by renaming those parameters to `idtype_name` and mentioning it in the documentation of the `BKE_idtype_idcode_from_name()` function. Differential Revision: https://developer.blender.org/D7317
2020-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-04-03Cleanup: Fix build warning with MSVCRay Molenkamp
SubdivCCG was unknown when compiling gpuinit_exit.c
2020-04-03Fix T74495: Shrink/Fatten gives strange results with Individual OriginsGermano Cavalcante
The island `axismtx` is only necessary in some transform modes. In the case of `Shrink/Fatten`, the calculated `axismtx` brings an undesirable result. This commit rearrange the struct `TransIslandData` in order to calculate and reference only the arrays that will be used for each transform mode. Differential Revision: https://developer.blender.org/D7305
2020-04-03New Undo: Fix crash in some complex production files.Bastien Montagne
There is no guarantee that depsgraph is ran between two undo steps, so when re-using an existing data-block we should never wipe completly its recalc flags, but instead complement them with new ones from accumulated 'storage' as needed.
2020-04-03Cleanup: Rename bScreen variables from sc/scr to screenJulian Eisel
Part of T74432. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.