Commit Graph

86811 Commits

Author SHA1 Message Date
Bastien Montagne 56c940988f Fix flow layout for camera data Viewport Display panel.
Flow layout needs sub-layouts to properly identify 'cells' of its grid.
2019-03-21 16:24:02 +01:00
William Reynish 196e3920f7 Use 'show_' prefix convention for composition guides 2019-03-21 16:05:32 +01:00
William Reynish 6f38d2782a UI: Correct tooltips for composition guides 2019-03-21 15:09:11 +01:00
William Reynish a0c9095620 UI: Put camera composition guides in standard sub-panel
Before we were using a very inconsistent toggle-menu for this. Just use standard UI here instead.
2019-03-21 15:01:07 +01:00
Campbell Barton e4694c057b UI: replace button open event with activate on init
No user visible change.
2019-03-22 00:55:24 +11:00
Sergey Sharybin 2b21e7ab9a Fix T62768: Softbody cache still not updated correctly
There was missing flush from transform update to the point cache
reset. Caused by the fact that when update happens in the "middle"
of component all the component operations will be tagged for update
(since the intermediate state is not stored), but that will not
flush updates to other operations since that would cause too much
of updates.

This now we tag point cache for reset after evaluation operation
but before final transform and before rigid body world.
2019-03-21 14:41:41 +01:00
Jeroen Bakker b832f6f915 Fix T62810: AA reversed in workbench
Due to recent changes the AA was not rendered in the viewport when not
interacting. When interacting it was. This was due to incorrect
detemination to perform TAA.
2019-03-21 14:35:28 +01:00
Campbell Barton 9a09246dc0 WM: enable activate on init for wmOperatorType.prop
This enables popups to edit text when displayed,
use for new collection popup.
2019-03-22 00:32:01 +11:00
Bastien Montagne 19dc7f7fdf Install_deps: add clang-format packages.
Even though that one is not really useful just to build Blender, we can
as well explicitely include it here, since all 'default' Blender builds
will include full clang/llvm stack anyway (for Cycles and deps)...
2019-03-21 14:12:30 +01:00
Campbell Barton dd1132416e Docs: update examples for 2.8x
Use fields for properties
2019-03-22 00:07:06 +11:00
Campbell Barton bd1299f6a4 Keymap: Use F4 for file context menu
- Replace Window context menu with File menu.

  This was recently removed however artists in the studio use
  link/append often.

- Add preferences to this menu so `F4, PKey` can still be used as a
  quick way to access preferences.
2019-03-21 23:03:17 +11:00
Jacques Lucke 75b14db6a9 Fix T62808: Hair shape cut crash
Reviewers: sergey

Differential Revision: https://developer.blender.org/D4565
2019-03-21 12:38:07 +01:00
Bastien Montagne fbceac9708 Cleanup: Outliner: remove warning about no undo of ID deletion.
ID deletion is undoable nowadays...
2019-03-21 11:17:21 +01:00
Bastien Montagne 8314c3188c Fix clipboard copying collections when copying objects from 3DView.
This was inherited from 2.7x behavior with groups, but in 2.8
collections are also used as 2.7x layers, which turns to be a problem
when pasting back clipboard content, since it would instantiate
collections instead of objects, quickly leading to tens of new
collections in the viewlayer...

Instead, we only copy selected objects from the 3DView now. On paste
time, those will be added to the active collection.

Last part of fixes related to T61670.
2019-03-21 09:47:50 +01:00
Antonio Vazquez b346a7c0df Fix T62802: Layer order inverted in Outliner 2019-03-21 09:29:16 +01:00
Campbell Barton b98fe9e707 Cleanup: move functions into doxy sections
Also use const args for queries.
2019-03-21 14:19:45 +11:00
Campbell Barton 9b3818762a Cleanup: use doxy sections for interface_handlers 2019-03-21 13:53:27 +11:00
Campbell Barton 0bbff8a711 Cleanup: move scroll step into own function 2019-03-21 11:58:03 +11:00
Campbell Barton 06585e0b13 UI: popovers scroll now changes offset directly
Mouse wheel on menus changes the selected item item which doesn't work
well for popovers since buttons aren't always stacked vertically.

Resolves T62777
2019-03-21 11:37:44 +11:00
Campbell Barton 83753d1d29 Cleanup: split menu scrolling function
The same function scrolled to a location and button (depending on args).
2019-03-21 11:36:51 +11:00
Campbell Barton 9105e1d084 Fix T62782: Edge slide crashes with mirror enabled 2019-03-21 09:53:57 +11:00
Clément Foucault f71e8617e0 Viewport: Draw loose edges in edit mesh mode if there is a modifier stack 2019-03-20 22:43:30 +01:00
Bastien Montagne c2f0bd6aed Fix DEG warning from T52873: Proximity WeightVG modifier can use empty as target too.
Only create DEG_OB_COMP_GEOMETRY relation to target object when it has
some, and we use it.
2019-03-20 21:12:34 +01:00
Clément Foucault 1cf592e62e Fix T58748 Mirror modifier: edges/verts invisible unless face is present
It was due to the mapped mesh not being used if no face was present in the
cage mesh.
2019-03-20 20:07:22 +01:00
Brecht Van Lommel da1350acdc Fix T60815: drag & drop crash when search menu is opened immediately after.
Patch by matc, some further refactoring by me.

Differential Revision: https://developer.blender.org/D4250
2019-03-20 19:50:21 +01:00
Brecht Van Lommel 6500b31728 Fix T62788: drop image into node editor puts node at wrong location.
It should be under the mouse cursor but was wrong for high DPI. Also put the
cursor in the header now so it's easy to reposition.
2019-03-20 19:18:51 +01:00
Brecht Van Lommel e0d95b7f79 Merge branch 'blender2.7' 2019-03-20 18:40:10 +01:00
Brecht Van Lommel eb94a0db4f Fix assert after recent changes.
Mark as localized immediately, so that functions that edit the node tree can
verify they are being used under the correct conditions.
2019-03-20 18:39:56 +01:00
Brecht Van Lommel d7cecc2ba3 Fix cycles.merge_images not merging correctly for some channel layouts. 2019-03-20 18:39:26 +01:00
Brecht Van Lommel b6d1946c2e Merge branch 'blender2.7' 2019-03-20 17:33:54 +01:00
Brecht Van Lommel b06d32e4be Cycles: make cycles.merge_images work with incomplete layers and passes.
If layers and passes are not exactly the same in all files, we make a best
effort to merge them instead of failing.
2019-03-20 17:26:25 +01:00
Jacques Lucke c4908c8e8c Fix T62758: hair curves with UV mapped textures renders wrong.
Differential Revision: https://developer.blender.org/D4562
2019-03-20 17:26:21 +01:00
Clément Foucault bff472d2ff Fix T61326 "In Front" option not working on edit curves
Create a new pass for them and draw them separately.

Beware of the double multisample resolve when multi-editing a mix of curves
with and without the "in front" option enabled.
2019-03-20 17:26:14 +01:00
Sergey Sharybin 15d6521de9 Fix assert on vertex parent
The evaluation was done on an original object, which is not allowed.
2019-03-20 17:20:10 +01:00
William Reynish afd9e87f8d UI: Make paint context menus more contextual
- Only show Radius for tools with radius
 - Add more sliders here depending on active tool
2019-03-20 17:04:57 +01:00
Sergey Sharybin 2f4bd63239 Fix T56778: Alembic Override Frame does not update on playback 2019-03-20 16:48:35 +01:00
Clément Foucault 980b61a22c Fix error in UI of empty image due to last commit 2019-03-20 16:48:00 +01:00
Campbell Barton f06dc36c35 Select Similar: use kdtree de-duplication
Avoids redundant tree traversal when finding nearest.
2019-03-21 02:42:31 +11:00
Campbell Barton 3602071e47 BLI_kdtree: add deduplicate function
Function to remove exact duplicates from the tree before balancing.
2019-03-21 02:42:24 +11:00
Campbell Barton dce5695f8e Fix missing free in recent kdtree changes 2019-03-21 02:40:10 +11:00
Sergey Sharybin 099a410478 Depsgraph: Fix cycle with rigid body and Weight Proximity
The issue is a feedback loop with point cache reset operation.

Solved by introducing extra node which ensures object's transformation
is ready for simulator input. Allows to route relations without causing
a fake dependency cycle now.
2019-03-20 16:37:15 +01:00
Clément Foucault c5fc861172 Fix T58550 Dragged in images dont overlap properly
This patch adds a new "Use Alpha" option on image empties to avoid ordering
issue of reference images.

If ordering is not important, "Use Alpha" can be enabled to provide
transparency and alpha blending support.
2019-03-20 16:33:49 +01:00
Sergey Sharybin 3508ffc34c Fix T59449: Particle system creates error in rigid body
Is a dependency cycle problem. Fix is similar to what is done in 024f5ba2bd.
2019-03-20 15:18:47 +01:00
Campbell Barton f08910e7b2 UI: relocate rename menu item
This was in between operator adjust/search.

Also remove line accidentally added in last commit.
2019-03-21 01:06:08 +11:00
Campbell Barton 4e0b5a0baf Cleanup: style 2019-03-21 01:01:27 +11:00
Sergey Sharybin 08efcefb47 Fix T61759: Dynamic paint smudge crash
The issue was caused by mesh needed for dynamic paint brush being
stored in the modifier. That make it to be freed and set to NULL
when running copy-on-write.

Solved by moving the mesh to be stored in modifier's runtime data.
2019-03-20 14:57:31 +01:00
William Reynish 1f97f6c531 UI: Accumulate name was being overridden in Sculpt Mode 2019-03-20 14:56:48 +01:00
Sergey Sharybin 72ff1ff305 Modifiers: Never copy runtime data pointer 2019-03-20 14:53:06 +01:00
Clément Foucault f391362f8c Fix T60190 Z-fighting with (Culled) Backface
Create a separate pass for backface culled objects.
2019-03-20 14:51:06 +01:00
Campbell Barton 6d60207537 Fix renaming the pose bone
The name from the pose bone needs to be changed in pose mode.
2019-03-21 00:34:19 +11:00