Commit Graph

63219 Commits

Author SHA1 Message Date
Brecht Van Lommel
a6ea38d345 Cleanup: remove unused interlace code after removal of fields. 2018-07-10 17:58:08 +02:00
Campbell Barton
2574ee3d38 Image: remove fields option for image sequences
Remove support for loading interlaced image sequences because
its less common now to record interlaced video,
the option to de-interlace video on load remains.
2018-07-10 17:31:13 +02:00
Campbell Barton
c10ece49ba Fix for recent numeric input checks 2018-07-10 17:11:01 +02:00
Brecht Van Lommel
e6dccb4b01 Fix T55826, fix T55804: crash after copying scene with linked objects. 2018-07-10 16:30:17 +02:00
Brecht Van Lommel
dd7a727910 Fix accidentally removed particle function in GLSL, still not supported though. 2018-07-10 16:30:17 +02:00
Brecht Van Lommel
0a04314d06 Fix popovers showing unnecessary titles. 2018-07-10 16:30:17 +02:00
Clément Foucault
1a43e08187 Eevee: LightCache: Initial Implementation
This separate probe rendering from viewport rendering, making possible to
run the baking in another thread (non blocking and faster).

The baked lighting is saved in the blend file. Nothing needs to be
recomputed on load.

There is a few missing bits / bugs:
- Cache cannot be saved to disk as a separate file, it is saved in the DNA
  for now making file larger and memory usage higher.
- Auto update only cubemaps does update the grids (bug).
- Probes cannot be updated individually (considered as dynamic).
- Light Cache cannot be (re)generated during render.
2018-07-10 15:31:34 +02:00
Clément Foucault
97f90d48a0 Object Mode: Change Lightprobe display. 2018-07-10 15:31:34 +02:00
Clément Foucault
c90a0d5dda DRW: Add new features from lightcache branch
- Change gl_context_mutex to a ticket mutex ensuring interactivity even
  when rendering.
- Add DRW_custom_pipeline for using DRW outside of the viewport and render
  pipeline.
- DRW_opengl_render_context_*** and DRW_gawain_render_context_*** to use
  with DRW_custom_pipeline.
- Add possibility to bypass deferred compilation on demand (not User
  demand).
- Add union to access DRWMatrixState members more easily.
2018-07-10 15:31:34 +02:00
Clément Foucault
873d7f7e14 DrawData: Change drawdata to a generic struct shared accross ID types
This makes tagging much more generic and make the world updates more in
line with the new tagging system (Depsgraph).
2018-07-10 15:31:34 +02:00
Clément Foucault
dfd192ce41 GPUTexture: Refactor of texture creation & new feature
- Texture creation now requires explicit data type.
- GPU_texture_add_mipmap enable explicit mipmap upload.
- GPU_texture_get_mipmap_size can be used to get the size of a mipmap level
  of an existing GPUTexture
- GPU_texture_read let you read back data from a gpu texture.
2018-07-10 15:31:34 +02:00
Campbell Barton
785159e6e4 Numeric Input: remove fake-editing option
Numeric input allowed mix of editing and hotkeys which were interpreted
as modifiers instead of using as numeric input.

This meant entering '1.0*3' needed to be typed as '1.0**3'
('*' to activate, and again to multiply).

Pressing '/' gave the reciprocal of the current number
which could be useful.

Test removing this feature, so only full numeric input is supported.
2018-07-10 15:11:48 +02:00
Sergey Sharybin
15ef4638b3 Merge branch 'master' into blender2.8 2018-07-10 14:45:08 +02:00
Sergey Sharybin
c17cb50ae2 OpenSubdiv: Make more flexible C-API to specify FVar interpolation 2018-07-10 14:40:45 +02:00
Campbell Barton
b23404d701 3D View: overlay option to show bones
Allows drawing motion paths without the bones.
2018-07-10 14:10:12 +02:00
Brecht Van Lommel
39b1842335 Fix T55882: crash closing user preferences window in some cases. 2018-07-10 12:33:18 +02:00
Sergey Sharybin
e4ce5fd8d2 Modifiers: Use bool for boolean flag in isDisabled 2018-07-10 12:14:33 +02:00
Sybren A. Stüvel
25619443bb Ocean Modifier: prevent crashing on 'Apply Modifier' button
The 'Apply Modifier' button calls the modifier code on the original
object instead of an evaluated copy, which doesn't have an initialised
Ocean *.
2018-07-10 12:00:58 +02:00
Sybren A. Stüvel
0c8452ad99 Ocean Modifier: removed duplicated code
Some code was copied with 'keep in sync with xxx' comments added to it.
2018-07-10 12:00:58 +02:00
Sybren A. Stüvel
de55ae56ae Ocean Modifier: refactored the delayed-refresh approach
The approach of setting 'refresh' flags on the modifier, and performing
the associated actions when the modifier is being evaluated, is a bad
one. Instead, we use the separation of the original and the evaluated
copy to 'refresh' certain things (because they simply aren't set at all
on the original). Other actions are now done directly with BKE_ocean_xxx
functions on the original data, intead of during evaluation.
2018-07-10 12:00:58 +02:00
Sybren A. Stüvel
b9bef10d19 Ported mesh_create_derived_view() to mesh_create_eval_final_view() 2018-07-10 12:00:58 +02:00
Sybren A. Stüvel
6807b4318f Ocean Modifier: ported from DerivedMesh to Mesh 2018-07-10 12:00:58 +02:00
Sybren A. Stüvel
445f1d82a1 Added comment for DEG_TAG_PSYS_xxx and PSYS_RECALC_xxx relation 2018-07-10 12:00:58 +02:00
Campbell Barton
726e868889 3D View: allow border zoom from camera 2018-07-10 11:50:27 +02:00
Bastien Montagne
97f2f211ed Fix T55772: Crashes opening a file
Bad handling of some weird 'temp' screens in 2.8 doversion.
2018-07-10 11:42:57 +02:00
Brecht Van Lommel
c236c80de4 Fix T55884: shader node linked menu showing incompatible nodes. 2018-07-10 11:41:03 +02:00
Campbell Barton
358e1181b5 Keymap: remove Shift-B in camera view
We already have Ctrl-B for setting the border,
no need for two keys to do the same thing.
2018-07-10 10:58:20 +02:00
Sergey Sharybin
04570e9120 Fix T55484: Border zoom fails in Edit-Mode 2018-07-10 10:29:24 +02:00
Campbell Barton
10b976d2eb Fix 3D cursor update
Changing the values for the 3D cursor wasn't updating.
2018-07-10 09:37:39 +02:00
Campbell Barton
9536f920e3 Cleanup: style 2018-07-10 09:29:30 +02:00
Campbell Barton
96bae0f882 Fix T55879: Crash setting render presets
Any RNA using 'rna_SceneCamera_update' crashed when set from Python.
2018-07-10 09:03:00 +02:00
Campbell Barton
ab14da272d Reverted T55880 fix by accident 2018-07-10 08:34:19 +02:00
Campbell Barton
3a07b2124b Fix T55877: Crash snapping non-edit-mesh to grid 2018-07-10 08:24:05 +02:00
Campbell Barton
2386436520 Fix T55880: Crash dragging file into image editor
Caused by b4ccec6742
2018-07-10 08:17:20 +02:00
Campbell Barton
fc20fa2908 Merge branch 'master' into blender2.8 2018-07-10 07:42:16 +02:00
Campbell Barton
f9107eae6a Keymap: minor changes for keymap display 2018-07-10 07:41:49 +02:00
Campbell Barton
521f188af6 Fix workspace not freeing tool properties 2018-07-10 07:10:28 +02:00
Campbell Barton
8121010310 Transform: default constraint to user orientation
Previously global was always used before the current orientation,
the order is now reversed, which assumes the user wants to first
use the value they set, with the global secondary.
2018-07-10 06:58:43 +02:00
Campbell Barton
8a816fd3bc Merge branch 'master' into blender2.8 2018-07-10 06:53:12 +02:00
Campbell Barton
f51c6efbc1 Fix transform plane constraint orientation cycle
Regression since 2.79b release
2018-07-10 06:51:25 +02:00
Pablo Vazquez
1112f49a14 UI: Cleanup - Remove Show Panel Header and Background
A toggle for this is no longer required now that both header and background
colors are RGBA (disabling Show Header is the same setting the alpha to 0).

Thanks Brecht for reviewing!
2018-07-10 00:47:08 +02:00
Brecht Van Lommel
8373544df3 Fix T55776: crash with multiple windows and reload new.
There were a number of cases where immActivate() and immDeactivate() could
get out of sync, causing crashes due to using a freed mutex lock. Refactor
the code now to hopefully avoid this always.
2018-07-09 23:57:19 +02:00
Brecht Van Lommel
845899d373 UI: tweak image menu layout to match file menu more. 2018-07-09 23:31:44 +02:00
Campbell Barton
07e368cb5f UI: hide status bar constraints when not used 2018-07-09 18:25:47 +02:00
Campbell Barton
881cc17ffa UI: hide status bar items when 2018-07-09 18:14:41 +02:00
Campbell Barton
113b053d5b WM: add utility function to refresh status bar 2018-07-09 18:14:41 +02:00
Campbell Barton
12d4ebcaa3 Merge branch 'master' into blender2.8 2018-07-09 17:57:37 +02:00
Campbell Barton
8c528a4f0a Cleanup: use const transform args 2018-07-09 17:57:05 +02:00
Sergey Sharybin
5a56e4997f Depsgraph: Fix non-working drivers after recent relations change 2018-07-09 17:42:36 +02:00
Campbell Barton
0e6abf414f Keymap: use Shift-AccentGrave for fly/walk mode 2018-07-09 16:44:26 +02:00