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-30Cleanup: GPUMaterial: Remove unused struct membersClément Foucault
2019-05-30Fix T65231: Null audio device and AV Sync halts playbackJörg Müller
2019-05-30Eevee: Fix volumetric shader if nodetree uses a bsdf nodeClément Foucault
2019-05-30DRW: Add unit_state to avoid lots of DRWCallState duplicationClément Foucault
A lot of drawcalls don't use the object's properties and don't need a dedicated DRWCallState. We allocate a unique one at the begining and use it for all calls that uses the default unit matrix.
2019-05-30Eevee: Fix crash caused by visibility calculationClément Foucault
2019-05-30DRW: Refactor to use object pointer for drawcall by defaultClément Foucault
This cleans up a bit of duplicated code and some confusion about what was culled and what wasn't. Now everything is culled based on the given object pointer. If the object pointer is NULL there is no culling performed.
2019-05-30GPencil: Remove uneeded storage->unit_matrixClément Foucault
When passing NULL to DRW_shgroup_call(), ModelMatrix is assumed to be unitmat.
2019-05-30GPU: Enforce Uniform buffer alignment to 16bytesClément Foucault
This seems to be a requirement and remove some errors in renderdoc.
2019-05-30GPU: Remove GPU_INDEX_U8Clément Foucault
This type of indices is not natively supported on modern GPU and gives warning on some implementation. The memory savings it provides is also quite minimal and unlikely to be visible on nowadays hardware. This remove some uneeded struct members and makes primitive restart always enabled by default. This can be broken by addons if they are not careful enough but many other states have this problem. Also leverage GL_PRIMITIVE_RESTART_FIXED_INDEX if ARB_ES3_compatibility is supported. This removes all API calls to change restart index depending on indices length.
2019-05-30Tool System: Use circle cursor for non-3D circle selectCampbell Barton
2019-05-30GPencil: Add missing blend factor to Regular blendAntonioya
2019-05-30GPencil: Rename Blend mode "Normal" to "Regular"Antonioya
The UI used "Regular" already, but internally the code didn't.
2019-05-30GPencil: Remove wrong premult in Blend shaderAntonioya
The process was doing two times the same and the alpha was totally wrong. Related to T65279
2019-05-30Cleanup: use const argument, r_ prefix return argCampbell Barton
2019-05-303D View: Support light probe data clippingCampbell Barton
2019-05-30Fix industry compat keymap transform gizmo plane constraintCampbell Barton
Modifier keys were disabled, removing support for shift-clicking on the transform gizmo to constrain to the plane. The gizmo keymap matches the default, no need to re-define it.
2019-05-30Gizmo: activate some gizmos on drag instead of pressCampbell Barton
Use drag-only keyamp to adjust gizmos which use drag motion to change a value. By default gizmos still activate on press. This allows for left click select to be used with transform without the gizmos getting in the way. Even though this isn't necessary for right click select it allows click events to pass through and be used by tools which can be useful. Resolves T63996
2019-05-30WM: use different drag thresholds for mouse/tablet eventsCampbell Barton
Now a small threshold is used for mouse input, avoiding delay when gizmos are activated on drag. Tablet input threshold remains unchanged since it's easier to make small movements when using a tablet. A larger threshold for non-cursor input is now used (typically keyboard) which improves usability when the "Pie Menu on Drag" key-map preference.
2019-05-30Cleanup: move click/drag events to functionsCampbell Barton
Simplifies future changes to dragging checks and avoids each check for drag using slightly different logic.
2019-05-30Cleanup: rename callbacks to match the struct member nameCampbell Barton
2019-05-29GPencil: Cleanup - Remove storage Grid matrix and replace with local variableAntonioya
Now the matrix is copied when creating shading group and don't need to be saved in storage.
2019-05-29Cleanup: Remove duplicated comment from previous commitAntonioya
2019-05-29GPencil: Rename viewmatrix field to parent_obmatAntonioya
The name of the field was not clear about the use.
2019-05-29GPencil: Cleanup code to avoid double matrix copyAntonioya
Thanks @fclem for catching the problem.
2019-05-29Snap: add support for meshes generated from other types of objects.mano-wii
Curves with modifiers generate a mesh internally. These can be used for raycasting.
2019-05-29Fix T64817: Active tool gizmo doesn't respect toggleCampbell Barton
Error in 14884cda1ff56 D4973 by @cto.abid
2019-05-29Fix T64995: box and circle select summary in Grease Pencil dopesheet.Alexander Gavrilov
The issue is that generic ANIM_animchannel_keyframes_loop can't handle non-FCurve keyframes, so every selection operator does its own looping over special key types, and the box and region select operators didn't have code to deal with the summary. This adds code to handle that in a similar way to other ops.
2019-05-29Fix T51133: Bad performance with texture painting depending on multi-thread ↵Bastien Montagne
settings. This is more of a temp urgent hack than a proper fix, chenages required for the later are too involved for 2.80 at that point of time and will be done later. That commit merely keeps the whole existing logic for 3D painting textures, but instead of re-creating a pool of threads for *every* (!) stroke evaluation (i.e. mouse move event during painting), we instead use Blender's task scheduler. That remains sub-optimal, there are likely more improvements possible in that code, but it should address the main issue reported (which is presumably caused by windows thread launching being rather heavy process).
2019-05-29Fix T65275: missing dereferenceJacques Lucke
2019-05-29Outliner: Correct outliner width computationJacques Lucke
Before it was not possible to see everything in the outliner when there are e.g. long icon rows. This is because Blender did not allow panning the view to the right, since it did not know the actual width. Most of the code to compute the width correctly was there already, but there were a couple of issues that made it not work. * The tree width was computed before the tree was drawn. This does not work, since the width is only known, after it is drawn. * Every `TreeElement` stores its right-most position in `xend`. However, in the current code, the `xend` of e.g. an object is the position where the text ends. The `xend` of the icons is stored in the sub-tree-elements. Therefore, to compute the maximum width, you may not skip the closed tree elements. * The current drawing code had an early exit when the icon row would not be visible anymore. This also skipped the calculation of `xend`. So it would work correctly, when the icon was visible a little bit, but not when it was not visible at all. This patch fixes these issues. So even in more complex files, the width is computed correcly. At least I haven't found a case, where it does not. Unfortunately, some optimizations had to be turned off, to make it correct. Reviewers: brecht Differential Revision: https://developer.blender.org/D4887
2019-05-29DrawManager: Cycles+GPencilJeroen Bakker
Fix for GPencil and Cycles Render draw type. GPencil objects were only shown when overlays were turned on. The cause of this is an optimization we did to not populate any draw engine when an external renderer was used with overlays turned off. This will check if there is any visible GPencil object in the scene. if so it will still perform the loop. `DEG_id_type_any_exists` can check if any object of a certain type_id is in the result. This check is also being used to check if there are any visible grease pencil objects as a precheck in `DRW_render_check_grease_pencil`. Reviewed By: brecht, fclem, antoniov Maniphest Tasks: T65191 Differential Revision: https://developer.blender.org/D4962
2019-05-29Keymap: Fix missing start/end shortcuts in SequencerWilliam Reynish
Set these in the shared animation editor keymap instead
2019-05-29Fix T63383: macOS: Right-clicking the file name on the title barStefan Werner
doesn't work as expected when the path includes a whitespace character File path didn't need to be escaped.
2019-05-29Depsgraph: Fix IDs being remapped in original compositorSergey Sharybin
Happens with files from T65223. Caused by CoW scene still pointing to the original compositor. Happens when scene was referenced for parameters only.
2019-05-29Cleanup: Group depsgraph building nodesSergey Sharybin
2019-05-29Markers: fix error in previous commitJacques Lucke
2019-05-29Fix: Hair Length was using wrong unitWilliam Reynish
2019-05-29Cleanup: Remove unused marker operator wrappersJacques Lucke
The wrappers do nothing anymore, because keymaps can have poll functions now.
2019-05-29Sequencer: Fix box select using incorrect rectangles for sequencesJacques Lucke
Reviewer: ISS Differential Revision: https://developer.blender.org/D4968
2019-05-29Fix T58251: Cycles ignores linked meshes when renderingSergey Sharybin
The idea is to share a mesh data-block as a result across all objects which are sharing same original mesh and have no effective modifiers. This mesh is owned by an original copy-on-written version of object data. Tricky part is to make sure it is only initialized once, and currently a silly mutex lock is used. In practice it only locks if the mesh is not already there. As an extra bonus, even viewport memory is also lower after this change. Reviewers: brecht, mont29 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D4954
2019-05-29Keymap: Add back support for Set/Add/Subtract for box selecting in the ↵William Reynish
Sequencer.
2019-05-29UI: use matching distance checks & define for draggingCampbell Barton
2019-05-29Correct error in last commitCampbell Barton
2019-05-29Correct error in last commitCampbell Barton
2019-05-29Keymap: add drag-only generic gizmo keymapCampbell Barton
Allows gizmos clicks to fall through for gizmos which only drag, currently unused.
2019-05-29Fix T65027: Snap 3D cursor on hidden faces doesn't work in Edit Mode.mano-wii
I'm not very fond of adding new types of bvhtrees. But this is probably the most efficient solution.
2019-05-29Fix T65005: Missing "LINES_ADJ" and "TRIS_ADJ" in the GPU Python API.mano-wii
2019-05-29Possible fix for T63685: macOS edit mode selection not working on second displaymano-wii
The idea is to force `glReadPixel` to run in the offscreen context. And don't rely on any rendering context.
2019-05-29Cleanup: move gizmo keymap access into funcitonsCampbell Barton
Existing functions were written to match the setup_keymap callback. Add versions that can be called with the window manager for convenience.
2019-05-29Cleanup: remove redundant sequencer under cursor checkCampbell Barton