eefe878660
Fix T55360: marker-based Camera switch focal length bug.
...
Scene was missing DEG tag update when its camera was changed based on
active 'camera marker'.
2018-06-25 16:21:24 +02:00
817bf582c2
Cleanup: rename object base flags to be more clear.
2018-06-25 14:09:17 +02:00
29c1069244
Cleanup: code style
2018-06-25 12:06:51 +02:00
a5b7f1ef53
UI: internal changes to user-menu storage
...
- Use per context menu lists to support menu editing.
- Support for different kinds of menu items since this may be needed
in the future. Only use operator types for now.
2018-06-24 20:06:30 +02:00
acb94b6c78
Typo in last commit
2018-06-23 20:57:09 +02:00
85c1e61375
UI: Add user defined context menu
...
- Add/Remove from RMB context menu.
- Stored in user preferences.
- Access from Q key.
See T55027.
2018-06-23 20:52:47 +02:00
4ddb03ba79
Keymap: Add F3 key back for search
...
Keeping tilder, adding back F3 since some platforms
still don't have hardware scan-codes for tilder key on non-US keyboards.
2018-06-23 16:25:29 +02:00
c73a6b0d42
Merge branch 'blender2.8' into soc-2018-bevel
2018-06-20 22:29:44 +05:30
3414a16705
Merge branch 'master' into blender2.8
2018-06-20 16:01:30 +02:00
d312dbea2d
Cleanup: naming (make it clear vars are squared)
2018-06-20 15:58:46 +02:00
e6609deba2
Merge branch 'master' into blender2.8
2018-06-20 15:50:54 +02:00
12e926781a
Merge branch 'master' into blender2.8
2018-06-20 15:40:14 +02:00
372754c164
Screen: split ED_area_actionzone_find_xy
...
Add ED_area_actionzone_refresh_xy which can tag redraw
find no longer changes changes to the action zone.
2018-06-20 15:34:20 +02:00
5cad6afac6
Cleanup: rename is_in_area_actionzone
2018-06-20 15:34:20 +02:00
56173e512c
Merge branch 'master' into blender2.8
2018-06-17 16:18:15 +02:00
a0a1fc8938
Cleanup: BLI path extension API
...
Use BLI_path_extension_* prefix.
2018-06-17 16:13:24 +02:00
469408de72
UI: fix redundant scrolling in the redo panel
2018-06-15 21:05:49 +02:00
3e4bf31327
Cleanup: G.main removal from 2.8-only code.
2018-06-15 17:33:24 +02:00
51f1ed8221
Cleanup: style
2018-06-14 22:44:53 +02:00
711a50c5ea
Merge branch 'master' into blender2.8
...
This includes making Eevee match Cycles behavior of inserting an emission
node when linking colors to closures.
2018-06-13 19:26:52 +02:00
4d58fac1b4
Fix undo group to use human readable name, since this shows in the UI.
2018-06-13 18:39:30 +02:00
7a10cfe7fe
UI: preset popover buttons in panel headers.
...
Moves the preset into a menu for the panel header, so it can be changed
without opening the panel and takes up less space. Two remaining issues:
* For long lists the add new preset button can be scrolled off screen.
* We should support showing the name of the chosen preset in the panel
header, but the current preset system does not support detecting which
preset is used.
Differential Revision: https://developer.blender.org/D3366
2018-06-13 15:22:34 +02:00
0bce173bc7
UI: remove empty space at the end of headers, tweak start/end spacing.
2018-06-13 11:43:10 +02:00
dcf70dc181
Fix 3D view header panning not working with region overlap.
2018-06-13 11:43:09 +02:00
813a538a57
UI: show HUD when region overlap is disabled
2018-06-13 09:27:40 +02:00
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
fc0b21ff73
Fix region expanding on refresh
2018-06-13 00:30:16 +02:00
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
e65d20e7dc
Cleanup: add ED_region_panels_layout
...
Only had the '_ex' (extended) version.
2018-06-12 18:39:18 +02:00
031416c559
Merge branch 'master' into blender2.8
2018-06-12 17:36:24 +02:00
b00d840359
WM: remove sloppy region type access
...
Avoid accidentally operating on the wrong region type.
2018-06-12 17:34:44 +02:00
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
d2e691b91a
UI: fix crash with HUD panel size
...
There can be no panels in the region.
2018-06-12 11:18:52 +02:00
4bf331c0fc
UI: Initial persistent floating redo panel
...
This is the first step to moving redo out of the top-bar, see: T55039
- Support for floating panels in the ScrArea has been added.
- A new region type RGN_TYPE_HUD is used for floating settings input.
- Only one HUD should be visible at a time.
- Currently HUD regions are only visible
for 3D view and image space types.
- There are currently some remaining glitches with hide/show
that need further investigation.
2018-06-12 10:42:49 +02:00
35da1afa09
Cleanup: remove unused context args
2018-06-12 07:59:27 +02:00
691471fe22
Cleanup: add simplified panel callbacks
2018-06-11 19:31:56 +02:00
1255129932
Merge branch 'blender2.8' into soc-2018-bevel
2018-06-11 21:03:07 +05:30
3e1f83a1dc
WM: split panel drawing into layout and draw
...
This matches changes made to the header.
2018-06-11 18:39:46 +02:00
Dalai Felinto
d90fc119c2
UI: Separator spacer
...
This support layout.separator_spacer() to be used by headers as a way to
dynamically separate the ui buttons.
Right now no UI file is changed, though we can use this right away in the
timeline, and shortly after in the viewport header (moving settings from
the topbar to it).
Original design by William Reynish.
Review: Campbell Barton
D3468
2018-06-11 14:46:35 +02:00
c10f1379cd
UI: remove tab use in the tool-settings
2018-06-10 15:40:02 +02:00
Julian Eisel
fc85096dc8
Fix T55387: Render fullscreen from top menu crashes Blender
...
Would try to use data from global area for the newly created fullscreen area.
This should not happen, so instead of a global area use first area from layout.
2018-06-08 15:59:34 +02:00
4d16d00154
Keymap: continued testing/development (search key)
...
Use Accent/Grave for search, to be more convenient than F-Keys.
This sets F3 back to what it was before.
2018-06-08 10:07:41 +02:00
30cd35a37b
Keymap: continued testing/development
...
After testing in the studio and extending the event system for
drag events, we've agreed on adjustments to the new keymap,
see: T55162
- Tab: Edit-mode toggle.
- Tab + Cursor Drag: mode switching pie menu.
- Accent/Grave: for 3D view pie menu.
- F3: Search
- 1..3, Shift-1..3: Edit mesh vertex/edge/face toggle.
Other minor changes were made, however they aren't part of the design.
- Ctrl-Shift-S: Image editor Save-As (was F3)
- Ctrl-Alt-R: Repeat history (was F3)
2018-06-07 20:46:12 +02:00
54f9cd5283
Cleanup: Nuke moar G.main usages...
2018-06-07 11:11:46 +02:00
0ee4785675
Cleanup: get rid of just-added G.main usage.
...
Was just added to ease merging of master, proper code now!
2018-06-06 16:32:09 +02:00
bb7202495a
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/collada/ArmatureExporter.cpp
source/blender/collada/ArmatureExporter.h
source/blender/collada/DocumentExporter.cpp
source/blender/collada/DocumentExporter.h
source/blender/collada/SceneExporter.cpp
source/blender/collada/SceneExporter.h
source/blender/collada/collada.cpp
source/blender/collada/collada.h
source/blender/editors/armature/armature_edit.c
source/blender/editors/armature/editarmature_retarget.c
source/blender/editors/armature/pose_transform.c
source/blender/editors/include/ED_armature.h
source/blender/editors/include/ED_object.h
source/blender/editors/include/ED_screen.h
source/blender/editors/io/io_collada.c
source/blender/editors/object/object_transform.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_ops.c
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_window.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-06 16:25:28 +02:00
bb09556be5
UI: sub panel titles draw smaller and indented.
2018-06-06 16:00:25 +02:00
48e871ab1d
Cleanup: Nuke moar G.main usages...
2018-06-06 15:50:24 +02:00
f0d9dbae0d
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/blendfile.c
source/blender/blenloader/intern/readfile.h
source/blender/blenloader/intern/versioning_250.c
source/blender/blenloader/intern/versioning_260.c
source/blender/blenloader/intern/versioning_270.c
source/blender/blenloader/intern/versioning_legacy.c
source/blender/editors/render/render_shading.c
source/blender/makesrna/intern/rna_movieclip.c
source/blender/render/intern/source/pipeline.c
source/blender/render/intern/source/voxeldata.c
2018-06-05 17:02:50 +02:00
481cdb08ed
Cleanup: use new accessors to blendfile path (Main.name).
2018-06-05 16:33:46 +02:00