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-08-15Windows: add cycles debug logging to helper batch file.Lazydodo
2019-08-15Cleanup: Silence C4115 warningmano-wii
`'ParticleSystem': named type definition in parentheses` And prevent the need for struct `Object` to be defined.
2019-08-15Cleanup: Remove redundant headersmano-wii
2019-08-15Fix T56843 : fix case sensitive filenames on win10Lazydodo
When building with case sensitive folders there were some linker errors.
2019-08-15Edit Mesh Selection: Refactor: Redraw idmap buffer at runtime with only ↵mano-wii
objects inside the rect But in the future the selection code may also be used in object mode (eg for snapping). So to avoid using too much VRAM resources, it is good to avoid drawing all objects in the viewport. The solution was to create an array with only objects that are detected within the selection area. If the selection operator is modal, objects already detected are not removed from the array until view3d is moved or orbited. To detect the object, its BoundBox is tested. Since the Select Engine does not have a dedicated depth texture, whenever a new object is "found" the depth of the objects in the array already drawn is redrawn. Reviewers: campbellbarton, fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D5435
2019-08-15DRW: New function DRW_culling_min_max_testmano-wii
For testing intersection with frustrum planes without having to transform all bound box vertices into global space.
2019-08-15Fix T65461: IntProperty does not respect its 'step' fieldCampbell Barton
Originally D5020 by @deadpin, refactored to make the change simpler.
2019-08-15UI: make int/float button clicking logic consistentCampbell Barton
- When no change is performed on a float button, cancel the action. - Move left/right clicks into the same block. - Replace ambiguous names: temp, tempf.
2019-08-15Fix CDT bug causing crash with some output modes.Howard Trickey
Forgot to properly maintain the edge for faces while dissolving edges.
2019-08-15Fix T64888: full-screen button overlaps side-barCampbell Barton
2019-08-15Fix T68684: Vertex snapping with median not working if the object is not at ↵mano-wii
center of the world
2019-08-15Cleanup: Minor change to previous commitAntonio Vazquez
2019-08-15GPencil: Fix unreported missing VFX in Video EditorAntonio Vazquez
As the video editor mode is not Render mode the VFX was omitted. Now, the mode is only checked for View3D.
2019-08-15Fix T68675: particle edit mode makes blender crashPhilipp Oeser
In rB9c010c44f420, DRW_mesh_batch_cache_create_requested was changed to take a scene (instead of toolsettings directly), but DRW_draw_depth_object is calling this with with NULL, just checking for this seems to fix... Reviewers: fclem Maniphest Tasks: T68675 Differential Revision: https://developer.blender.org/D5488
2019-08-15Fix full-screen button overlapping navigation gizmoCampbell Barton
2019-08-15UI: skip drawing the full-screen when alpha is zeroCampbell Barton
2019-08-15Fix T68678: Invisible fullscreen buttonCampbell Barton
Regression from 6148ed8cf9ca
2019-08-15Cleanup: spellingCampbell Barton
Missed in recent commit.
2019-08-15Cleanup: replace commented out code by commentBrecht Van Lommel
2019-08-15UI: Finalize old TODO in UI float number handling.Bastien Montagne
Just enable some commented-out code from rB636289b755f6ce (disabled at that time because we were too close of 2.79 release...). Issue raised in D5486, thanks.
2019-08-15Cleanup: spellingCampbell Barton
2019-08-15Cleanup: unused warningsCampbell Barton
Reminder not to leave in unused code, or comment why it should be kept.
2019-08-15Fix T68014: Add-on's override Python built-in modulesCampbell Barton
Append addon paths to the sys.path to avoid name collisions with system modules.
2019-08-15Mesh: bypass legacy tessface conversion step when remeshingCampbell Barton
2019-08-15msvc: Enable /bigobj on all object files.Lazydodo
bf_intern_openvdb makes a significant number of template instantiations causing it go over the maximum number of sections (int16) in a coff file when doing a debug build. This change switches the compiler to use the extended coff format which has this field extended (int32) all linkers post msvc2005 can process this format so there's no reason not to turn this on globally. Clang on windows does not need this change since clang switches implicitly to the extended format when required. [1] [1] https://reviews.llvm.org/rL217812
2019-08-15Fix T68658: Text offset makes scale to fit not to workDalai Felinto
Differential Revision: https://developer.blender.org/D5484
2019-08-15Eevee: Fix tangent map node not using the right UVMapClément Foucault
2019-08-15GPU: Vertex Format: Increase number of byte per attribute nameClément Foucault
This reduces the risks of hash collision while maintaining a small number of character per attrib.
2019-08-15Mesh Batch Cache: Split UV an tangent into 2 distinct VBOsClément Foucault
This is done because they don't have the same update frequency. UV can be persistent even on geometry update (ex: skinned object) but tangents can change if the normals change. Also the name buffer per vbo was too small to contain all names.
2019-08-15GPU: Vertex Format: ADd function for safe GLSL attrib nameClément Foucault
This remove code duplication and use base63 encoding of the hash. Use mumur hash to have more randomness.
2019-08-15Cleanup: fix compiler warningsBrecht Van Lommel
2019-08-14Sculpt: mesh abstraction APIPablo Dobarro
These functions make possible porting the tools from the sculpt branch, making them compatible with PBVH_FACES and PBVH_BMESH without duplicating the code. They can also help to simplify some existing code. These functions should not be used when working with PBVH_GRIDS data in SculptSession. PBVH_GRIDS needs to be removed from the sculpt code and converted to PBVH_FACES to be compatible with this API. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5352
2019-08-14Compositor: Added denoising nodeBrecht Van Lommel
This node is built on Intel's OpenImageDenoise library. Other denoisers could be integrated, for example Lukas' Cycles denoiser. Compositor: Made OpenImageDenoise optional, added CMake and build_env files to find OIDN Compositor: Fixed some warnings in the denoising operator build_environment: Updated OpenImageDenoise to 0.8.1 build_environment: Updated OpenImageDenoise in `make deps` for macOS Reviewers: sergey, jbakker, brecht Reviewed By: brecht Subscribers: YAFU, LazyDodo, Zen_YS, slumber, samgreen, tjvoll, yeus, ponomarovmax, getrad, coder.kalyan, vitos1k, Yegor, DeepBlender, kumaran7, Darkfie9825, aliasguru, aafra, ace_dragon, juang3d, pandrodor, cdog, lordodin, jtheninja, mavek, marcog, 5k1n2, Atair, rawalanche, 0o00o0oo, filibis, poor, lukasstockner97 Tags: #compositing Differential Revision: https://developer.blender.org/D4304
2019-08-14Cleanup: Fix build error with MSVCLazydodo
C99 style initializers are C++20 feature and should not be used. Reported by @deadpin on chat.
2019-08-14Cleanup: use BKE_mesh_ prefix for the remesh APICampbell Barton
These functions deal with voxel remeshing of Mesh data, and aren't related to MOD_remesh.c for e.g. Name so other kinds of remeshing wont cause confusion.
2019-08-14Fix T68657: Voxel remesh crashCampbell Barton
Mesh was being double freed.
2019-08-14Cleanup: use doxy sections for wm_operators.cCampbell Barton
2019-08-14Cleanup: warnings, unnecessary nested headerCampbell Barton
2019-08-14Mesh Batch Cache: Refactor + MultithreadClément Foucault
For clarity sake, the batch cache now uses exclusively per Loop attributes. While this is a bit of a waste of VRAM (for the few case where per vert attribs are enough) it reduces the complexity and amount of overall VBO to update in general situations. This patch also makes the VertexBuffers filling multithreaded. This make the update of dense meshes a bit faster. The main bottleneck is the IndexBuffers update which cannot be multithreaded efficiently (have to increment a counter and/or do a final sorting pass). We introduce the concept of "extract" functions/step. All extract functions are executed in one thread each and if possible, using multiple thread for looping over all elements. Reviewed By: brecht Differential Revision: http://developer.blender.org/D5424
2019-08-14OpenVDB: Voxel RemesherPablo Dobarro
The voxel remesher introduces a new workflow for sculpting without any of the limitations of Dyntopo (no geometry errors or performance penalty when blocking shapes). It is also useful for simulations and 3D printing. This commit includes: - Voxel remesh operator, voxel size mesh property and general remesh flags. - Paint mask reprojection. - Geometry undo/redo for sculpt mode. This should support remesh operations as well as future tools that modify the topology of the sculpt in a single step, like trimming tools or mesh insert brushes. - UI changes in the sculpt topbar and the mesh properties pannel. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5407
2019-08-14UI: suppress Copy/Paste/Edit Driver options on whole array property fields.Alexander Gavrilov
When a button represents the whole array (e.g. color picker buttons), these context menu options were available, but didn't really work correctly. Since it's not clear how they could reasonably work without a valid index, it's better to hide them.
2019-08-14OpenVDB: mesh/level set conversion, filters and CSG operationsPablo Dobarro
This code is needed to implement the Voxel Remesher as well as other features like a better remesh modifier with filters and CSG operations. Done by Martin Felke and Pablo Dobarro Reviewed By: brecht Differential Revision: https://developer.blender.org/D5364
2019-08-14Install_deps: bump official numpy version to 1.17.0Bastien Montagne
Following recent ;ails re python version bump (looks like py version itself had already been bumped in that script).
2019-08-14Cleanup: clang-format, sort structs & cmake filesCampbell Barton
2019-08-14Cleanup: headersCampbell Barton
2019-08-14Cleanup: split out splash screen into own fileCampbell Barton
`wm_operators.c` is mainly for generic operator logic where as the splash screen is one of a kind.
2019-08-14Cleanup: remove comment to workaround weak code parsingCampbell Barton
This is quite an old comment, recent IDE's/editors should be able to handle escaped quotes in strings. If kludges like this are needed, developers should note exactly why.
2019-08-14GPencil: Revert commit d727f4f22340 (Interpolate menu)Antonioya
The menu is not redundant, it is just another way to reach the tool and also give more discoverability of the operator shortcut (Many tools in Blender are also on menus, toolbar or header, just think of Move, Rotate, Scale). There is also no reason to force the user/artist to change to edit mode for interpolate strokes, when the tool works perfectly in drawing mode too. It would only slow down the 2D animation workflow. Reviewers: @mendio
2019-08-14Fix main part of T68646: Library overrides: Broken parenting (parent inverse ↵Bastien Montagne
matrix gets reset) after reload. We need a custom 'apply override' callback here to prevent resetting the inverse parent matrix. Things are now working for basic cases, but complex ones (in production rigs e.g.) are still partially broken...
2019-08-14Text editor: syntax highlighting + line numbers on by defaultSybren A. Stüvel
The most common use of the text editor seems to be for scripting. Having line numbers and syntax highlighting enabled by default seems sensible. Syntax highlighting is now enabled by default, but is automatically disabled when the datablock has a non-highlighted extension. Highlighting is enabled for filenames like: - Text - Text.001 - somefile.py and is automatically disabled when the datablock has an extension for which Blender has no syntax highlighter registered. Reviewers: billreynish, campbellbarton Subscribers: brecht, billreynish Differential Revision: https://developer.blender.org/D5472