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
2019-05-03UI: Pass color id into view2d text drawingJacques Lucke
2019-05-03Fix missiong collection move line in outliner after recent changesHarley Acheson
Differential Revision: https://developer.blender.org/D4781
2019-05-03Refactor: Support arbitrary y offset for channel listJacques Lucke
At first you could think that this refactor would not be necessary, because `ACHANNEL_FIRST` exists already. It contained the small y offset that all channels had. Unfortunately, a lot of code assumed that `ACHANNEL_FIRST = -ACHANNEL_HEIGHT`, making the define pretty much useless. This refactor fixes that for the action and nla editor. As a nice side effect, this patch fixes channel box select. Before there was always have a half-channel offset. Reviewers: brecht Differential Revision: https://developer.blender.org/D4783
2019-05-03Depsgraph: Remove filtering APISergey Sharybin
This was an attempt to speed up motion path calculation, which didn't really work in real world animation files, where animators already hide and disable all the heavy collections. Filtering approach also doesn't allow to have multiple frames evaluated in multiple threads easily. Filtering also adds extra complexity on keeping the graph in a correct and consistent state. Fixes T64057: Blender crash when use motion paths
2019-05-03UI: Display panel tweaksWilliam Reynish
- Use Display As rather than Draw Type, following naming conventions - Rename Advanced subpanel to Stretching, since that more accurately describes what it's for
2019-05-03Revert "Cleanup: add semicolon after PyObject_VAR_HEAD"Campbell Barton
This reverts commit a01bcfa6366f893fbc8fdbf537d91ece4832ea03. This causes MSVC2019 build to fail with error C2059 Unfortunately this means we have to put up with bad formatting in Python structs.
2019-05-03Fix T59474: Crash assign shortcutsCampbell Barton
2019-05-03Fix active tool side-bar redrawing on tool changeCampbell Barton
2019-05-03Fix tool header message subscriberCampbell Barton
2019-05-03Cleanup: replace RGN_ALIGN_ENUM_MASKCampbell Barton
This was only used once, other checks were masking out RGN_SPLIT_PREV which isn't future proof (if other flags are added). Add RGN_ALIGN_ENUM_FROM_MASK macro, use it everywhere we need to check the alignment enum.
2019-05-03Cleanup: add semicolon after PyObject_VAR_HEADCampbell Barton
clang-format doesn't expand macros, add semicolon to prevent misleading formatting.
2019-05-03Cleanup: warningsCampbell Barton
Quiet extra-semi-stmt & missing-variable-declarations
2019-05-03Defaults: disable developer extrasCampbell Barton
Was enabled by accident when updating startup.blend.
2019-05-03DNA: remove unused 'osa' memberCampbell Barton
Also correct unused flag comment, use doxy cross references.
2019-05-02Fix T64072: DynamicPaint: Bake failed: Canvas mesh not updatedSergey Sharybin
Baking is to happen form within an evaluated scene.
2019-05-02Fix T63997 Weird z-fight during weight paintClément Foucault
PBVH drawing was used even in weightpaint/vertexpaint because both uses the sculpt session.
2019-05-02Cleanup: Draw Manager: remove DRW_state_invert_facingClément Foucault
2019-05-02GPencil: New API to remove grease pencil material settingsAntonioya
This is required for some add-ons Example use: ma = bpy.data.materials[0] # create settings bpy.data.materials.create_gpencil_data(ma) # remove settings bpy.data.materials.remove_gpencil_data(ma) Related to T63707
2019-05-02Workbench,EEVEE: Viewport Render SamplesJeroen Bakker
- Add `render_aa` and `viewport_aa` sampling setting for workbench. 0 samples means no AA, 1 sample uses FXAA and more samples will use TAA. The viewport `gpu_viewport_quality` can still limit viewport anti-aliasing method. - Use TAA when rendering images. (this used to be CPU based FSAA) - Removed `R_OSA` related settings. Reviewers: fclem, brecht Maniphest Tasks: T60847 Differential Revision: https://developer.blender.org/D4773
2019-05-02Pose slide / relax: fix various issuesBrecht Van Lommel
* Fix operator adjust settings not working. * Fix modal operator not working when invoked from search menu. * Fix tagging to be correct for new depsgraph. * Fix pose relax doing nothing when start and end frames match even if the current frame value is different. * Remove odd 0.3..0.7 limit in adjust operator settings panel.
2019-05-02Fix T64059: Crash in shader when using other object's texture spaceSergey Sharybin
Can not use evaluated datablock to localize since that could point to another evaluated datablock, which can not become part of another dependency graph. The original code needed to have unkeyed changes preserved, but now we do have a flush of animation to an active dependency graph, so this code is not needed anymore.
2019-05-02Fix T63697: correct stuck R_NO_CAMERA_SWITCH in scene->r.mode.Alexander Gavrilov
This flag becomes stuck in certain situations, causing the marker camera switch feature to not work. To fix old files with the problem, clear the flag on file load. Also, the line that is supposed to clear it has wrong bit math, causing seq_render_scene_strip to effectively toggle the flag on or off every time it's run, instead of restoring to original state. The flag and code were added in 001789d7337a by @campbellbarton.
2019-05-02DrawManager: External Engine Depth BufferJeroen Bakker
Only draw the depth buffer when overlays are enabled and scene or view has changed. When using Cycles in the viewport for every viewport draw call the depth buffer was renewed. Draw calls happened when a sample was finished or the status report was updated. This could waist some CPU/GPU cycles. This change will check when the depth buffer needs to be updated or when the last known depth buffer could be reused. Reviewers: brecht, fclem Maniphest Tasks: T63525 Differential Revision: https://developer.blender.org/D4775
2019-05-02Fix T63435 Incorrect fresnel and normals for hair strands on EEVEEClément Foucault
2019-05-02UI: rename 'Remove Doubles' to 'Merge by Distance'William Reynish
Also add into the "Merge" menu.
2019-05-02Fix T63904: Remove Animation should remove empty actions from objects.Alexander Gavrilov
2019-05-02Refactor grid and scale indicator text drawingJacques Lucke
This affects the timeline, dopesheet, graph editor, sequencer, clip editor and nla editor. Removed structs and enums: `V2D_ARG_DUMMY`, `eView2D_Units`, `eView2D_Clamp`, `eView2D_Gridlines`, `View2DGrid`. A main goal of this refactor is to get rid of the very generic `View2DGrid` struct. The drawing code became very complex because there were many different combinations of settings. This refactor implements a different approach. Instead of one very generic API, there are many slighly different functions that do exactly, what we need in the different editors. Only very little code is duplicated, because the API functions compose some shared low level code. This structure makes the code much easier to debug and change, because every function has much fewer responsibilities. Additionally, this refactor fixes some long standing bugs. E.g. when `Show Seconds` is enabled, you zoom in and pan the view. Or that the step size between displayed frame numbers was always `>= 2`, no matter how close you zoom in. Reviewers: brecht Differential Revision: https://developer.blender.org/D4776
2019-05-02Cleanup: typos in commentsCampbell Barton
2019-05-02Cleanup: outdated comments, unused defineCampbell Barton
2019-05-02GPencil: Add API property to check annotationsAntonioya
This new property allows to check if the current datablock is an annotation or is used in a grease pencil object. This property is required for some Add-ons.
2019-05-02Cleanup: CommentsSergey Sharybin
A spelling issues introduced in 5a43406e1bad. From quick look the sequencer seems to be the only special boy. But the change is a bit too big to carefully re-read for exact spelling mistakes.
2019-05-02Workspace: remove global active toolCampbell Barton
This was needed for a global top-bar to show a single tool, no longer needed now the top-bar is per-space.
2019-05-02Fix T57099: Parenting between armatures crashesCampbell Barton
Multi-object selection allowed to parent edit-bones across armatures (which isn't supported).
2019-05-02Cleanup: use WM_keymap_item_* prefixCampbell Barton
2019-05-02Cleanup: styleCampbell Barton
2019-05-02Cleanup: use doxy sections in wm_keymap.cCampbell Barton
2019-05-02BLF: pass code-point to BLF_has_glyphCampbell Barton
Avoid BLF having to be concerned with decoding the string (which can fail). Also remove redundant extra zero byte from strings.
2019-05-02Cleanup: unused warningCampbell Barton
2019-05-01Fix T61619: Some VSE attributes with keyframes are not sensibly evaluatedRichard Antalik
when the scene is referenced as a strip from another VSE scene Fix T49658: Evaluation / animation of f-curves does not correct for a scene's position within another scene Solution: Evaluate animdata before rendering scene seqbase. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4755
2019-05-01Fix T63980: only copy selected curves in Copy Keyframes from Graph Editor.Alexander Gavrilov
Otherwise things can become confusing due to copying unwanted curves, especially if "Only Selected Curve Keyframes" is enabled, and thus selected keyframes from other curves may not be visible. Now Copy Keyframes behaves exactly like Paste Keyframes.
2019-05-01UI: add pixel units for some theme settingsBrecht Van Lommel
2019-05-01UI: move object origin size preference to themesGeorge Vogiatzis
Differential Revision: https://developer.blender.org/D4657
2019-05-01UI: remove outliner vertical separatorsHarley Acheson
This removes the vertical bar separators between items and subitems (for closed rows), and the vertical lines between the columns of restriction icons. The vertical bars and lines don't really serve any useful purpose and add some visual fuzziness and confusion. Best to concentrate the eye on the items of content, not the separators between them. Differential Revision: https://developer.blender.org/D4743
2019-05-01UI: remove outliner highlight selection gapHarley Acheson
When rows were highlighted - for selection, hover, or search - the highlighted bar would not take up the entire vertical space but instead leave a gap. That gap generally looks like a separator between items, adding complexity and fuzziness for no real benefit. Differential Revision: https://developer.blender.org/D4742
2019-05-01UI: use Mac key symbols in menus on macOS, instead of text like "Cmd"Harley Acheson
On Windows "Cmd" is also replaced with "Win". Differential Revision: https://developer.blender.org/D4689
2019-05-01UI: make outliner hierarchy line width take into account DPIHarley Acheson
Differential Revision: https://developer.blender.org/D4744
2019-05-01UI: improve readability of Normals menu in edit modeGeorge Vogiatzis
Also rename operators to match names in the menu. Differential Revision: https://developer.blender.org/D4659
2019-05-01Alembic: integrate cache file into the dependency graphBrecht Van Lommel
* The cache file datablock is now evaluated as part of the dependency graph, creating/freeing the Alembic file handle matching the current frame. Modifiers and constraints depend on this evaluation. * Cache file handles and readers now only exist on COW datablocks, never the original ones. * Object data paths are flushed back to the original for the user interface. * The cache file keeps a list of all readers associated with its handle, and automatically frees them when the handle is freed. This kind of sharing of data across datablocks is weak but we have no better mechanism for it. Fix T62720: Alembic sequences not working and crashing Differential Revision: https://developer.blender.org/D4774
2019-05-01Eevee: Fix crash when rendering due to recent lookdev refactorClément Foucault
2019-05-01Modifiers: support parallelism in Armature and Lattice Deform.Alexander Gavrilov
This partially mitigates the performance drop in Spring 02_055_A.anim caused by dependency changes in D4715. Differential Revision: https://developer.blender.org/D4753