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
path: root/source
AgeCommit message (Collapse)Author
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-06Cleanup: remove deprecated/unused preferences DNACampbell Barton
2019-02-06Cleanup: use doxy headers for preference commentsCampbell Barton
2019-02-06Fix T61191: First undo step missing in text editorCampbell Barton
2019-02-06Undo System: remove accumulate/store modesCampbell Barton
This complicated handling of undo steps in a generic way especially switching between undo systems that stored data to ones that accumulated changes. Now each undo system must treat it's steps as check-point, internally it can apply/rewind changes. This commit also fixes projection paint where the object mode wasn't following the undo steps.
2019-02-06Fix T61196: Mesh select ignores clippingCampbell Barton
Select clipping now works when x-ray is disabled.
2019-02-06GPU: refactor clipped drawing from DRW into GPUCampbell Barton
Needed to fix T61196, supporting clipped back-buffer in the 3D view which is done outside the draw module. It was also inconvenient having DRW_shader_* versions of GPU_shader_* API calls. - Clipping distances are now supported as a shader configuration for builtin shaders. - Add shader config argument when accessing builtin shaders. - Move GPU_shader_create_from_arrays() from DRW to GPU.
2019-02-06Cleanup: styleCampbell Barton
2019-02-06Outliner visibility unification: Implement 3 levels of viewport visibilityDalai Felinto
Now collection and objects can be either: * Disabled for all the view layers. * Hidden for a view layer but not necessarily for all others. * Visible for a view layer but not necessarily for all others. Regarding icons: Whatever we decide to use for the "Hidden for all view layers" needs to be a toggle-like icon. Because when viewing "Scenes" instead of "View Layer" in the outliner we should be able to edit the collection "Hidden for all the view layers" as an on/off option. The operators are accessible via a Visibility context menu or shortcuts: * Ctrl + Click: Isolate collection (use shift to extend). * Alt + Click: Disable collection. * Shift + Click: Hide/Show collection and its children (objects and collections) Things yet to be tackled: * Object outliner context menu can also get a Visibility sub-menu. * Get better icons for viewport enable/disable. Note: * When using emulate 3 button mouse alt+click is used for 2d panning. In this case users have to use the operator from the menu. See T57857 for discussion. Patch: https://developer.blender.org/D4011 Reviewers: brecht and sergey Thanks to the reviewers and William Reynish and Julien Kasper in particular for the feedback.
2019-02-05Outliner: eyes for collection affect collection visibilityDalai Felinto
As oppose to affect the collection objects' visibility.
2019-02-05Outliner: Gray out collections only when they are invisibleDalai Felinto
Re-factor of 4521d3e7074d.
2019-02-05Fix/workaround issues in pose and edit modeSergey Sharybin
[re-committing] Edit mode was unable to select, pose mode was unable to move bones.
2019-02-05Per view-layer collection visibilityDalai Felinto
[re-committing] We still control this in the viewport collections visibility menu. But now we are actually changing the visibility of the collections, not of the objects. If a collection is indirectly invisible (because one of its parents are invisible) we gray it out. Also if you click directly in the collection names, it "isolates" the collection by hiding all collections, and showing the direct parents and all the children of the selected collection. Development Note: Right now I'm excluding the hidden collections from the depsgraph. Thus the need for tagging relations to update. If this proves to be too slow, we can change.
2019-02-05Fix T61204: Can't select Camera in stereoscopy modeDalai Felinto
This was deliberately disabled since I didn't get the drawing working originally. It is fully working now. Note: camera lens widget still needs to be fixed since it still draws it wrongly.
2019-02-05UI: make drag lock work also when buttons have > 2 states or use callbacks.Brecht Van Lommel
This will help with upcoming outliner visibility icons with 3 states. It is done by using the icon to identify the state. If that is not unique there is no visible difference to users anyway.
2019-02-05Fix new EEVEE bloom / motion blur defaults not being applied to startup.blend.Brecht Van Lommel
2019-02-05Fix strict compiler warning, breaking MSVCSergey Sharybin
2019-02-05Clip editor: Fixes for prefetchSergey Sharybin
Seems metadata was never read while prefetching, at least was never requested to be read. Also fixed prefetch for multilayer EXR.
2019-02-05BKE_mesh_new_from_object(): do not generate temp obj/cu in Main.Bastien Montagne
When generating a mesh from a curve object, do not generate temp objects and curves in main, but rather as 'localized' copies. This is cleaner, and might add a marginal speed-up in some cases (like rendering thousands of curve objects), since we save some processing. Note that this is the function behind py API's `Object.to_mesh()` too.
2019-02-05Movieclip: Improve support of multilayer EXR filesSergey Sharybin
Use first combined pass if possible. Is not ideal but better than showing completely empty image. Also, covers quite a lot of usecases when movie clip editor is used to review animation render of single-layer renders but with multiple passes.
2019-02-05Edit Mode: Increase depth Bias for verticesClément Foucault
2019-02-05Edit Mode: Fix loose edges edit mode normal display brokenClément Foucault
2019-02-05Edit Mode: Fix Xray edit mode broken due to recent refactorClément Foucault
2019-02-05Edit Mesh: Add workaround for system that does not support wide linesClément Foucault
This adds a new geometry shader (specific to edit mesh for now) that reproduces the effect of glLineWidth > 1.0, since this is not supported on all platform. This fix could be generalized to other shaders later.
2019-02-05Edit Mesh: Fix some problem with new implementationClément Foucault
- Add manual depth offset to vertices and edges. - Revert to plain edge decoration. - Fix active edge coloring. - Remove active face display if not in face selection mode. - Add wide line support.
2019-02-05Edit Mesh: Remove old unused code and filesClément Foucault
Cleanup after recent refactor.
2019-02-05Edit Mesh: Refactor Edit cage drawing to use old style drawingClément Foucault
This is work in progress. Look is not final. This align data VBO data structure used for edti cage drawing to the one use for normal drawing. We no longer use barycentric coords to draw the lines an just rasterize line primitives for edge drawing. This is a bit slower than using the previous fast method but faster than the "correct" (edge artifact free) method. This also make the code way simpler. This also makes it possible to reuse possible and normal vbos used for shading if the edit cage matches the This also touches the UV batch code to share as much render data as possible. The code also prepare for edit cage "modified" drawing cage (with modifier applied) but is not enabled since selection and operators does not work with modified cage yet.
2019-02-05UVEdit: Add function variants based on ToolSettingsClément Foucault
This is better than passing a scene pointer when we don't have one.
2019-02-05Support showing metadata for multilayer EXR filesSergey Sharybin
Quite straightforward: first, convert metadata from file to stamp data which is stored in the render result, and then for every requested layer/pass use that as a metadata.
2019-02-05Cleanup: Add precision to comment.Bastien Montagne
2019-02-05Fix (unreported) linestyle/greasepencil actions not being duplicated by full ↵Bastien Montagne
scene copy. Noted those as missing in XXX comments some time ago, running again on that code I still see no reason for this missing feature, so now when doing a full scene copy, including duplication of Freestyl's linestyles and scene's greasepencil data, their potential Actions will also be properly duplicated (like it was already the case for world, and scene itself).
2019-02-05Cleanup: typo in comment.Bastien Montagne
2019-02-05Cleanup: replace BKE_id_copy_ex by BKE_id_copy where possible.Bastien Montagne
That way it is obvious when we are using default ID copy behaviour, and when we are using advanced/specialized ones.
2019-02-05Cleanup: use LIB_ID_COPY_LOCALIZE in BKE_libblock_copy_for_localize().Bastien Montagne
This is a slightly more risky commit, as it is very difficult to fathom all that may happen when localazing IDs. Would not expect any issue though. Note that a big TODO remain to refactor fully that ID localization process (for 'shading IDs'), it's still doing pretty much same thing as regular out-of-main copies, but the infamous ntree topic makes it delicate to handle...
2019-02-05Cleanup: sanitize BKE_libblock_copy_for_localize() copy flags.Bastien Montagne
Asking to not copy animdata, but copy actions, is pure nonsense (and make LIB_ID_COPY_ACTIONS flag totally useless/no-op).
2019-02-05Cleanup: Remove old deprecated BKE_libblock_copy_nolib() from BKE_library.Bastien Montagne
Was not used anymore, time to get rid of it.
2019-02-05BKE_library: id_copy: More general usage of LIB_ID_COPY_LOCALIZE.Bastien Montagne
Turns out most of our 'local working copy' cases can use same set of flags. Note that this commit adds LIB_ID_COPY_CACHES to all our local meshes copying, however this is no-op since that flag is unused during mesh copying... We may want to add another set of flags without that one at some point, but for now it would not be useful imho.
2019-02-05BKE_library: add 'no preview' flag to LIB_ID_COPY_LOCALIZE.Bastien Montagne
No local work copy is expected to need preview data, at least it should not. Part of copy flags cleanup, done in separate commit in case something goes wrong here...
2019-02-05Cleanup: initial regrouping of ID create/copy flags.Bastien Montagne
Those two first sets of flags should represent some common use cases. The goal here is to reduce verbosity of calls to BKE_id_copy_ex, and help make it more obvious the 'common behaviours' of ID copying across codebase.
2019-02-05Cleanup: comments before items in enums.Bastien Montagne
2019-02-05Cleanup: BKE_library: rename id_copy to BKE_id_copy.Bastien Montagne
Time to follow conventions for that one as well.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-05Fix T61107: wmGizmo.test_select can't return -1Campbell Barton
This is used to skip selection.
2019-02-05Fix T58221: Spin tool w/ merge first/last crashesCampbell Barton
Spinning geometry that included non boundary/wire edges crashed when merge first/last enabled.
2019-02-05Fix empty object front/back display in perspective viewsCampbell Barton
2019-02-05Fix T61163: Single sided images show when viewed from sideCampbell Barton
2019-02-05Cleanup: remove contributors for Python filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04T61148: Particle properties can not be edited after keyframingSergey Sharybin
Was happening with certain settings for hair. Need to make a copy of particle settings before modifying them via animation system.
2019-02-04PyAPI: use _PyObject_LookupAttrCampbell Barton
Unlike PyObject_GetAttr, this avoids setting the attribute error only to clear it - under some conditions.