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-07Sound: Revert all the recent changes to soundSergey Sharybin
This happened to be a bigger rabbit hole to hell than it originally seemed, and there are higher priority design tasks to be handled (at this point high priority design task is more important than high priority bug fix). After talking to Brecht the decision was made to revert to the known isolated issue, which will allow everyone in the studio work same as prior to last Friday. The remaining bits will be worked on after all the design tasks are out of the way. This commit reverts: 4cdb4b9532c Fix T64161: Crashing using undo and multiple windows 064273a4ae7 Sound: Port more cases to be a part of dependency graph 2e582f8ab53 Sound: Fix access wrong dependency graph 5fc49d9c915 Sound: add stubs to build without audaspace c68c81a870b Sound: Make sure spin lock is initialized for new sound datablocks c02534469ac Sound: Delay creating sound scene handle for until is needed 9f681bea68f Fix T64144: Crash when displaying audio waveforms in VSE 2f79286453e Cleanup: unused vars bed8ad6f95a Fix crash in background rendering after recent sound changes 773691310f9 Fix T64143: Crash when scrubbing in the graph editor 888852055c1 Sound: Fix for being unable to jump to a frame during playback with A/V sync 6ab7b384645 Sound: More fixes for access of original scene 35db1195455 Sound: Fix access original scene during playback 211c4fd2e9a Depsgraph: Make comment about evaluation more obvious c5fe16e121e Sound: Make sound handles only be in evaluated datablocks b4e1e0946bf Depsgraph: Preserve sound and audio pointers through copy-on-write 4eedf784b04 Depsgraph: Store original sequencer strip pointer 6990ef151c1 Sound: Move evaluation to dependency graph d02da8de23b Sound: Delay opening handlers for until really needed 3369b828916 Depsgraph: Add scene audio component e8f10d64757 Depsgraph: Tag sequencer for update on changes 6e4b7a6e4d9 Depsgraph: Initial work to cover sequencer 17447ac5a6b Depsgraph: Make sound ID part of the graph
2019-05-07Fix T64210: crash using Live Unwrap without UVMapPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T64210 Differential Revision: https://developer.blender.org/D4817
2019-05-07Cleanup: More clear naming for rendering functionsSergey Sharybin
2019-05-07Fix T57767: Pivot point broken after scaling to 0 in a dimensionPhilipp Oeser
matrix inversion was changed in rB01c75c3765eb from own code to EIGEN for performance reasons. EIGEN would return a zero matrix on failure (resulting in the pivot always being at the object origin). This brings back the "old" matrix inversion code (which has the benifit of providing a partial solution which makes the local transform center appear correct) Reviewers: campbellbarton Maniphest Tasks: T57767 Differential Revision: https://developer.blender.org/D4804
2019-05-07Fix T64232: crash on Weight from Bones redoPhilipp Oeser
2019-05-07Fix graph editor selection tolerance ignoring DPICampbell Barton
2019-05-07Theme: set dark grey for line number backgroundCampbell Barton
This color is also used for the right margin, so use a color that contrasts with the background. Also use 2x width line.
2019-05-07Fix T64230: Crash on weight paint gradient redoCampbell Barton
2019-05-07Cleanup: improve transform data sorting functionCampbell Barton
Replace comments on caller with more meaningful name.
2019-05-07Fix T64130: Bezier curve vanishes on transformCampbell Barton
2019-05-07Clanup: clang-formatCampbell Barton
2019-05-07Keymap: double click to close cutCampbell Barton
Restore from 2.7x (lost when migrating to migrating keymap to Python).
2019-05-06Node select: refactor, fix some inconsistent behaviors in socket selection.Bastien Montagne
Refactor a bit node selection code, mostly in the socket selection in one place 'extend' logic usage was inverted, deselection of other sockets/nodes was not working properly. Also now make node active when selecting a socket, this makes more sense and makes the NODE_OT_link_viewer macro much more useful (this is the only user of the 'socket select' feature currently, afaics).
2019-05-06GPencil: Verify Brush has GPencil dataAntonioya
This avoid errors in old files.
2019-05-06Fix: T64213 Properties Editor Icon Colors are wrong for Text and Light ProbesWilliam Reynish
2019-05-06remove unused T_LOCAL_MATRIXPhilipp Oeser
- was introduced in rB844a17a3d9d2 but apparently never used - spotted while looking into T57767 Reviewers: brecht Differential Revision: https://developer.blender.org/D4805
2019-05-06Fix T64164: Resetting a curvemap could result in a mirrored curvePhilipp Oeser
A template_curve_mapping with brush=True was always resetting the curve to a positive slope (descending from left to right). Behaviour is now changed so that specifying "use_negative_slope" is taken into account as well. Also use this for: - paint "cavity_curve" - gpencil "curve_sensitivity" / "curve_strength" / "curve_jitter" / "interpolation_curve" Reviewers: brecht Maniphest Tasks: T64164 Differential Revision: https://developer.blender.org/D4809
2019-05-06Sound: Port more cases to be a part of dependency graphSergey Sharybin
Mainly covers RNA callbacks which were still doing direct scene update, which was causing crashes. Now corresponding ID_RECALC flags are used, so all scenes can update accordingly. Also tested animated volume/pitch on strips, which now works as well. Fixes T64133: Assert after changing FPS Fixes T64154: Immediate crash when changing the current frame on the timeline Fixes T64185: Client Crashes when the frame position value is changed Fixes T64190: Blender Crash using Timeline Editor Fixes T64128: Click to close bug type on timeline Fixes T64147: Crash when setting current frame from Python Fixes T64152: Blender Auto-Close on timeline change
2019-05-06UI: disable colored icons in menus for nowBrecht Van Lommel
Only a few icons are colored, which caused some random icons to be colored and others not. We can add it back for specific menus later (like add object or modifiers).
2019-05-06UI: Icons updateWilliam Reynish
New icons from Andrzej Ambroż / jendrzych: - New icons for select tool modes - Brought back screen icon for viewport visibility toggles - Added new Instanced visibility toggle (unused currently - meant for forthcoming updates to the Outliner) - New Gizmo icon for the header - Many tweaks and alterations to existing icons. Full list on Devtalk - Use correct icon when Proportional Editing is disabled
2019-05-06Implement mirroring in pose mode (absolute and relative)Sebastian Parborg
Added working X-mirroring in pose mode with an optional relative mirror mode. Reviewed By: Campbell Barton Differential Revision: http://developer.blender.org/D4765
2019-05-06Fix T64178: Invisible image 2D cursorCampbell Barton
Own error in 928becec60d16, move cursor drawing to single location.
2019-05-06Cleanup: clang-formatCampbell Barton
2019-05-05UI: TooltipsWilliam Reynish
- Add missing tooltips to Quick Effects and Subdivide Edge Ring - Add proper tooltip to the Bevel operator - Clearer tooltips for the extrude operators Plus a few other tweaks Suggested by users on Devtalk.
2019-05-04Fix T64144: Crash when displaying audio waveforms in VSESergey Sharybin
2019-05-04Fix T64143: Crash when scrubbing in the graph editorSergey Sharybin
2019-05-04Fix T64045: Crash activating fullscreen workspaceJulian Eisel
See d83a72ec104ce9.
2019-05-04Fix T64102: Can't add X-Mirror to quick favoritesCampbell Barton
2019-05-04UI: Dynamic region size for file browser optionsJulian Eisel
Makes the file browser operator property region (lower left) dynamically sized to content. Previously, the default size would work really badly for file browsers opened in small windows, e.g. to install Add-ons from the preferences window. It would be mostly empty but use lots of space then.
2019-05-03UI: color icons in the properties editor tabsBrecht Van Lommel
Still can use more tweaks and icon reorganization, but this gets us closer to the intended design so we can evaluate it. Ref T61561, T63521.
2019-05-03Sound: Fix for being unable to jump to a frame during playback with A/V syncSergey Sharybin
2019-05-03UI: Fix crash when region becomes too thinJacques Lucke
2019-05-03Sound: More fixes for access of original sceneSergey Sharybin
Same as previous commit, just few lines to the bottom.
2019-05-03Sound: Fix access original scene during playbackSergey Sharybin
Was required to have AV-sync enabled. and then simply play playback would have triggered an assert. In release builds the sync would have happened to a wrong frame.
2019-05-03fix image_changed() doing unneccessary texture updates when texture wasntPhilipp Oeser
using an image Reviewers: brecht Differential Revision: https://developer.blender.org/D4789
2019-05-03Sound: Make sound handles only be in evaluated datablocksSergey Sharybin
Quite straightforward change, which makes it so audio handles are only created inside of evaluated datablocks. Exception is adding sound strip to the sequencer, which needs an audio handle to query length and number of channels. This is done by temporarily loading sound file into an original datablock, and then tossing it away. There is an assert in sound.c which verifies that audio system is used from an evaluated domain, which should help porting all the cases which are likely missed by this commit. Some annoying parts: - `BKE_sound_update_scene()` is iterating over all bases, and does special ID tags to see whether sound has been handled or not already. This can not be done the old fashion now. Ideally, this will be done as a speaker datablock evaluation, but seems that would require a lock since audio API is not safe for threading. So this is not a desired way i'd say. Possible solution here would be to iterate over ID datablocks using dependency graph query API. - Frame jump needs to call `BKE_sound_seek_scene()` directly because there might be some flags assigned to the scene which could be clear after operator execution is over. Need to verify if that's the case though. This is a bit hairy code, so sticking to a safest and known to work approach for now. - Removed check for format when opening new sound file. Maybe we can have some utility function which queries channel and duration information, leaving the caller's code clean and tidy. Tested following cases: - Adding/removing/moving sequencer's sound strips. - Adding/moving speakers in viewport. - Rendering audio. Reviewers: brecht Differential Revision: https://developer.blender.org/D4779
2019-05-03Depsgraph: Tag sequencer for update on changesSergey Sharybin
Currently only adding, removing and transforming strips. Most likely more tags is needed.
2019-05-03Fix width of compact buttons with icons, e.g. layout.menu().Alexander Gavrilov
As mentioned in the comment, the icon width computation relies on big enough margins; however in compact mode they aren't big enough and the label gets truncated.
2019-05-03UI: remove bone only constraints from object constraint menuNathan Craddock
This is better than showing an error after trying to add them. Ref T61560. Differential Revision: https://developer.blender.org/D4767
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-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: warningsCampbell Barton
Quiet extra-semi-stmt & missing-variable-declarations
2019-05-02Fix T64072: DynamicPaint: Bake failed: Canvas mesh not updatedSergey Sharybin
Baking is to happen form within an evaluated scene.
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