Blender Git Commits

Blender Git "master" branch commits.

Page: 2897 / 5574

April 17, 2014, 06:04 (GMT)
Code cleanup: use bools

also rename BLI_omp_thread_count -> BLI_system_thread_count_omp
April 17, 2014, 05:37 (GMT)
Freestyle: removed unnecessary #include "FreestyleConfig.h".
April 17, 2014, 05:37 (GMT)
Freestyle: removed unused *_EXPORT qualifiers for building Windows DLLs.

These qualifiers were leftovers of the stand alone Freestyle program and not used
(set to an empty string) in Blender for years.
April 17, 2014, 05:37 (GMT)
Fix for missing changes in commit 6b0b6f876a4d68acd5c9252270a5135d0308d782.
April 17, 2014, 05:37 (GMT)
Replaced assert() with BLI_assert().
April 17, 2014, 05:37 (GMT)
Freestyle: removed unnecessary #include files and made minor code cleanup.
April 17, 2014, 05:37 (GMT)
Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 4).

(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of
the problem).

Fix for a C++ scope issue caused by 'using namespace Freestyle' that was assumed
even within the Freestyle namespace definition.
April 17, 2014, 05:37 (GMT)
Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 3).

(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of
the problem).

Made changes to intern/view_map/Interface0D.h and intern/python/Director.h to
avoid #include <Python.h> and keep non-Python header files independent of it.
April 17, 2014, 05:37 (GMT)
Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 2).

(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of
the problem).

Fixed for #include <Python.h> not properly put in the extern "C" { ... } construct.

Also removed redundant inclusion of the header file in the Freestyle Python API code.
April 17, 2014, 05:37 (GMT)
Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 1).

The issue was caused by including both Python.h and BLI_math.h. Since the macro
definition in Python.h was unconditional, it was necessary to include it first and then
BLI_math.h.

Addressing the issue turned out to affect many Freestyle source files. There were several
other coding flaws that complicated the situation:

1. intern/system/FreestyleConfig.h was abused just to include BLI_math.h which was in
fact unnecessary in FreestyleConfig.h. While addressing this, inclusion of both math.h
and BLI_math.h had to be duly dealt with to avoid a compiler error about round().

2. #include <Python.h> was not properly put in the extern "C" { ... } construct.

3. intern/view_map/Interface0D.h and intern/python/Director.h, both of which included
Python.h, were included from within Freestyle header files that were almost or completely
independent of Python. These non-Python header files were used everywhere in the
Freestyle code base, causing many cases of the reported macro redefinitions.

4. The Director.h file was also declaring 'using namespace Freestyle', which was causing
another scope issue in several Freestyle header files.

This commit is intended to address the first problem above. Subsequent commits will deal
with the other three.
April 17, 2014, 03:23 (GMT)
Fix T39767: Parent in Mask mode crashes
Revision 64f3774 by Joshua Leung
April 17, 2014, 03:02 (GMT)
Fix T39768: GLOBAL_X/Y/Z don't exist for bpy.ops.armature.calculate_roll type enum
April 17, 2014, 01:40 (GMT)
BGE - button for deactivate sensors, controllers and actuators

This change introduces a new checkbox to deactivate the sensors, controllers and/or actuators. It is useful during the development phase to avoid delete sensors, controllers or actuators if you want to test something new.

NOC: The wiki page is being updated (the images mostly), but the feature is already in the 2.71 release log.

{F61628}

Reviewers: moguri, dfelinto, campbellbarton, dingto, #user_interface, billrey

Reviewed By: moguri

CC: billrey

Differential Revision: https://developer.blender.org/D16
April 16, 2014, 22:25 (GMT)
Bullet: better workaround for failing friction with clang 3.4, remove the obsolete compileflag magic
April 16, 2014, 19:36 (GMT)
Fix another compile error with recent commit on visual studio.
April 16, 2014, 19:23 (GMT)
Fix for scons/CUDA build after recent commit.
April 16, 2014, 19:05 (GMT)
Cycles CUDA: enabled branched path kernel again, with more registers.
April 16, 2014, 19:05 (GMT)
Cycles code refactor: use __launch_bounds__ instead of -maxrregcount for CUDA.

This makes it easier to have per kernel number of registers. Also, all the
tunable parameters for this are now in kernel.cu, rather than spread over cmake,
scons and device_cuda.cpp.
April 16, 2014, 18:19 (GMT)
Fix Knife bug T39617: midpoint snap should affect intermediate points.

This reverts to the 2.69 behavior, where the snap-to-midpoint option
affected the intermediate crossed edges as well as the endpoints.
April 16, 2014, 18:02 (GMT)
Fix T39756: Extrude, immediate scale

While not exactly a bug, switching to scale isnt generally useful to keep normal constraint.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021