Julian Eisel
664e854af7
Fix leak using UI_BTYPE_TEXT button w/o a callback
...
Moving ownership of the string to the button's 'rename_orig'
leaked when the button didn't have a uiAfterFunc.
2016-06-02 20:31:48 +10:00
Campbell Barton
64663b1f73
Cleanup: warnings in previous commit
2016-06-02 19:48:45 +10:00
Campbell Barton
cc7b817099
Minor edits to last commit
...
Failed with chunk merging disabled
2016-06-02 18:42:09 +10:00
Campbell Barton
0ce98b1ffb
BLI_array_store: Move writing many chunks into a function
...
Minor optimization, avoid some checks each iteration.
2016-06-02 18:13:13 +10:00
Campbell Barton
7980c7c10f
BLI_array_store: store max size in BArrayInfo
2016-06-02 18:05:11 +10:00
Campbell Barton
0bd8d6d194
Add extra validation checks to array-store
2016-06-02 16:41:41 +10:00
Campbell Barton
d931e958a1
Minor changes to help text
...
D2040 by @Blendify, also move 'Experimental Features' above more general help text.
2016-06-02 15:29:53 +10:00
Campbell Barton
1e9b222322
ShapeKey was missing lattice-flag
...
missed from 7a8bd2eae
2016-06-02 15:12:29 +10:00
Campbell Barton
c4b23a57a9
Fix T48566: Render-border minor offset issue
2016-06-02 12:53:04 +10:00
Bastien Montagne
24712b1c0b
Usual UI/i18n message cleanup (get rid of last remaining 'addon' too).
2016-06-01 20:38:30 +02:00
Bastien Montagne
57d5ddc251
Revert "BLI_ghash: Fix initial over-allocation of mempool chunks."
...
Useless change in fact, sorry for the noise.
This reverts commit b08473680e .
2016-06-01 17:38:50 +02:00
Bastien Montagne
6befc76265
Fix T48466: Multiple passes starting with 'Diffuse' in EXR file breaks its loading in Blender.
...
Issue here is that for Blender, any pass which name starts with 'Diffuse' is considered
a diffuse pass - and it does not really support several passes of the same type in renderresult.
So for now, passtype_from_name() is now checking whether a pass of same type already exists
in render layers, and return 0 (uknown passtype) in this case.
2016-06-01 17:31:42 +02:00
Campbell Barton
2c5dc66d5e
Optimize mempool iteration
...
Around ~10% improvement in own tests.
2016-06-02 00:07:18 +10:00
Bastien Montagne
b1704d18a1
Fix T48415: Segfault on opening .blend in which a 'surface' force object was saved in Edit mode.
...
In that case, surface modifier won't run (until surface object goes back to Object mode),
and its bvhtree remains NULL.
2016-06-01 15:29:19 +02:00
Campbell Barton
8cf8679b53
Revert "Correct invalid pointer-pair compare check"
...
This reverts commit d5e0e681ce .
Tsk, these functions return false on a match.
2016-06-01 23:08:40 +10:00
Howard Trickey
543c64ef74
Fix bug where corner boundary was straight when it should curve.
...
Some adjustments to how bevel edge 'profiles' are adjusted in some
cases. For the bug fix, wanted to handle cases of middle of three
coplanar beveled cases to make profile curve rather than linear
interpolate.
Also undid an earlier decision to make profile plane be perpendicular
to beveled edge i the non-coplanar case.
2016-06-01 08:51:08 -04:00
Bastien Montagne
11af9e9a5b
Merge branch 'master' into blender2.8
...
Conflicts:
intern/cycles/blender/blender_curves.cpp
intern/cycles/blender/blender_particles.cpp
source/blender/depsgraph/intern/builder/deg_builder_relations.h
source/blender/depsgraph/intern/depsgraph_build.cc
2016-06-01 14:34:11 +02:00
Bastien Montagne
b08473680e
BLI_ghash: Fix initial over-allocation of mempool chunks.
...
Code intended to create only one pool by default here, but code in `mempool_maxchunks()` would make it two.
2016-06-01 12:58:59 +02:00
Sergey Sharybin
9ed4233d9d
Fix wrong vertex colors in edit mode
2016-06-01 11:53:28 +02:00
Alexander Romanov
d0de2733d5
BI: fix counting of tangents, that was reset during recursion of init_render_nodetree
2016-06-01 12:28:48 +03:00
Sergey Sharybin
0e8570b415
GLSL: Attempt to fix errors in setting UV attributes
2016-06-01 10:26:18 +02:00
Sergey Sharybin
334d823b2b
Depsgraph: Fix missing updates when modifying armature
2016-06-01 10:10:39 +02:00
Campbell Barton
1c292c9730
Fix/Workaround T48560: Color picker V fail w/ user defined RNA
...
Set the maximum soft-max to 1.0 when its left at FLT_MAX.
Since this causes problems using the slider.
2016-06-01 16:11:47 +10:00
Dalai Felinto
d85271572b
Increase range of Font object textboxs
...
The current values were arbitrary. I'm keeping them as ui_range, but
internally there is no reason we can't use larger values.
2016-05-31 19:11:16 -03:00
Campbell Barton
aedeca7d1c
BLI_mempool: Use an 'odd' FREEWORD for big/little endian
...
This also changes freeword to an intptr_t to ensure
not only the first 4 bits of a pointer are tested on 64bit systems.
2016-06-01 02:54:47 +10:00
Sergey Sharybin
d2bb0e660b
Fix T46207: Slow OpenCL GPU bake and blown out baking Cycles render
2016-05-31 17:48:42 +02:00
Dalai Felinto
ad1c3bef8b
Small API typo found while reading the API
2016-05-31 12:39:58 -03:00
Campbell Barton
a430c688ee
Cleanup: unused defines
2016-06-01 00:26:14 +10:00
Campbell Barton
3df30c1a6e
Cleanup: parenthesize defines
2016-06-01 00:19:01 +10:00
Campbell Barton
a0e91ef040
Fix T48554: Absolute grid snap fails w/ cursor pivot
...
Use center of selection when using absolute grid snapping and cursor pivot.
2016-06-01 00:01:17 +10:00
Sergey Sharybin
d5220d23f9
Cycles: Fixes for recent refactor
...
- add_vertex() can be called from split_vertex() which does not guarantee
to have properly pre-allocate arrays.
- Need to check whether Cycles is compiled with OSL in XML reader.
2016-05-31 15:32:31 +02:00
Sergey Sharybin
230cf2e46d
Buildbot: Attempt to fix buildbot after recent change
2016-05-31 15:28:32 +02:00
Sergey Sharybin
9e77a03f63
Buildbot: Use proper list management function
...
Spotted by Campbell, thanks!
2016-05-31 15:20:14 +02:00
Sergey Sharybin
f1f7f6d4b1
Buildbot: Pass proper generator for MSVC 2015 builder
2016-05-31 14:42:18 +02:00
Sergey Sharybin
e9c8917e10
Properly handle vertex color color space for Cycles GLSL
...
A bit tricky, need to pass additional information about what the attribute
is and how to deal with it.
BI path stays unchanged, just to make things simplier for now.
Fixes T48555: Cycles GLSL- Incorrect Vertex Color results from Attribute node
2016-05-31 14:41:51 +02:00
Martijn Berger
19cfc84328
CMake/ Visual Studio 14 2015, Use one library name for openal for both 2013 and 2015
2016-05-31 14:16:29 +02:00
Sergey Sharybin
9725661c60
Cycles GLSL: Make it work with software opengl mode
2016-05-31 12:31:16 +02:00
Mai Lavelle
4388b29e98
Cycles: Add human readable sizes to debug output
...
Some of these values can get quite large and are hard to read, adding this
makes it easy to read them at a glance.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D2039
2016-05-31 06:13:54 -04:00
Sergey Sharybin
a2aa44370b
Fix T48556: Missing transparent shadows on AMD OpenCL
...
We had transparent shadows disabled for some time because they were causing
drivers to crash. Can't reproduce that issue anymore with current drivers,
so will enable them and see how it goes.
2016-05-31 11:48:07 +02:00
Sergey Sharybin
ea8a7397e4
Fix T48553: Cycles GLSL Box projection produces strong artifacts
2016-05-31 09:50:24 +02:00
Campbell Barton
4f730b4708
Fix T48552: Ctrl-D to add drivers shows disabled menu items
2016-05-31 16:30:44 +10:00
Campbell Barton
5186143d2c
Theme: 2.4x disabled menu text wasn't greyed out
2016-05-31 14:55:55 +10:00
Campbell Barton
3ed5da0479
Fix T48547: Shrinkwrap fails w/ auxiliary target
...
Error in 0b5a0d84
2016-05-31 14:37:06 +10:00
Brecht Van Lommel
0d4a7d50c6
Fix broken Cycles curve motion radius after recent refactor, and fix warnings.
2016-05-31 00:21:33 +02:00
Bastien Montagne
1482826075
Add 'multi small' testcase to performance Ghash tests.
...
This new test simply inserts and lookup a lot of time on very small ghashes
(most are < 17 items).
2016-05-30 20:04:43 +02:00
Bastien Montagne
7e120f3a74
Shrinkwrap: OMP->BLI_task.
...
Gives little to no speedup (a few percents at best).
2016-05-30 17:30:55 +02:00
Sergey Sharybin
06969fdf1b
Depsgraph: Small optimization to update flushing
...
Gives about 5% speedup in scene with lots of nodes (army_of_clones.blend)
2016-05-30 16:56:05 +02:00
Campbell Barton
1e7e183787
Fix T48527: Maya keymap fails w/ knife snap
2016-05-30 22:45:46 +10:00
Sergey Sharybin
c9799b68f1
Depsgraph: Fix compilation with new depsgraph disabled
2016-05-30 14:44:56 +02:00
Sergey Sharybin
f0ee7f9544
CMake: Workaround to get Libmv compiled with latest Gcc
2016-05-30 14:37:33 +02:00