svn merge ^/trunk/blender -r42953:42957
This commit is contained in:
2
extern/CMakeLists.txt
vendored
2
extern/CMakeLists.txt
vendored
@@ -45,7 +45,7 @@ if(WITH_BUILTIN_GLEW)
|
||||
endif()
|
||||
|
||||
if(WITH_GAMEENGINE)
|
||||
add_subdirectory(recastnavigation)
|
||||
add_subdirectory(recastnavigation)
|
||||
endif()
|
||||
|
||||
if(WITH_IMAGE_OPENJPEG AND (NOT UNIX OR APPLE))
|
||||
|
||||
@@ -36,19 +36,19 @@ if(WITH_CYCLES_OPTIMIZED_KERNEL)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_NETWORK)
|
||||
add_definitions(-DWITH_NETWORK)
|
||||
add_definitions(-DWITH_NETWORK)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_OSL)
|
||||
add_definitions(-DWITH_OSL)
|
||||
add_definitions(-DWITH_OSL)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_PARTIO)
|
||||
add_definitions(-DWITH_PARTIO)
|
||||
add_definitions(-DWITH_PARTIO)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_CUDA_BINARIES)
|
||||
add_definitions(-DWITH_CUDA_BINARIES)
|
||||
add_definitions(-DWITH_CUDA_BINARIES)
|
||||
endif()
|
||||
|
||||
add_definitions(-DWITH_OPENCL)
|
||||
|
||||
@@ -560,10 +560,14 @@ class WORLD_PT_game_mist(WorldButtonsPanel, Panel):
|
||||
world = context.world
|
||||
|
||||
layout.active = world.mist_settings.use_mist
|
||||
|
||||
row = layout.row()
|
||||
row.prop(world.mist_settings, "falloff")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(world.mist_settings, "start")
|
||||
row.prop(world.mist_settings, "depth")
|
||||
row = layout.row()
|
||||
row.prop(world.mist_settings, "intensity", text="Minimum Intensity")
|
||||
|
||||
|
||||
class WORLD_PT_game_physics(WorldButtonsPanel, Panel):
|
||||
|
||||
@@ -300,4 +300,13 @@
|
||||
# define BLI_assert(a) (void)0
|
||||
#endif
|
||||
|
||||
/* hints for branch pradiction, only use in code that runs a _lot_ where */
|
||||
#ifdef __GNUC__
|
||||
# define LIKELY(x) __builtin_expect(!!(x), 1)
|
||||
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||
#else
|
||||
# define LIKELY(x) (x)
|
||||
# define UNLIKELY(x) (x)
|
||||
#endif
|
||||
|
||||
#endif // BLI_UTILDEFINES_H
|
||||
|
||||
@@ -66,6 +66,7 @@ set(SRC
|
||||
intern/math_base.c
|
||||
intern/math_base_inline.c
|
||||
intern/math_color.c
|
||||
intern/math_color_inline.c
|
||||
intern/math_geom.c
|
||||
intern/math_geom_inline.c
|
||||
intern/math_matrix.c
|
||||
|
||||
@@ -33,7 +33,7 @@ set(INC
|
||||
../../makesdna
|
||||
../../makesrna
|
||||
../../windowmanager
|
||||
../../gpu
|
||||
../../gpu
|
||||
../../../../intern/guardedalloc
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user