Campbell Barton
2032e4ec9e
Merge branch 'master' into blender2.8
2018-07-27 17:09:38 +10:00
Campbell Barton
3e2dfc6db8
Fix T55991: Python ignores scene switch argument
2018-07-27 16:49:41 +10:00
Campbell Barton
98c8094e3a
Correct arguments for callback
2018-07-27 16:41:18 +10:00
Campbell Barton
b8ab2a84d3
Merge branch 'master' into blender2.8
2018-07-27 11:01:01 +10:00
Campbell Barton
71564debf9
Fix T56074: Remove doubles creates holes
...
Own regression when moving remove-doubles to kd-tree
(seems to happen only in rare cases).
2018-07-27 10:55:30 +10:00
Pablo Vazquez
cf080657a1
UI: Tooltip tweaks for Display Mode
...
Keep UI -> Keep User Interface, and don't use the word UI again in the tooltip.
2018-07-27 02:13:52 +02:00
Pablo Vazquez
7d768fc855
UI: Help menu minor tweaks
...
Show "Operators Cheatsheet" and Python API link only when developers extra is enabled.
Fix URL for User Communities, Developer Community and Release Notes (which 404s
now just like the wiki anyway since the page for 2.80 is being made).
2018-07-27 02:02:11 +02:00
mano-wii
cb42850ef2
Fix assert in snapEditMesh.
2018-07-26 13:48:26 -03:00
Lukas Stockner
d6e769d32e
Cycles: Add reflection fix to Bump and Normal Map nodes
...
While changing the shading normal is a great way to add additional detail to a model, there are some problems with it.
One of them is that at grazing angles and/or strong changes to the normal, the reflected ray can end up pointing into the actual geometry, which results in a black spot.
This patch helps avoid this by automatically reducing the strength of the bump/normal map if the reflected direction would end up too shallow or inside the geometry.
Differential Revision: https://developer.blender.org/D2574
2018-07-26 17:00:31 +02:00
Jens Verwiebe
1c41dbb079
Fix compiling after ui cleanups
2018-07-26 14:21:15 +02:00
Vuk Gardašević
bc6e6a758f
UI: Use Single Column and Grid Flow layout for Physics Cloth
...
See D3559
2018-07-26 12:33:31 +02:00
Campbell Barton
4d83759f6a
Cleanup: unused args
2018-07-26 19:52:12 +10:00
William Reynish
2499ee64a1
UI: Single column layout and sub-panels for Rigid Body Physics panels
2018-07-26 11:39:29 +02:00
Campbell Barton
1f809f34c1
Merge branch 'master' into blender2.8
2018-07-26 18:39:57 +10:00
Campbell Barton
ab67c6e46b
WM: replace UI draw callbacks w/ property poll
...
Custom drawing functions were used just to control property display.
Move to poll function.
2018-07-26 17:35:33 +10:00
Campbell Barton
e91bdb10e9
Merge branch 'master' into blender2.8
2018-07-26 15:51:29 +10:00
Campbell Barton
44370a307c
UI: hide transform constraints when not used
2018-07-26 15:44:27 +10:00
Campbell Barton
0dd3b200b0
Cleanup: remove redundant flag
...
Caller can pass this flag if necessary.
2018-07-26 14:58:36 +10:00
Campbell Barton
9257357c3f
Merge branch 'master' into blender2.8
2018-07-26 14:49:52 +10:00
Campbell Barton
629403fb51
WM: remove duplicate ui-list functions
...
Missed when moving into own file.
Caused issues on MSVC, not GCC.
2018-07-26 14:47:48 +10:00
Campbell Barton
2e12114f3b
Merge branch 'master' into blender2.8
2018-07-26 14:45:14 +10:00
Campbell Barton
e6c5490323
UI: hide proportional transform options
...
Adds property poll function to transform.
2018-07-26 11:53:58 +10:00
Campbell Barton
dbd79c097c
WM: Add operator property poll callback
...
This allows operators to filter out properties from the
auto-generated draw functions.
Some custom draw functions can move to using this.
2018-07-26 11:53:53 +10:00
Campbell Barton
2df27fa6cf
Cleanup: Use const argument
2018-07-26 11:20:03 +10:00
Pablo Vazquez
1882dfc47c
UI: More opaque type icons in the Outliner
...
Also always draw the counter of elements-per-type with a dark background
regardless of the active status. It being white when active affects
readability since the icon background itself is already highlighted.
Thanks devtalk forum for feedback.
2018-07-26 02:42:20 +02:00
Bastien Montagne
9c0dea213e
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/rigidbody.c
2018-07-25 21:12:04 +02:00
Bastien Montagne
29d1db9ed6
Fix T55964: Direction not normalized in isect_ray_aabb_v3_simple()?
...
RNA API Object.ray_cast would not normalize direction vector before
doing first quick bbox intersection test, while using its returned
distance value. This could lead to wrong exclusion of object.
Thanks to @codemanx for finding that issue.
2018-07-25 21:05:44 +02:00
Bastien Montagne
5ba4d059c0
Fix (unreported) potential div-by-zero in ray/bbox intersection BLI code.
...
Also added note that direction parameter should be normalized vector
in case one intend to use returned distance values.
2018-07-25 21:04:28 +02:00
Brecht Van Lommel
8c9e6c5986
Fix crash Cycles rendering with --debug-value 256.
2018-07-25 19:15:48 +02:00
Brecht Van Lommel
9a40690242
Fix for holdout / indirect only with collection instances.
2018-07-25 18:30:26 +02:00
Pablo Vazquez
bd326d0d1f
UI: Sort panels in mesh context
...
Also collapse by default the less frequented Face Maps and Normals
2018-07-25 16:48:10 +02:00
Brecht Van Lommel
885cda65c9
Cycles: add per layer collection indirectly on setting.
...
In the outliner, right click > view layer > set indirect only. This is
like clearing camera ray visibility on objects in the collection, and is
temporary until we have more general dynamic overrides.
2018-07-25 16:45:46 +02:00
William Reynish
e6e8ee2922
UI: Single column and subpanels for Particles Physics Fluids and Boids
2018-07-25 16:12:04 +02:00
Brecht Van Lommel
b0077992d2
Cycles: add per layer collection mask/holdout support.
...
In the outliner, right click > view layer > set holdout. This is
temporary until we have more general dynamic overrides, but helps
Spring production for now.
2018-07-25 15:59:54 +02:00
Brecht Van Lommel
41130ecf16
Cleanup: mark missing Cycles view layer override features with TODO.
2018-07-25 15:59:54 +02:00
William Reynish
5d0a3d3c9c
UI: Dynamic Paint single column and sub panels
2018-07-25 15:57:30 +02:00
Pablo Vazquez
421017d24a
UI: Node Editor Properties single column
...
Color and Properties panels as sub-panels of Node. Collapse Node properties
by default, since they are already in the node itself and in material properties.
2018-07-25 15:04:28 +02:00
Bastien Montagne
5f1ead6395
Fix T55895: VSE crash while moving a strip
...
Glitch from multi-edit project. ;)
2018-07-25 14:53:11 +02:00
Vuk Gardašević
4183e62d1b
UI: Texture Properties Layout and Cleanup
...
Initial work on single column layout, flow and organization of
the texture properties. More work needs to be done in the C templates
for image textures.
See D3557
2018-07-25 14:01:22 +02:00
Pablo Vazquez
f3524fe759
UI: Minor tweaks to nodes
...
Match roundness with widget defaults and collapse triangle size with panel's.
Interaction is the same, just an aesthetic tweak.
2018-07-25 12:53:15 +02:00
Pablo Vazquez
ee9d375045
UI: Add "New" and "Open..." to the File Context Menu
...
Puts both operators at easy reach with the left hand since the
shortcuts for these are somewhat cumbersome (Ctrl+O/Ctrl+N)
2018-07-25 11:57:25 +02:00
Brecht Van Lommel
509d87230a
Fix missing particle use count object names with disabled particles.
2018-07-25 11:51:49 +02:00
Campbell Barton
2e112f5914
Keymap: Use 1..4 to change UV select modes
...
Support for sync selection switching which keys apply.
2018-07-25 11:02:12 +10:00
Campbell Barton
d8514482fe
WM: keymap utility to set enum from a key range
2018-07-25 11:00:03 +10:00
Campbell Barton
bd608d9aff
Fix mistake in fix for T55798
2018-07-25 09:23:07 +10:00
Germano
fdd4b03f33
Correction on the last commit.
2018-07-24 19:45:03 -03:00
Germano
4f85982c6f
Fix base->flag and base->flag_legacy: The flags of the Transform operator are being added to the bases of the not evaluated view_layer.
...
But I'm not sure if the flags `BA_WAS_SEL`,` BASE_SELECTED` and `BA_SNAP_FIX_DEPS_FIASCO`(lol XD) should be added to the bases of the not evaluated `view_layer`. This needs to be discussed.
2018-07-24 19:34:49 -03:00
Germano
decb724572
Fix T55798: Crash when snapping objects with data recalculated by modifiers.
...
Although the default behavior is for these objects to be ignored during the snap operation, this should not crash.
2018-07-24 19:13:28 -03:00
Clément Foucault
a76198cb23
RNA: Remove Unused dof.is_hq_supported and dof.use_high_quality
...
It's not necessary anymore since we assume it's always high quality.
2018-07-24 18:05:30 +02:00
Clément Foucault
cfaea24117
Fix T55754: DOF with new Camera is not working
...
Was due to non initialized gpu_dof.ratio
2018-07-24 18:05:30 +02:00