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-31Gizmo: add 2D navigation for image/clip/sequencer viewsCampbell Barton
2019-05-31WM: option to ignore cursor image/clip/view2d zoomCampbell Barton
In preparation for view navigation gizmos.
2019-05-31Fix T65200: Crash by hiting "tab" after sculpting with dyntopoSergey Sharybin
Make sure object is properly evaluated to the new state when it is expected to. Reviewers: brecht, mont29 Reviewed By: brecht Differential Revision: https://developer.blender.org/D4985
2019-05-31Fix T55494: Apply transforms on parents and childrenSergey Sharybin
Fix T63790: Crash when applying Scale of Object with vertex parent Made apply transform to fully live in the evaluated domain. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4976
2019-05-31VSE: don't add crop and transform data for sound stripsRichard Antalik
This also fixes commit rB1fd7b380f4cf8a0489b405de2819f228a4da5ea2 which didn't do allocation for effect strips properly. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4970
2019-05-30Selectoin: Remove armature bone filtersClément Foucault
They seems to do nothing as the filtering seems to already be done at a higher level. This fixes T65022 Tracking Markers are not selectable
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-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-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-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-29Markers: fix error in previous commitJacques Lucke
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-29UI: use matching distance checks & define for draggingCampbell Barton
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-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
2019-05-29Cleanup: Remove Dead CodeAaron Carlisle
2019-05-28Fix T65175: nodetree animation stays linked after duplicating a lampPhilipp Oeser
Reviewers: mont29, brecht Maniphest Tasks: T65175 Differential Revision: https://developer.blender.org/D4956
2019-05-28Sequencer: Drag outside of sequence to initiate box selectJacques Lucke
2019-05-28Cleanup: GPU: Move program point size to GPU_stateClément Foucault
2019-05-28Depsgraph: Add query for whether graph is up to dateSergey Sharybin
Depsgraph: Only invoke callbacks when there are changes Only affects when an evaluated dependency graph is requested via context. Makes it cheap to call when there are no changes made to the graph Transform: Ensure depsgraph is evaluated when needed Fix based on D4455 from Campbell, utilizes some recently introduced functions and allows to not have any extra checks in the transform code. Fixes T61904 Fixes T62135 Reviewers: brecht Maniphest Tasks: T62135, T61904 Differential Revision: https://developer.blender.org/D4967
2019-05-28Cleanup: use WM_ prefix for cursor enumCampbell Barton
2019-05-28WM: support X/Y axis cursor wrappingCampbell Barton
Operator flags to wrap on a single axis. D4865 by @Gvgeo with updates. Resolves T64585
2019-05-28Fix T64829: Active point of Curve objects is not displayed correctlyPhilipp Oeser
three issues here: - when curves had multiple nurbs, the active vert is per nurb [curve_create_edit_data_and_handles() wasnt taking that into account] - code could go wrong when points where hidden - upon selection, tag curve ID_RECALC_COPY_ON_WRITE for batch cache update Reviewers: brecht, fclem, sergey Maniphest Tasks: T64829 Differential Revision: https://developer.blender.org/D4943
2019-05-28Fix T57090: selected node group input sockets circles not drawing inPhilipp Oeser
sidebar UIList nodesockets were actually drawn, but immediately drawn over by widgets from the widget draw batch cache. solution here is to "widgify" nodesocket drawing as well. Reviewers: brecht Maniphest Tasks: T57090 Differential Revision: https://developer.blender.org/D4963
2019-05-28Cleanup: use time scrub instead of scrubbingCampbell Barton
Renaming was only done to ED_time_scrub_ui.h, function names and struct members used term 'scrubbing' which is ambiguous.
2019-05-28Cleanup: clang formatCampbell Barton
2019-05-28Cleanup: rename gizmo keymapsCampbell Barton
Don't use plural because single/multiple isn't relevant for keymap definitions and reads badly for specific gizmo types that only use a single gizmo.
2019-05-28Gizmo: changes to internal drag logicCampbell Barton
Minor changes to recent gizmo click/drag logic 08dff7b40bc6a Changing the gizmos highlighted part in the invoke_prepare callback is too error prone since it needs to run before it's known which operator will execute. Add back 'drag_part', since it simplifies click-drag use. While this isn't essential with custom keymaps per gizmo it avoids having to define a keymap in the case a drag event needs a different action.
2019-05-28Fix show face-dot checkCampbell Barton
Match edit-mesh drawing.
2019-05-27Cleanup: Fix build warning in bf_editor_interfaceRay Molenkamp
widget_draw_text_ime_underline was not const correct leading to warnings with MSVC
2019-05-27Gizmo: add per gizmo keymapsCampbell Barton
Remove click-drag support for tweak gizmo, rely on keymap events instead. This is needed for some gizmos to use modifiers keys without having all gizmos use all modifier keys (see: T63996).
2019-05-27cleanup: Collada exporter renamed 'transrotloc' to 'decomposed'Gaia Clary
The collada exporter allows to export transforms either as Matrix or as a decomposition of Translation, Rotation aand Scale. The decomposition option was falsely named "TransRotLoc". I renamed it to the much more descriptive word "Decomposed". The tooltip already contains sufficient information, so there is no need to change that.
2019-05-27Fix T65080: handle case when View2D has 0 scaleJacques Lucke
2019-05-27Cleanup: Fix warning in bf_editor_meshRay Molenkamp
Declaration and implementation of EDBM_select_id_context_create got out of sync leading to warning with msvc.
2019-05-27fix: collada transformtype must be identical for animation export and object ↵Gaia Clary
export When exporting an object we can choose the transformation type 'Matrix' or 'trans/rot/scale' When exporting an animation we have the same choice regarding the used transformation type. However we must make sure that animations and objects use the same transformation type within one colleda export. The user interface is now reworked such that the correct settings are always guaranteed. I also reworked the tool tips
2019-05-27Gizmo: add event argument to invoke_prepare callbackCampbell Barton
2019-05-27Fix T65052: "Convert to mesh from curve" fail if the curve has a bevelSergey Sharybin
Use evaluated object as an input for mesh construction. This ensures all dependencies are ready. Reviewers: brecht, mont29 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D4955
2019-05-27Fix poor display of time codes in sequencer Info panelMal Duffin
Allow using : in labels inside buttons. Differential Revision: https://developer.blender.org/D4944
2019-05-27Fix T65181: image View as Render should not affect file savingBrecht Van Lommel
2019-05-27Fix T65160: missing updates when setting origin on a collection instancePhilipp Oeser
Reviewers: sergey, brecht Maniphest Tasks: T65160 Differential Revision: https://developer.blender.org/D4953
2019-05-27Depsgraph API: Allow preserving custom data layersSergey Sharybin
This commit extends dependency graph API with an argument which denotes that all custom data layers are to be preserved. This forces modifier stack re-evaluation with more inclusive mask. Far from ideal, since this might fail in certain configurations with indirectly used objects which might be missing layers needed for the current object evaluation. But this is how it worked for a long time, so should be good enough for until more sophisticated solution is found. In order to use this new behavior two things are to be passed: - Pass keep_all_data_layers=True - Pass a valid dependency graph. The dependency graph is only needed if keep_all_data_layers=True and is NOT to be passed if keep_all_data_layers=False. If keep_all_data_layers=True the dependency graph MUST be passed. Reviewers: mont29, brecht Reviewed By: mont29 Maniphest Tasks: T64994, T64794 Differential Revision: https://developer.blender.org/D4940
2019-05-27UI: use tool label instead of id-names for quick favoritesCampbell Barton
2019-05-27Mitigate T64346: Quick Favorites items cant be removedCampbell Barton
For now don't show missing quick favorite menu items which are missing. Once menu editing is supported they could be displayed.
2019-05-27Fix T65074: Crash on switching colorCampbell Barton
Make buttons to take active `Paint` from the context. D4946 by @Gvgeo
2019-05-27Revert "UI: Edit Menu Operator Polling"Brecht Van Lommel
This reverts part of commit b7eba20236ca6499a62a8ee2b0c852086bc46b8e. Polling is causing issues in scripts, and the minor usability improvements are not worth the extra work this may cause at this point in the release cycle. Fixes T65149