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-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-06Sound: Fix access wrong dependency graphSergey Sharybin
Due to some fields in the context being NULL access was happening to the default view layer, not the active one. Simply re-arranged context initialization, so it happens before accessing dependnecy graph. Fixes T64183: Crash in BKE_sound_scene_playing due to Scene NULL Fixes T64192: Crash opening a file with a non-default View Layer active
2019-05-06Depsgraph: Fix wrong commentSergey Sharybin
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-05RNA: add an Object method to clear all shape keys for completeness.Alexander Gavrilov
This matches bpy.ops.object.shape_key_remove(all=True) in behavior.
2019-05-05Depsgraph: fix Bone property drivers stored in Object animdata.Alexander Gavrilov
This can easily happen if adding drivers through Python via pose.bones[...].bone.driver_add(), e.g. in Rigify code: the bone field doesn't change id_data, so the driver is associated with the object ID. To handle this it's necessary to skip from Object to data in RNA_Bone-specific code both for generic RNA and in the custom code for drivers. The latter also had to be changed to use the proper parsed RNA pointer instead of string matching on paths.
2019-05-05GPencil: Verify brush is valid for grease pencilAntonioya
Usually the brush type is correct, but for some old files the brush could be a not valid type. In this case, returns the object active material. This is related to T61413
2019-05-05Cleanup: fallthrough attribute warningCampbell Barton
Fall-through without label or default after it.
2019-05-05Sound: add stubs to build without audaspaceCampbell Barton
2019-05-04Fix T63789: Precision issues in glsl noise texturemano-wii
There is a significant precision loss when converting large float values to int.
2019-05-04Sound: Make sure spin lock is initialized for new sound datablocksSergey Sharybin
Should have been done as a part of 9f681bea68f.
2019-05-04Sound: Delay creating sound scene handle for until is neededSergey Sharybin
Solves crash loading volume Cycles regression files.
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-04UI: Add Look Developer Balls Size optionGeorge Vogiatzis
Note: Some adjustments were made compared to the diff mainly for code readability and made the default ball size 150px. Reviewed By: fclem Differential Revision: http://developer.blender.org/D4793
2019-05-04Cleanup: GPU_buffers: Remove obsolete debug drawingClément Foucault
2019-05-04Cleanup: Eevee: Remove Flat normal shader variationClément Foucault
Was use by sculpt mode but that's not used anymore.
2019-05-04Cleanup: Remove unused code in sculpt_mode, workbench and draw managerClément Foucault
2019-05-04Sculpt: Refactor draw manager sculpt drawing mechanismClément Foucault
Workbench/Eevee now displays multiple multi-materials correctly. Iterate over pbvh nodes when doing object iteration. This makes the rendering process more streamlined and allow for using different materials. This change will make possible to: - Add culling pass of each pbvh leaf node. (speedup if zoomed on a small area) - Reduce number of lead node iteration. - Reduce code complexity
2019-05-04GPUBuffers: Save / expose material index per buffersClément Foucault
2019-05-04Fix T64102: Can't add X-Mirror to quick favoritesCampbell Barton
2019-05-04Cleanup: unused varsCampbell 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-03Fix crash in background rendering after recent sound changesBrecht Van Lommel
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-03Cleanup: Selling in commentSergey Sharybin
2019-05-03Depsgraph: Make comment about evaluation more obviousSergey Sharybin
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: Preserve sound and audio pointers through copy-on-writeSergey Sharybin
This allows to have scene and speaker copy-on-write executed without interrupting the playing sound.
2019-05-03Depsgraph: Store original sequencer strip pointerSergey Sharybin
Allows to identify where the strip came from.
2019-05-03Sound: Move evaluation to dependency graphSergey Sharybin
The sound handles are still in the original datablocks, so it's easier to test since there should be no functional changes.
2019-05-03Sound: Delay opening handlers for until really neededSergey Sharybin
Needs to be done in order to localize sound handlers to the evaluated IDs only. This commit might not be fully optimal, since it does more things on every scene update request, but that will be solved by the upcoming change which will put those updates to a dependency graph.
2019-05-03Depsgraph: Add scene audio componentSergey Sharybin
The idea is to make that responsible for dealing with things like audio update on frame jump and such.
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-03Depsgraph: Initial work to cover sequencerSergey Sharybin
Just adds sequencer operation and links possible sound ID to it. No functional changes, just moving towards sound system integration into the dependency graph.
2019-05-03Depsgraph: Make sound ID part of the graphSergey Sharybin
Currently those IDs are not covered by copy-on-write mechanism since that ruins the current design of BKE_sound, But this change allows to move towards system where sound handlers are only valid for an evaluated ID datablocks.
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-03Fix crash opening file saved in editmode with a brush image texturePhilipp Oeser
started with recent UV Sculpt tool-system integration rB928becec60d1 Fixes T64094 Reviewers: brecht Maniphest Tasks: T64094 Differential Revision: https://developer.blender.org/D4788
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