Campbell Barton
6d2cd1719b
Bake Action: operate on selected objects
...
Previously only the active object was used.
Use coroutines to support baking frames for multiple objects at once,
without having to playback the animation multiple times.
2017-09-10 17:16:47 +10:00
Campbell Barton
a4a59d578c
PyAPI: Add object argument to bake_action
...
Avoids having to set the scene's active object first.
2017-09-10 14:30:03 +10:00
Campbell Barton
11a9434c2d
Resolve T52687: Add node label shows as 'Unknown'
...
Add type access method, need to extend to other types
for now just get node UI working properly again.
2017-09-09 22:56:58 +10:00
Campbell Barton
3c3d0898b0
PyAPI: Fix mathutils freeze allowing owned data
2017-09-09 11:08:38 +10:00
Campbell Barton
30d8829780
Docs: mathutils docstrings
2017-09-09 11:02:26 +10:00
Campbell Barton
90eb93791f
Cleanup: mathutils vector comments
...
Use doxy markup & correct outdated info.
2017-09-09 10:50:40 +10:00
Campbell Barton
3930e46e37
Correct last commit
2017-09-09 10:15:16 +10:00
Campbell Barton
002cc6aef3
Cleanup: Simplify SWIZZLE macro
...
- Use indices instead of character args.
- Use numbered macros instead of variadic args.
Parsing using rtags used over 11gb of memory. While this should be
resolved upstream (report as #1053 ), the extra complexity didn't give
any real advantage.
2017-09-09 10:10:05 +10:00
Ray Molenkamp
4265d85f8b
[msvc/make.bat] mention the msvc-2017 option in the make.bat help text.
2017-09-08 14:24:02 -06:00
Sergey Sharybin
ae41a08288
Cycles: Attempt to work around compilation of sm_20 and sm_21
...
Disabled forceinline for those architectures, which seems to be compiling
successfully more often.
There might be ~3% slowdown based on quick tests, but better be rendering
something rather than failing to compile kernels again and again.
Those architectures will be doomed for abandon once we'll switch to toolkit 9.
2017-09-08 18:37:54 +02:00
Campbell Barton
5d1a5001f4
Fix T52628: own error in string duplication
...
Error in 636baa598a56
2017-09-09 02:08:58 +10:00
ce1f2e271d
Cycles: disable fast math flags, only use a subset.
...
Empty BVH nodes are set to NaN which must be preserved all the way to the
tnear <= tfar test which can then give false for empty nodes. This needs
strict semantices and careful argument ordering for min() and max(), so
the second argument is used if either of the arguments is NaN.
Fixes T52635: crash in BVH traversal with SSE4.1.
Differential Revision: https://developer.blender.org/D2828
2017-09-08 15:12:37 +02:00
Joshua Leung
b02ab2e7d9
Fix: Grease Pencil pie menu keymaps were broken after the menus got renamed
2017-09-09 01:03:15 +12:00
Antonio Vazquez
c9afc41cfd
Fix T52650:Grease pencil selection its not automatically updating in Clip Editor
2017-09-08 11:21:49 +02:00
Campbell Barton
2a3a747ca2
Fix T52678: Crash editing gpencil w/ frame-lock
2017-09-08 18:51:47 +10:00
Campbell Barton
60020f57d7
Correct function name in argument parsing
2017-09-08 00:59:27 +10:00
Campbell Barton
daf7aed849
PyAPI: use bl_rna_get_subclass for node API
...
Returns a default value instead of an error when the type isn't defined.
2017-09-08 00:03:01 +10:00
Campbell Barton
e44bf43f6c
PyAPI: add function to get an RNA subclass
...
This is inconvenient in regular Python, add a class-method
to perform the operation, eg:
bpy.types.Node.bl_rna_find_subclass("CustomNodeType")
2017-09-08 00:02:09 +10:00
Campbell Barton
accc94dd73
Cleanup: remove goto's
2017-09-07 22:53:46 +10:00
Campbell Barton
f4d46916fa
UI: fix memory leak when copy-to-selected failed
2017-09-07 22:15:12 +10:00
Campbell Barton
3f8aaec6bd
Weight Smooth: remove source option
...
Use current selection mode instead of an operator option.
2017-09-07 14:14:42 +10:00
Campbell Barton
5f7de54243
Fix T52639: Weight paint smooth tool crash
2017-09-07 13:20:39 +10:00
Campbell Barton
c3322603eb
Cleanup: custom nodes template
...
- Use conventional (pep8) prop names
- Simplify class registration
2017-09-07 05:20:29 +10:00
Campbell Barton
5d65aee07a
Workaround node types not being exposed
...
We might want to have a utility function for this,
for now just keep it working.
2017-09-07 05:17:02 +10:00
Campbell Barton
8172e8e528
Node UI: Add square and diamond socked draw styles
...
Currently not used by Blender's node trees
D2814 by @charlie
2017-09-07 04:45:38 +10:00
c10ea88420
Fix T52660: CUDA volume texture rendering not working on Fermi GPUs.
2017-09-06 18:12:45 +02:00
82ede9de48
Fix mistake in previous fix for T52640.
2017-09-06 17:22:38 +02:00
Campbell Barton
16fbb47c88
Use normalized project functions
2017-09-07 01:20:59 +10:00
4d8980a690
Fix T52640: crash when opening image file browser in some cases.
...
There was some invalid state in the screen here, some areas had
sa->full set even though no screen was maximized, which then caused
a restore from the wrong (empty) area, which then led to spacedata
being empty and a crash.
This fix properly clears the sa->full after restore, and also fixes
existing .blend files in such an invalid state.
2017-09-06 16:17:18 +02:00
Campbell Barton
584523e0ad
Screw Modifier: remove doubles option
...
Vertices on the axis can be optionally merged,
nice for creating objects which close at the end-points.
2017-09-07 00:12:43 +10:00
Campbell Barton
6e0fd239e3
Math Lib: normalized vector project functions
2017-09-07 00:12:43 +10:00
2d407fc288
Fix T52661: mesh light shader using backfacing not working, after new sampling.
2017-09-06 13:51:48 +02:00
dd8016f708
Fix T52652: Cycles image box mapping has flipped textures.
...
This breaks backwards compatibility some in that 3 sides will be mapped
differently now, but difficult to avoid and can be considered a bugfix.
2017-09-06 13:51:45 +02:00
Campbell Barton
56ff14ea63
View3D Remap: skip defmaterial
...
This isn't library data.
2017-09-06 20:57:25 +10:00
Campbell Barton
e54caf76cb
Fix T52663: Remap used invalid local-view data
...
Only the camera from View3D.localvd is used,
other pointers may be invalid.
Longer term we should probably clear these to ensure no accidents.
For now just follow the rest of Blender's code and don't access.
2017-09-06 20:52:49 +10:00
Campbell Barton
47b7f06d0e
Fix error in high bit-depth image tile drawing
...
From @1xundoredo in D2824
2017-09-06 16:11:19 +10:00
Sergej Reich
0fd31c53ee
Rigidbody: Fix regression introduced in ee3fadd
...
Baking rigid body cache was broken if some cached frames already
existed.
This is just a band aid for release, the logic need to be looked into
further.
2017-09-05 19:59:46 +02:00
Sergej Reich
4ad5df8858
Fix T52374: Changes of rigid body related settings during simulation will break the simulation
...
Revert 9cd6b03, 3edc8c1, b87d10d and do a better fix for T50230.
2017-09-05 19:59:46 +02:00
Campbell Barton
6c66e1bc83
Fix T52251: Knife cur displaces surface
2017-09-06 01:50:36 +10:00
Sergey Sharybin
750e38a526
Cycles: Fix compilation error with CUDA after recent changes
2017-09-05 16:52:45 +02:00
Sergey Sharybin
704f6a5184
Buildbot: Fix paths to sndfile and flac
...
Need this in 2.79 branch as well, since build rules are based on this files.
2017-09-05 16:17:48 +02:00
Sergey Sharybin
f01e43fac3
Fix T52433: Volume Absorption color tint
...
Need to exit the volume stack when shadow ray laves the medium.
Thanks Brecht for review and help in troubleshooting!
2017-09-05 15:48:34 +02:00
Campbell Barton
4d85396fe4
Cleanup: use const
...
Also use assert w/ rotate_m4.
2017-09-05 22:45:44 +10:00
Sergey Sharybin
b0bbb5f34f
Cycles: Cleanup, style
2017-09-05 12:43:02 +02:00
Bastien Montagne
6859695055
Fix T52649: missing custom (split) normals from FBX exporter.
...
Own mistake in recent rB25c5928b2b6 (this DOES NOT affect 2.79 release).
2017-09-04 21:04:19 +02:00
Sergey Sharybin
4a744727be
Fix T52531: Blender 2D stabilisation node issue when autoscale is selected
...
Threading conflict, should be safe for 2.79.
2017-09-04 16:41:28 +02:00
Campbell Barton
b07e983b61
PyAPI: Add bpy.utils.register_classes_factory
...
Avoids having boiler plate register/unregister functions.
2017-09-05 00:24:29 +10:00
Sergey Sharybin
71f0c32dad
Fix T52522: VSE renders with alpha transparent PNG image incorrectly
...
Need some extra checks and should be probably end up in 2.79 since that's a regression.
2017-09-04 14:46:17 +02:00
Sergey Sharybin
885c0a5f90
Cycles: Fix compilation warning
2017-09-04 13:28:15 +02:00
Sergey Sharybin
33249f6987
Fix T52533: Blender shuts down when rendering duplicated smoke domain
2017-09-04 13:14:54 +02:00