Sergey Sharybin
ca3d014bd1
CMake: Enable Cycles OSL for the full blender configuration
2015-12-02 16:20:20 +05:00
Sergey Sharybin
6552d5bebd
Cycles: Avoid recursion when doing constant fold
...
This reduces stress on the the stack memory which could be really handy
on certain operation systems which applies strict limits on the stack.
Reviewers: brecht, juicyfruit, dingto
Reviewed By: brecht, juicyfruit, dingto
Differential Revision: https://developer.blender.org/D1656
2015-12-02 16:19:39 +05:00
Sergey Sharybin
d0a9ec5efc
Cycles: Fix SSS object not properly reflected in glossy object with indirect clamping
...
This fixes remained issues reported in T46908.
2015-12-02 16:00:01 +05:00
Jörg Müller
3cd36f85b0
Fix T46815: Changing playback setting makes blender crash
...
Copied the fix from upstream audaspace.
2015-12-02 10:23:07 +01:00
Campbell Barton
4006474225
Cleanup: ignore unused args in stubs
2015-12-02 19:26:07 +11:00
Campbell Barton
aed5347b4c
Using term 'origin' for mathutils.bvhtree docs
...
Matches rna ray-cast API
2015-12-02 19:25:08 +11:00
Campbell Barton
90b83a806a
Update template for changes in ray-cast
2015-12-02 19:18:30 +11:00
Campbell Barton
08fb55eea2
PyAPI: Change ray_cast to fix & improve behavior
...
- It wasn't possible to know when Object.ray_cast was successful
in the case when it hit a face with no original index.
- Take (ray_start, ray_direction) vectors.
- Take an optional distance argument.
- Scene/Object.ray_cast now use matching arguments & return values.
See D1650 (own patch)
2015-12-02 19:07:24 +11:00
Campbell Barton
e16d39b793
Transform Snap: add optional face index arg
2015-12-02 18:46:14 +11:00
Campbell Barton
a5c0964c70
Cleanup: transform snap arguments
...
This was getting very hard to follow,
- mixing input/output args.
- mixing arg order between functions.
- arg names (mode, snap_mode) rename to (snap_to, snap_select)
2015-12-02 18:08:48 +11:00
Campbell Barton
8d8bc24dd5
Cleanup: double-conversion warnings
2015-12-02 15:52:47 +11:00
Campbell Barton
fc9505c9c5
Cleanup: warnings & spelling
2015-12-02 13:15:52 +11:00
Julian Eisel
5cbf58ce8b
Fix T46909: Text strip not themeable
...
Normally we don't allow adding new theme options if we can avoid it, but this is a legit exception since all other strips are themeable.
Default color for text strip is now yellow-ish. Not nice but there are also not many other colors left.
2015-12-02 00:01:36 +01:00
Sergey Sharybin
a6bbf05ba6
Cycles: Fix wrong SSS intersection refinement when this option is disabled
...
The code is disabled by default, but we'd better keep it all correct.
2015-12-02 03:14:54 +05:00
Sergey Sharybin
e82876589f
Cycles: Fix wrong SSS on scaled instanced objects
...
Was a mistake on searching refined position form ray and hit distance.
Remember kids: SSS distance is in the object space!
2015-12-02 03:13:19 +05:00
Sergey Sharybin
70502578b1
Cycles: Remove TODO, it is possible there'll be more intersections recorded
...
It's just only few of them will be stored in the intersection array, nothing
wrong with that what's so ever.
2015-12-02 02:39:57 +05:00
Thomas Dinges
e5e1010919
Cleanup: Remove some more code for BVH cache. I missed that somehow.
2015-12-01 18:17:28 +01:00
Bastien Montagne
3526f7a28e
Comment assert in id_us_min, currently we can get zero user count at this point.
2015-12-01 15:46:21 +01:00
Bastien Montagne
842310a9b0
Outliner: add an option to "delete" libraries.
...
Caminandes team request. In current master it's not possible to do this in a total
clean way, so we are simply setting all user counts of given lib's datablocks to zero
(similar to rna_ID_user_clear()'s doing).
This is a bit crappy because it still lets datablocks floating around (with invalid
user count values), and requires a save & reload cycle to be finalized. But for now
it should be good enough. Propper implementation will be added to id-remap.
2015-12-01 15:46:21 +01:00
Lukas Stockner
8512e284a0
Fix T46906: Cycles syntax error while compiling OpenCL kernels
...
The safe normalization was using a float as a condition, now the intended non-zero test is explicit.
2015-12-01 13:53:29 +01:00
Campbell Barton
b2e36dcd7d
Fix auto-merge loosing edge/faces selection
2015-12-01 22:12:12 +11:00
Campbell Barton
d9f5a4ed79
Report error when removing presets fails
2015-12-01 20:07:10 +11:00
Sergey Sharybin
607150d058
Fix T46898: OpenCL Fails to compile after recent SSS changes
2015-12-01 13:55:40 +05:00
Campbell Barton
d1c46c7b35
Fix out-of-bounds access in recent shader updates
2015-12-01 19:39:43 +11:00
Campbell Barton
e751ee5526
Fix minor order of init error w/ text draw
2015-12-01 19:00:55 +11:00
Campbell Barton
9e56c570c3
Cleanup: use more logical names for View3D.around
...
D1651 (own patch)
2015-12-01 18:53:26 +11:00
Kevin Mackay
2f80d304b0
Fix T39935: Duplicate looses active curve spline
2015-12-01 17:56:09 +11:00
Campbell Barton
260d2adcf1
minor error in recent text-draw commit
2015-12-01 17:56:06 +11:00
Campbell Barton
6783c673e6
UI: mono-space font user preference
2015-12-01 16:58:47 +11:00
Campbell Barton
0b1b774674
Python Console: store font id in a drawing context
2015-12-01 15:49:52 +11:00
Campbell Barton
4e46473c8e
Text Editor: store font id in a drawing context
2015-12-01 15:31:42 +11:00
Campbell Barton
520feda277
Cleanup: struct declarations
2015-12-01 13:31:26 +11:00
Bastien Montagne
1650b656c6
Cleanup: Collada: make gcc (partially) happy.
...
Still grumpy about using tmpnam... ;)
2015-12-01 01:09:38 +01:00
Bastien Montagne
b29ee36f6a
Fix T46900: Inset Faces Thickness & Depth Do Not Use Scene Units (i.e. Imperial).
...
Was the case of several Mesh operators actually (and probably others, but cannot check
everything). Added `RNA_def_property_float_distance` helper, avoids having to
set PROP_DISTANCE subtype explicitly each time...
2015-12-01 01:09:38 +01:00
Campbell Barton
09fdacdb39
Add shortcuts for copying data path from RNA
...
- Ctrl-Shift-C: copy-data-path
- Ctrl-Shift-Alt-C: copy-full-path
2015-12-01 10:31:10 +11:00
Campbell Barton
9307202807
RNA: de-duplciate rna-path create in tooltip code
2015-12-01 10:31:10 +11:00
Sergey Sharybin
b7978e984b
CMake: Add some missing license files in the install target
2015-11-30 21:33:57 +05:00
Bastien Montagne
f798c791cd
Libquery: fix double-handling of object pointer in scene's basact base.
...
Looping twice on same ID pointer may not be an issue in master currently, but with work done in id-remap
branch this should be avoided as much as possible, so for now assuming we do not need this here.
Note: if we really need this and have to add it back, then please at least use IDWALK_USER, and not
IDWALK_NOP flag!
2015-11-30 15:34:56 +01:00
Bastien Montagne
c69ce97438
install_deps.sh: add libsndfile (seems to be mandatory for correct flac export?)
...
Related to T46886.
2015-11-30 14:41:54 +01:00
Julian Eisel
ecbbb02c88
Fix T46628: Strips overlapping in VSE
...
Caused by rB27b2ab8cf4ae (although patch D1096 was correct).
2015-11-30 14:15:04 +01:00
Sergey Sharybin
faa0fdb13e
Buildbot: Enable sndfile library
...
It was enabled for other platforms already and this could fix some of the
reported bugs.
2015-11-30 15:15:12 +05:00
Campbell Barton
a149a6784b
Fix T46891: Error removing PropertyGroup
2015-11-30 11:03:49 +11:00
Campbell Barton
c1f05c30f9
PyAPI: expose low level RNA to bpy.types
2015-11-30 11:03:49 +11:00
Campbell Barton
5bfc32bab4
Cleanup: warning w/ unknown define
2015-11-30 11:03:49 +11:00
Brecht Van Lommel
5b90a6e188
Fix T38245: render slot getting lost when switching slots while compositing.
2015-11-30 00:54:45 +01:00
Campbell Barton
f448659a56
Fix T46896: Outliner group 'hide' doesn't update viewport render
2015-11-30 09:23:58 +11:00
Campbell Barton
3e499c1a31
Cleanup: sync edgehash w/ ghash remove logic
2015-11-29 17:51:12 +11:00
Campbell Barton
09c2bff32f
Cleanup: rename hash
-> bucket_index
, edgehash API
...
Was confusing since a hash isn't typically used as an index on its own.
Also C99 for loop for bucket resize loop.
2015-11-29 17:51:12 +11:00
Campbell Barton
472599402f
Cleanup: ghash/edgehash style
...
Call functions on own lines (nicer for debugging)
2015-11-29 17:51:12 +11:00
Bastien Montagne
37801588d4
install_deps.sh: always give py version arg to cmake/scons (same as we already do with llvm).
...
This should avoid 'casual builders' to have issues when we switch py versions.
2015-11-28 19:52:45 +01:00