Blender Git Commit Log

All Blender Git commits.

Page: 5454 / 8462

June 18, 2014, 06:01 (GMT)
Code cleanup: replace 0 with OB_MODE_OBJECT
June 18, 2014, 05:49 (GMT)
Resolve memory leask with reports on initialization
June 18, 2014, 05:48 (GMT)
Quiet warning
June 18, 2014, 05:20 (GMT)
Transform: PET only treat faces as connected diagonally across quads

Was an intentional change, but worse for concave ngons, resolves T40675
June 18, 2014, 05:18 (GMT)
Fix for weak floating-point number comparison.

Was causing assertion failures in MinGW-w64.
June 18, 2014, 04:02 (GMT)
Correct casts for IS_EQ and other macro tweaks
- ensure GET_INT_FROM_POINTER us only used to get values
- rename STACK_POP_ELSE -> STACK_POP_DEFAULT
June 18, 2014, 02:07 (GMT)
Fix memory leaks in subsurf
June 17, 2014, 20:31 (GMT)
Disable cubins for OSX buildbot

This is a temporary solution in order to get at least
rest of the blender begin up-to-date on the buildbot.

To be able to compile cubins again we need to switch
OSX builder machine to OSX 10.8 and CUDA toolkit 6,
which might take some time, unfortunately.
June 17, 2014, 15:16 (GMT)
Bake-API: allow custom UV to be baked

Note: the custom UV option is only available when calling the operator
via a script. It's currently not exposed in the UI since it's intended
to be used by scripters

To test it:
bpy.ops.object.bake(type='UV', use_clear=True, uv_layer='MyNewUV')

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D546
June 17, 2014, 14:59 (GMT)
Prepare for tests that link against all blender libs.

In CMake files, moves the calculation of BLENDER_SORTED_LIBS
to a macro, so that some automated tests can use it to link against.
Also reorders processing of source to after intern and extern,
so that tests in source can see the interna and extern libraries.
June 17, 2014, 14:06 (GMT)
Fix some loss of precision in BKE's unit code.

When converting text to value, units' "value" had only 6 digits of precision,
leading to annoying loss of precision esp. when mixing big and small units
(like e.g. miles and inches).
June 17, 2014, 14:04 (GMT)
Add a first basic set of tests for the new bpy.utils.units module/API

Only contains 'LENGTH' type tests currently.
June 17, 2014, 14:03 (GMT)
New python API for units handling.

Exposes all supported unit systems & types, and to_value()/to_string() functions.

Reviewed and enhanced by CampbellBarton, many thanks!

Differential Revision: https://developer.blender.org/D416
June 17, 2014, 13:58 (GMT)
BLI: Add two helpers to search a given string in an array of strings.
June 17, 2014, 13:19 (GMT)
remove unused includes, simplify alloc/free
June 17, 2014, 13:03 (GMT)
Fix loss of precision when converting string to value.
June 17, 2014, 13:02 (GMT)
Revert to static size for our buffers.

64 should be more than enough, never could get strings longer than ~21 chars so far.
June 17, 2014, 13:01 (GMT)
Fix polyfill test to compile again after master merge.

Needed extra coord sign argument. Should probably add more
tests to test that argument. Also, the Empty test and the
UnorderedColinear tests now fail and need attention.
June 17, 2014, 12:55 (GMT)
Add more tests to bpyunits.

Only LENGTH type for now.

This showed two limits to current BKE's units code:
* When converting string to value, we use too few precision for units' values (6 digits),
not good esp. when mixing big and small units (like e.g. miles and inches). Will fix that
in next commit.
* When converting values to string, 'precision' parameter ignores order of magnitude of the value,
which leads to invalid results with big numbers (e.g. 1000000mi gives 1000000.004mi with prec of 3).
June 17, 2014, 12:54 (GMT)
Merge branch 'master' into gtest-testing
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021