Campbell Barton
f4213c1408
Cleanup: id-property API use
...
Also clarify comments.
2018-07-13 10:51:49 +02:00
Campbell Barton
252ebf6bfd
Cleanup: split keymap lookups into own functions
...
More will be added in 2.8, keep this manageable.
2018-07-13 10:30:18 +02:00
Philipp Oeser
8c957468bc
Keymap: dope-sheet hotkey to change falloff
2018-07-13 09:05:41 +02:00
Campbell Barton
fb5597540d
Cleanup: right shift arguments
2018-07-13 08:36:10 +02:00
Campbell Barton
e77d2b4e3f
Cleanup: remove legacy mesh save support
...
This was used for saving files for Blender 2.6x.
2018-07-12 21:35:57 +02:00
Campbell Barton
753a600e35
PyAPI: add undo redo handlers
...
Useful so Python can clean up before/after undo steps.
2018-07-12 14:43:35 +02:00
9a5fb0209e
Fix T55949: increase color management exposure hard range.
2018-07-12 11:47:19 +02:00
Campbell Barton
d75b8e5f01
Cleanup: header guards
2018-07-12 11:19:22 +02:00
Campbell Barton
0108ce1fe5
Cleanup: pep8, cycles
2018-07-12 11:03:13 +02:00
Campbell Barton
b328a59373
Icons: support setting blender, inkscape commands
2018-07-12 09:14:13 +02:00
Campbell Barton
1db47a2ccd
Fix PyRNA class registration w/ Python 3.7
...
In Python3.7 this now raises an error.
2018-07-12 08:30:39 +02:00
b843753ad5
Buildbot: initial configuration for Visual Studio 2017.
2018-07-11 21:38:00 +02:00
Bastien Montagne
08274433e1
Fix T55912: saving Viewer Node image error.
...
Images from viewer node needs the lock parameter...
2018-07-11 14:32:43 +02:00
Bastien Montagne
59b4c67536
Minor cleanup to logic in BKE's imbuf releasing code.
2018-07-11 14:32:06 +02:00
Campbell Barton
2b963ecb81
Cleanup: duplicate versioning block
2018-07-11 11:39:58 +02:00
Sergey Sharybin
0ed54cf9ba
Depsgraph: Fix face dependency cycle when bone uses id property from self
2018-07-11 10:19:56 +02:00
Sergey Sharybin
d0920fba16
OpenSubdiv: Fix wrong topology refiner cast
2018-07-10 14:40:51 +02:00
Sergey Sharybin
c17cb50ae2
OpenSubdiv: Make more flexible C-API to specify FVar interpolation
2018-07-10 14:40:45 +02:00
Sergey Sharybin
80373bc4d2
CMake: Disable OpenAL and JACK when AUDASPACE is disabled
...
Previously CMake was raising a fatal error, which wasn't too helpful.
There is still some fatal messages about Audaspace and Game Engine,
but the latter one is on it's EOL and is removed in Blender 2.8.
2018-07-10 11:25:47 +02:00
Sergey Sharybin
719629f2aa
GHOST: Fix memory leak in X11 DPI query
...
The X resource database is to be explicitly destroyed. This fixes 46 bytes
leak per every window DPI query (which happens a lot on window move/resize
and even on areas resize).
Unfortunately, this does not fully fix the leak since the known leak:
https://bugs.freedesktop.org/show_bug.cgi?id=94604
2018-07-10 10:59:06 +02:00
Campbell Barton
f9107eae6a
Keymap: minor changes for keymap display
2018-07-10 07:41:49 +02:00
Campbell Barton
f51c6efbc1
Fix transform plane constraint orientation cycle
...
Regression since 2.79b release
2018-07-10 06:51:25 +02:00
Campbell Barton
8c528a4f0a
Cleanup: use const transform args
2018-07-09 17:57:05 +02:00
Campbell Barton
6793aebad2
Cleanup: remove 'Orientation' from keymap item name
...
It's constraint not an orientation,
in transform context it can be inferred.
2018-07-09 07:39:26 +02:00
Campbell Barton
70e2824126
Keymap: remove some hard coded transform events
...
Also re-order for display purposes
2018-07-09 07:29:12 +02:00
Campbell Barton
9856dd9fec
Cleanup: right shift
2018-07-09 06:38:07 +02:00
Alexander Gavrilov
5480de3fca
Fix scale in Apply Pose As Rest Pose for bendy bones.
...
Scale is multiplicative, and adding it up causes the bone to bloat.
2018-07-07 15:10:41 +03:00
Campbell Barton
97cd8bfae1
Cleanup: isinstance can take multiple types
2018-07-07 11:29:57 +02:00
Campbell Barton
4b373ed086
Cleanup: pep8
2018-07-07 08:48:35 +02:00
Campbell Barton
252207cc7a
Cleanup: redundant poll checks
2018-07-07 08:36:17 +02:00
Campbell Barton
b94222b090
PyDrivers: update bytecode check for Python3.6
2018-07-06 19:31:00 +02:00
Sergey Sharybin
22150eb409
Animation player: Ensure new frames are displayed while dragging mouse
...
Thanks Campbell for review!
2018-07-06 17:15:40 +02:00
Campbell Barton
3527857cdc
Cleanup: use outliner_flag_* name prefix
2018-07-06 14:40:13 +02:00
Philipp Oeser
0987c11c76
fix c++ comment style in 3cc2a9b934d0
2018-07-06 13:15:44 +02:00
Sybren A. Stüvel
12ce0cfb21
Ocean Modifier: removed unused refresh flags
...
The flags were set and cleared correctly, but nothing was actually reading
them.
2018-07-06 12:50:04 +02:00
Sybren A. Stüvel
7691040166
Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag
...
The flag was only used in readfile.c, and resulted in a delayed call to
BKE_ocean_add(); this call is now immediately made instead as it's not
very expensive.
2018-07-06 12:46:58 +02:00
Philipp Oeser
3cc2a9b934
Fix T55581: kill running (render) jobs when deleting a scene
...
also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type()
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3498
2018-07-06 11:58:13 +02:00
Stefan Werner
df30b50f2f
Cycles: Enabled half precision textures for OpenCL devices that support the cl_khr_fp16 extension.
2018-07-06 11:42:34 +02:00
Stefan Werner
d20d2bcb7f
Cycles: Fixed OpenCL kernel build, it threw a compiler error.
2018-07-06 10:21:25 +02:00
Campbell Barton
1daa20ad9f
Cleanup: strip trailing space for cycles
2018-07-06 10:17:58 +02:00
Campbell Barton
62fbb7d4a1
Empty Object: Center images by default
2018-07-06 10:05:37 +02:00
Campbell Barton
d56b90705e
BKE_addons: utility to remove by name
2018-07-06 07:55:29 +02:00
Campbell Barton
52655f5161
Cleanup: flag checks
2018-07-05 22:49:42 +02:00
Campbell Barton
0e2915b292
RNA: correct callback type
...
Missed when changing callbacks from int to bool type.
2018-07-05 22:25:34 +02:00
Stefan Werner
4d00e95ee3
Cycles: Adding native support for UINT16 textures.
...
Textures in 16 bit integer format are sometimes used for displacement, bump and normal maps and can be exported by tools like Substance Painter. Without this patch, Cycles would promote those textures to single precision floating point, causing them to take up twice as much memory as needed.
Reviewers: #cycles, brecht, sergey
Reviewed By: #cycles, brecht, sergey
Subscribers: sergey, dingto, #cycles
Tags: #cycles
Differential Revision: https://developer.blender.org/D3523
2018-07-05 13:53:34 +02:00
Campbell Barton
cd17b32583
Cleanup: pep8
2018-07-05 07:53:21 +02:00
Lukas Stockner
c960804747
Cycles Denoising: Pass tile buffers to every OpenCL kernel to conform to standard and get rid of set_tile_info
2018-07-04 14:38:03 +02:00
Lukas Stockner
f1525cf534
Cycles Denoising: Correctly handle target buffer in tile unmapping and move device swap logic to the device_memory
2018-07-04 14:37:55 +02:00
Lukas Stockner
9db8bdbc65
Cycles Denoising: Cleanup: Rename tiles to tile_info
2018-07-04 14:37:24 +02:00
Lukas Stockner
97a0d6fcc7
Cycles Denoising: Refactor denoiser tile handling
...
This deduplicates the calls for tile (un)mapping and allows to have a target buffer that is different from the source buffer (needed for baking and animation denoising).
2018-07-04 14:36:01 +02:00