Campbell Barton
e4ab04b8bb
Fix pop-over buttons always getting space for icon
2018-06-13 11:22:15 +02:00
Campbell Barton
2a5d4d7573
Merge branch 'master' into blender2.8
2018-06-13 11:11:23 +02:00
Campbell Barton
5788f24337
Cleanup: swapped X/Y UI_UNIT
2018-06-13 11:10:55 +02:00
Bastien Montagne
1a79c6d360
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/blendfile.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/particle.c
2018-06-13 11:02:48 +02:00
Bastien Montagne
67e8c1e1c7
Cleanup: remove more G.main from BKE area.
2018-06-13 10:57:10 +02:00
Campbell Barton
f234adf65c
UI: adjust view navigation layout
...
Button layout now matches T54723.
2018-06-13 10:57:09 +02:00
Campbell Barton
edd0522e8f
UI: HUD now follows region theming
2018-06-13 09:50:41 +02:00
Sergey Sharybin
64aadc7c7d
Depsgraph: Avoid use of 0 tag flag on build finish
...
Use all the explicit tagging. Solves characters being in T-pose after
opening specific scene files.
2018-06-13 09:49:14 +02:00
Campbell Barton
813a538a57
UI: show HUD when region overlap is disabled
2018-06-13 09:27:40 +02:00
Campbell Barton
0ab8f9c74a
UI: fix hud panel refresh glitch
2018-06-13 09:21:09 +02:00
Campbell Barton
679eefae74
UI: shorten proportional edit name
...
Didn't fit in panel.
2018-06-13 09:16:26 +02:00
Campbell Barton
a03eadaec8
UI: redo panel layout tweaks
...
- Don't use compact layout (enum titles were hidden).
- Split-properties to use less vertical space.
- Make panel wider, half width when collapsed.
2018-06-13 08:26:16 +02:00
Campbell Barton
fc0b21ff73
Fix region expanding on refresh
2018-06-13 00:30:16 +02:00
Campbell Barton
0c0811829f
UI: adjust header alignment
...
- User preferences header at the bottom.
- Action header at the top.
Now all editors accessible from the menu have their header at the top,
default layout for the timeline remains at the bottom.
2018-06-12 22:59:15 +02:00
Campbell Barton
958d24ae0f
UI: Name N-Key toggle to Sidebar
2018-06-12 22:57:03 +02:00
Brecht Van Lommel
77879ac038
Fix T55376: instanced collection render visibility ignored.
...
For physics simulation it's still fuzzy though, but this needs bigger
design for how it works with view layers and visibility.
2018-06-12 22:36:43 +02:00
Campbell Barton
6700c02e53
WM: don't show redo hud when unsupported
2018-06-12 22:33:58 +02:00
Campbell Barton
98e0bd90f4
WM: hide internal operator settings
...
These are set in the interface and aren't useful to show to users.
Other minor changes
- Rename 'Ruler/Protractor' -> 'Ruler'
- Rename Subdivide 'Quad/Tri Mode' -> 'Create N-Gons' (and invert).
2018-06-12 22:00:22 +02:00
Campbell Barton
18cc8809c3
Fix T55457: Crash after merge faces
2018-06-12 20:43:46 +02:00
Campbell Barton
e65d20e7dc
Cleanup: add ED_region_panels_layout
...
Only had the '_ex' (extended) version.
2018-06-12 18:39:18 +02:00
Bastien Montagne
9b9b943e0c
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_anim.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/scene.c
source/blender/editors/armature/pose_edit.c
source/blender/editors/armature/pose_transform.c
source/blender/editors/armature/pose_utils.c
source/blender/editors/include/ED_armature.h
source/blender/editors/object/object_edit.c
source/blender/editors/transform/transform_conversions.c
2018-06-12 18:26:50 +02:00
Bastien Montagne
2788202417
Cleanup: moar G.main removal from BKE area.
2018-06-12 17:57:24 +02:00
Bastien Montagne
f27ecd56ef
Cleanup: BKE_scene_free should not have to worry about cleaning its usages.
...
This is supposed to be handled by calling code! Henceforce, no need to
call BKE_sequencer_clear_scene_in_allseqs() here, and... no need for
that ugly G.main case. ;)
2018-06-12 17:46:16 +02:00
Campbell Barton
a76cfe2c22
Cleanup: no need for extra HUD type check now
2018-06-12 17:38:04 +02:00
Campbell Barton
031416c559
Merge branch 'master' into blender2.8
2018-06-12 17:36:24 +02:00
Campbell Barton
b00d840359
WM: remove sloppy region type access
...
Avoid accidentally operating on the wrong region type.
2018-06-12 17:34:44 +02:00
Campbell Barton
760e79d809
WM: rename BKE_regiontype_from_id
...
This returns the first as a fallback, causing confusing usage.
Renamed and added a version of the function that doesn't.
2018-06-12 17:26:38 +02:00
Campbell Barton
e8dd4cd9ca
Cleanup: warning, spaces
2018-06-12 17:20:12 +02:00
Bastien Montagne
2af7c38682
Cleanup: get rid of global RNG usage in paint stroke code.
2018-06-12 17:13:47 +02:00
Brecht Van Lommel
376bc88dc0
Fix leak of manipulator tooltip timers.
...
This was causing performance degradation over time in posing, as the
manipulator recomputes the center locations for every event.
Ref T55442.
2018-06-12 17:07:18 +02:00
Brecht Van Lommel
3801736b89
Depsgraph: remove object tagging hack for render.
...
With copy-on-write it should now all be evaluated correctly in render
resolution, without needing to switch the original data resoluton.
2018-06-12 17:07:18 +02:00
Bastien Montagne
a9cfd8c910
Cleanup: get rid of global RNG usage in transform code.
2018-06-12 17:00:31 +02:00
Campbell Barton
8826a00482
WM: HUD was disappearing on redo
2018-06-12 16:59:37 +02:00
Campbell Barton
97cac69739
Fix redo panels being added to non-hud regions
2018-06-12 16:55:00 +02:00
Campbell Barton
2a3e7fe656
UI: improve HUD ensure/clear logic
...
Running operators w/o redo now clears the HUD immediately.
2018-06-12 16:50:27 +02:00
Sergey Sharybin
deb3d73eea
Particle: Use loclaized RNG for physics simulation
...
Avoids threading conflicts between multiple particle systems being simulated.
2018-06-12 16:37:40 +02:00
Jeroen Bakker
866127d9f2
StudioLight: Use texel size as input size
...
Bettter light distribution for diffuse shading
2018-06-12 16:18:50 +02:00
Bastien Montagne
ec4ce908db
Fix T55452: Crash on saving with visible particle system.
...
Missing Main pointer in recent refactor/cleanup of G.main usages...
2018-06-12 16:17:05 +02:00
Sergey Sharybin
b236400ff5
Math: Remove unused functions which are not safe for threading
...
All areas are toy use "local" number generator, in order to keep
behavior predictable and threadable. This is what BLI_rng_() API
is for.
There are still lots of usages of BLI_frand(), which are to be
ported to BLI_rng_get_float(). but that is somewhat involved.
For the time being, remove unsafe API, so new areas have zero
chance using it.
2018-06-12 15:51:43 +02:00
Bastien Montagne
6231a077ac
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_group.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/group.c
source/blender/blenkernel/intern/library_remap.c
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/object/object_group.c
source/blender/editors/object/object_relations.c
source/blender/editors/physics/rigidbody_constraint.c
source/blender/editors/physics/rigidbody_object.c
source/blender/makesrna/intern/rna_group.c
2018-06-12 15:41:32 +02:00
Sergey Sharybin
39e050af40
Fix T55409: Can't animated keyframed material node value after moving keyframe on timeline
...
Completely ignore animation for legacy zero update tag.
If one needs animation to be evaluated, tag with proper update tag, stop relying
on direct assignment of adt->>recalc with zero update tag for DEG.
This commit might cause missing updates when needed, those needs to be looked
into once they happen.
2018-06-12 15:39:11 +02:00
Sergey Sharybin
8204261ede
Particle: Remove global RNG usage from distribution
2018-06-12 15:38:29 +02:00
Sergey Sharybin
53a9cde038
Particle: Use local RNG during initialization
2018-06-12 15:38:29 +02:00
Sergey Sharybin
46cb64917d
Render: Remove global RNG usage
...
We shouldn't be using BI textures anyway. But in any case, adding noise
texture to compositor is doing proper seed updates already, so probably
was already ported to a proper RNG usage.
2018-06-12 15:38:29 +02:00
Jeroen Bakker
b6b1e0f56c
T55454: removal of clay engine
...
The ClayEngine was introduced to test the blender2.8 architecture during
development. As currently we have the wanted features implemented with
matcaps we are going to remove the clay engine as it was never intended
to be an official releasable engine
Note: The test cases are never run. But when enabled will be skipped as
they were implemented over the Clay Engine
2018-06-12 15:32:31 +02:00
Jeroen Bakker
d72ddb81ae
Studiolight: add rim lighting to the default light setup
2018-06-12 15:17:01 +02:00
Bastien Montagne
a6585fa4b1
Cleanup: moar removal of G.main in BKE area...
2018-06-12 15:16:45 +02:00
Bastien Montagne
d617a6c85b
Cleanup/simplify G.main usages.
...
Using G.main only to get main bled filepath, or built-in fonts, is OK.
So now using the 'valid' G_MAIN macro here instead.
2018-06-12 15:03:51 +02:00
Sergey Sharybin
4bfc7b9e7d
Fix crahs using ndof
2018-06-12 14:50:57 +02:00
Sergey Sharybin
18ae64858b
Cleanup: Indentation
2018-06-12 14:43:40 +02:00