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
2021-03-24Cleanup: Add override keyword.Jeroen Bakker
2021-03-24Spelling: getRenderPriotrity -> getRenderPriorityJeroen Bakker
2021-03-24Cleanup: Removed commented out code.Jeroen Bakker
2021-03-24Cleanup: replace index based forloops with iterators.Jeroen Bakker
2021-03-24Cleanup: removed unnecessary allocations.Jeroen Bakker
2021-03-24Fix: Memory Leak When Using Compositor.Jeroen Bakker
When using the compositor inlined static vectors could allocate memory. This memory wasn't freed. This patch would make them inline again.
2021-03-23Cleanup: WorkScheduler.Jeroen Bakker
- Use constexpr for better readability. - Split in functions per backend. - Split work scheduler global struct in smaller structs. - Replaced std::vector with blender::Vector. - Removed threading defines in COM_defines.h
2021-03-23Cleanup: remove internal functions from interface.Jeroen Bakker
2021-03-23Compositor: Display generated inputs in Viewers and PreviewsManuel Castilla
Currently viewers and previews only display node trees that have at least one node with fixed resolution size. When all inputs are generated, nothing is displayed in most cases (RGB Node is displayed as a single pixel on previews). By generated I mean inputs not having resolution on their own, they create content dynamically given an output resolution. This patch adds support for those cases by using an appropriate preferred resolution on Viewers/Previews which propagates to generated inputs as output resolution. Now: - Viewers will display generated inputs with scene render resolution. - Previews will display them with scene aspect ratio. This is consistent with final render result and respects relative space. The benefit for the user is being able to compose images without any input source. For example for creating mask images or simple backgrounds. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D10611
2021-03-23Cleanup: remove unused include.Jeroen Bakker
2021-03-22Cleanup: clang-format, trailing spaceCampbell Barton
Minor manual tweak to prevent wrapping an array into columns.
2021-03-21Cleanup: spelling, doxygen comment formattingCampbell Barton
2021-03-19Cleanup: Use uint8_t for num of channels.Jeroen Bakker
2021-03-19Cleanup: Use enum class for MemoryBufferExtend.Jeroen Bakker
2021-03-19Cleanup: Remove unused states and vars from MemoryBuffer.Jeroen Bakker
2021-03-19Cleanup: MemoryBuffer do not store width and height.Jeroen Bakker
2021-03-19Cleanup: Rename copyContentFrom to fill_from.Jeroen Bakker
2021-03-19Cleanup: Add copy constructor to MemoryBuffer.Jeroen Bakker
2021-03-19Cleanup: Use ref to read from encapsuled data.Jeroen Bakker
MemoryBuffer->getRect was returning a ptr.
2021-03-19Cleanup: Replace ptr with ref (COM_MemoryBuffer).Jeroen Bakker
2021-03-19Cleanup: Replace ptr with ref.Jeroen Bakker
2021-03-19Cleanup: Use enum class for DataType.Jeroen Bakker
2021-03-19Cleanup: enum class ChunkOrdering.Jeroen Bakker
2021-03-19Cleanup: Use enum class for CompositorQuality.Jeroen Bakker
2021-03-19Cleanup: Use enum class for CompositorPriority.Jeroen Bakker
2021-03-19Cleanup: compositor - chunk orderJeroen Bakker
No functional changes.
2021-03-19Cleanup: Remove unneeded complexityJeroen Bakker
`determineDependingMemoryProxies` was mapping a value in a temp vector.
2021-03-19Cleanup: add const.Jeroen Bakker
2021-03-19Cleanup: Replace std::vector with blender::Vector.Jeroen Bakker
2021-03-19Fix T86710: Crash When Adding Node Group.Jeroen Bakker
When adding a node group there can be no inputs in the input map that was triggering an assert.
2021-03-18Cleanup: spellingCampbell Barton
2021-03-17Nodes: Add support to mute node wiresCharlie Jolly
This patch adds the ability to mute individual wires in the node editor. This is invoked like the cut links operator but with a new shortcut. Mute = Ctrl + Alt Cut = Ctrl Dragging over wires will toggle the mute state for that wire. The muted wires are drawn in red with a bar across the center. Red is used in the nodes context to indicate invalid links, muted links and internal links. When a wire is muted it exposes the original node buttons which are normally hidden when a wire is connected. Downstream and upstream links connected using reroute nodes are also muted. Outside scope of patch: - Add support for pynodes e.g. Animation Nodes - Requires minor change to check for muted links using the `is_muted` link property or the `is_linked` socket property. Maniphest Tasks: T52659 Differential Revision: https://developer.blender.org/D2807
2021-03-17Fix concern: lookup could fail.Jeroen Bakker
Concern raised on {93e2491ee724}.
2021-03-17Cleanup: Use blender::MultiValueMap.Jeroen Bakker
Fixed concern raise on {93e2491ee724}.
2021-03-16Cleanup: NULL -> nullptr.Jeroen Bakker
2021-03-16Cleanup: replace std::map with blender::Map.Jeroen Bakker
2021-03-16Cleanup: Replace std::vector with blender::Vector.Jeroen Bakker
2021-03-16Cleanup: Modernize iterators.Jeroen Bakker
2021-03-16Cleanup: Modernize iter.Jeroen Bakker
2021-03-16Cleanup: Removed commented out code.Jeroen Bakker
2021-03-16Cleanup: Remove unimplemented declarations.Jeroen Bakker
2021-03-16Compositor: Redesign Cryptomatte node for better usabilityJeroen Bakker
In the current implementation, cryptomatte passes are connected to the node and elements are picked by using the eyedropper tool on a special pick channel. This design has two disadvantages - both connecting all passes individually and always having to switch to the picker channel are tedious. With the new design, the user selects the RenderLayer or Image from which the Cryptomatte layers are directly loaded (the type of pass is determined by an enum). This allows the node to automatically detect all relevant passes. Then, when using the eyedropper tool, the operator looks up the selected coordinates from the picked Image, Node backdrop or Clip and reads the picked object directly from the Renderlayer/Image, therefore allowing to pick in any context (e.g. by clicking on the Combined pass in the Image Viewer). The sampled color is looked up in the metadata and the actual name is stored in the cryptomatte node. This also allows to remove a hash by just removing the name from the matte id. Technically there is some loss of flexibility because the Cryptomatte pass inputs can no longer be connected to other nodes, but since any compositing done on them is likely to break the Cryptomatte system anyways, this isn't really a concern in practise. In the future, this would also allow to automatically translate values to names by looking up the value in the associated metadata of the input, or to get a better visualization of overlapping areas in the Pick output since we could blend colors now that the output doesn't have to contain the exact value. Idea + Original patch: Lucas Stockner Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D3959
2021-03-12Cleanup: fix clang-tidy errors when COM_debug is active.Jeroen Bakker
2021-03-12Cleanup: Compiler warnings with COM_TM_NOTHREAD active.Jeroen Bakker
2021-03-10Cleanup: spellingCampbell Barton
2021-03-09Compositor: Silence -Wself-assignAnkit Meel
Use member initializer list for constructor. Use `this->` for member function. Introduced in rBef53859d24a9720882e3ca6c5415faefec6fb82c Reviewed By: jbakker Differential Revision: https://developer.blender.org/D10653
2021-03-08Cleanup: Change extension .cpp to .ccJeroen Bakker
2021-03-05Fix windows compilation.Jeroen Bakker
2021-03-05Cleanup: Use blender::Vector.Jeroen Bakker
2021-03-05Cleanup: use blender::Vector.Jeroen Bakker