ac19483e63
BKE bvhtree: Add tree_type parameter to bvhtree_from_mesh_get.
...
This will allow greater control of the bvhtrees that are obtained, and helps identify problems.
It is also an additional step to unify the functions.
2018-05-03 14:26:39 -03:00
d09920687c
Merge branch 'master' into blender2.8
2018-05-02 12:46:14 +02:00
128506eeb1
BLI Color: YUV to/from rgb colorspace option
...
This commit does two things:
- Adds an option to do the calculation in different color spaces (BT601
or BT709).
- Changes the default caluclation from legacy BT601 to BT709.
This affects several areas:
- UI areas (mainly scopes)
- ViewLevelsNode
- Several other nodes that use `COM_ConvertOperation.h`
2018-04-29 18:00:45 -04:00
Dalai Felinto
dfd82b18df
Merge remote-tracking branch 'origin/master' into blender2.8
2018-04-25 09:31:25 +02:00
bb92d9a946
BLI BVHTree Walk DFS: Decreases the size of the stack space used for the recursive function.
...
Each parameter of the function is copied into the memory stack.
This also brought an improvement in peformance of snapping functions between 5% and 12% in my tests.
2018-04-24 09:48:14 -03:00
4b544e857c
Merge branch 'master' into blender2.8
2018-04-24 08:01:21 +02:00
92f36586e3
BLI_math: avoid assert with non-finite numbers
2018-04-23 21:09:01 +02:00
1de7a0c0dc
Merge branch 'master' into blender2.8
2018-04-22 10:51:23 +02:00
02f28da187
Cleanup: trailing spaces
...
Applied to newly added files in 2.8
2018-04-22 08:45:52 +02:00
122d0d1504
Cleanup: style
2018-04-21 20:42:27 +02:00
46a9038f60
Cleanup: variable naming
2018-04-21 20:22:12 +02:00
112540da62
Merge branch 'master' into blender2.8
2018-04-21 20:17:41 +02:00
1e9fb355bf
BLI_bitmap: 2D triangle drawing function
...
Matching polygon filling but no need for allocation or qsort.
2018-04-21 18:34:34 +02:00
83cb387944
BLI math: clamped barycentric weight calculation
2018-04-21 18:34:20 +02:00
36773e35f6
Remove Armature Sketching & Retarget
...
While the feature is interesting, it's not much from what we can tell.
Retargeting is an important feature but needs
to fit in better with typical animation work-flows.
See: T52809
2018-04-20 10:34:48 +02:00
9a301978bd
Merge branch 'master' into blender2.8
2018-04-19 08:18:42 +02:00
fcac9e8410
Cleanup: style
2018-04-19 08:18:16 +02:00
Dalai Felinto
159806140f
Removing Blender Game Engine from Blender 2.8
...
Folders removed entirely:
* //extern/recastnavigation
* //intern/decklink
* //intern/moto
* //source/blender/editors/space_logic
* //source/blenderplayer
* //source/gameengine
This includes DNA data and any reference to the BGE code in Blender itself.
We are bumping the subversion.
Pending tasks:
* Tile/clamp code in image editor draw code.
* Viewport drawing code (so much of this will go away because of BI removal
that we can wait until then to remove this.
2018-04-17 17:51:28 +02:00
9a11aeb300
Merge branch 'master' into blender2.8
2018-04-16 17:24:20 +02:00
95eb9f22e6
Cleanup: indentation
2018-04-16 17:16:29 +02:00
8ad93dd009
Merge branch 'master' into blender2.8
2018-04-16 10:19:03 +02:00
5bfe6126f8
Added lock-free single linked list implementation
...
Only supports lock-free insertion for now, can not delete element
or traverse the list at the same time.
2018-04-16 10:18:43 +02:00
a981206fd1
Merge branch 'master' into blender2.8
2018-04-08 14:07:34 +02:00
3a864f5ee4
BLI_string_utf8: macros that de-duplicate sizeof arg
2018-04-05 18:37:54 +02:00
57329304b0
Merge branch 'master' into blender2.8
2018-04-05 16:58:41 +02:00
f0f6c96a92
BLI_string: macros that de-duplicate sizeof arg
2018-04-05 16:44:48 +02:00
e52beb3733
Merge branch 'master' into blender2.8
2018-04-03 18:12:39 +02:00
bfdb88f3f4
Cleanup: rename list count_ex -> count_at_most
2018-04-03 17:05:21 +02:00
a2c0a382cd
Merge branch 'master' into blender2.8
2018-04-03 14:19:51 +02:00
Milan Jaros
888a04c7e4
Build: fixes for the Intel compiler versions 2016, 2017, 2018.
...
Differential Revision: https://developer.blender.org/D3109
2018-04-02 16:39:04 +02:00
b65ea517eb
Merge branch 'master' into blender2.8
...
- Undo that changes modes currently asserts,
since undo is now screen data.
Most likely we will change how object mode and workspaces work
since it's not practical/maintainable at the moment.
- Removed view_layer from particle settings
(wasn't needed and complicated undo).
2018-04-01 11:03:25 +02:00
91d0825b55
BLI_sort_utils: add pointer sorting callback
...
Also rename Pointer -> Ptr
2018-03-31 19:25:27 +02:00
Dalai Felinto
11130970c6
Merge commit 'origin/master^' into blender2.8
2018-03-29 10:36:01 -03:00
e49d66f22c
Cleanup: typo in function name
2018-03-28 11:23:38 +02:00
a970ac5d55
BLI_array: utility to check memory is zerod
2018-03-28 11:13:54 +02:00
8eb8aa4939
Merge branch 'master' into blender2.8
2018-03-23 12:05:55 +01:00
7cc2b27099
Cleanup: stray tabs
...
Tabs in middle of code (mostly for no reason / by accident).
2018-03-23 11:51:19 +01:00
e0388bc61a
Merge branch 'master' into blender2.8
2018-03-20 16:55:16 +01:00
1782abf6e2
Fix BLI_assert for MSVC
...
Also use `_BLI_ASSERT` prefix for internal defines.
2018-03-20 11:56:11 +01:00
c8a7c4f245
Merge branch 'master' into blender2.8
2018-03-20 16:13:37 +13:00
8e5c407fc4
Fix compile error with MSVC2013 - Can't use __func__ (from BLI_assert) in inlined functions
...
ERROR: blenlib/intern/math_base_inline.c:371 - '__func__' : undeclared identifier (C:\blenderdev\master2\blender\source\blender\editors\lattice\editlattice_tools.c) [C2065]
2018-03-20 16:03:43 +13:00
8859927e6f
Merge branch 'master' into blender2.8
2018-03-19 11:17:52 +01:00
342a18287f
Cleanup: type conversion warning
2018-03-19 09:12:48 +01:00
e95282e783
Merge branch 'master' into blender2.8
2018-03-18 16:05:02 +01:00
2a9f000806
Cleanup: kdopbvh, only set parent nodes once
2018-03-18 05:08:12 +01:00
36e7de9eb3
Merge branch 'master' into blender2.8
2018-03-16 12:26:37 +01:00
295d8510af
Add Truecolor ANSI console constants
...
They are used to start and end colored output in console.
Use with care, it is up to you to check that console actually
supports Truecolor ANSII.
In thew future we can extend this to other consoles and platforms.
2018-03-16 12:16:29 +01:00
f0596bf660
Hash: Add utility function to convert address to rgb values
...
Some magic hashing, will become handy to make debug messages
easier to follow.
2018-03-16 12:11:55 +01:00
995ccf8168
BLI_assert: extract from BLI_utildefines
...
BLI_utildefines is quite large, defining many unrelated things.
Add BLI_assert to include in inline headers, so math defines don't
pull in too much.
2018-03-16 06:03:29 +11:00
8d36629b4b
Merge branch 'master' into blender2.8
2018-03-16 06:11:35 +11:00