5 years agoCMake: cleanup, use find_package for pthreads
Campbell Barton [Sat, 15 Nov 2014 15:46:30 +0000 (16:46 +0100)]
CMake: cleanup, use find_package for pthreads

5 years agoUI: cleanup next/prev order in menu code
Campbell Barton [Sat, 15 Nov 2014 13:32:23 +0000 (14:32 +0100)]
UI: cleanup next/prev order in menu code

Recent flag re-order broke it since bits overlap, but logic here was far too complicated & fragile,
Checked the type of each button when testing which direction to handle events as well as block direction.

Now store the block-flipped state as a flag.

5 years agoCleanup: remove unused redraw flag
Campbell Barton [Sat, 15 Nov 2014 13:11:51 +0000 (14:11 +0100)]
Cleanup: remove unused redraw flag

5 years agocmake / windows cleanup
Martijn Berger [Sat, 15 Nov 2014 13:36:25 +0000 (14:36 +0100)]
cmake / windows cleanup

5 years agoCmake windows, removing more redundant things
Martijn Berger [Sat, 15 Nov 2014 11:42:21 +0000 (12:42 +0100)]
Cmake windows, removing more redundant things

5 years agoCmake windows/msvc minor cleanup
Martijn Berger [Sat, 15 Nov 2014 11:12:19 +0000 (12:12 +0100)]
Cmake windows/msvc minor cleanup

5 years agoCycles: Revert changes to inline flags enabled for release only
Sergey Sharybin [Fri, 14 Nov 2014 23:42:33 +0000 (04:42 +0500)]
Cycles: Revert changes to inline flags enabled for release only

It appears it's not really needed for convenient debugging when
using proper flags passed to the compiler. Basically, it is -g3
and set breakpoint to a function as if it's not in the namespace.

Not as if a code was any wrong, just it's possible to have more
clear solution for the issue i've tried to solve in the past.

5 years agoCycles: Fix compilation error with enabled looging but disabled libmv
Sergey Sharybin [Fri, 14 Nov 2014 23:01:31 +0000 (04:01 +0500)]
Cycles: Fix compilation error with enabled looging but disabled libmv

5 years agoAdd Make Edge/Face to mesh Edit Mode toolbar.
Jonathan Williamson [Fri, 14 Nov 2014 21:48:18 +0000 (15:48 -0600)]
Add Make Edge/Face to mesh Edit Mode toolbar.

The Mesh Tools have quite few crucial tools that're missing from the toolbar. This is the main one.

The tools that're here should also be reorganized a bit to introduce actual orgnization, as it's quite sporadic at the moment. Will do that later.

5 years agoReplace tooltips of copy vgroups to ... operators.
Bastien Montagne [Fri, 14 Nov 2014 18:51:19 +0000 (19:51 +0100)]
Replace tooltips of copy vgroups to ... operators.

Those ops actually replace vgroups in destination, tooltips were really misleading.

Issue raised by zanqdo (Daniel Salazar), thanks.

5 years agoView3d: border would jitter on panning
Campbell Barton [Fri, 14 Nov 2014 16:58:24 +0000 (17:58 +0100)]
View3d: border would jitter on panning

5 years agoSequencer: handles drew outside of small strips
Campbell Barton [Fri, 14 Nov 2014 15:47:30 +0000 (16:47 +0100)]
Sequencer: handles drew outside of small strips

5 years agoFix T42593: Rigify crash when I press "Generate" - corrupted IDGroup's listbase of...
Bastien Montagne [Fri, 14 Nov 2014 15:38:11 +0000 (16:38 +0100)]
Fix T42593: Rigify crash when I press "Generate" - corrupted IDGroup's listbase of children

Nothing related to rigify actually, recent hack in py handling of IDProp (rB3346ab03)
was breaking integrity of IDGroup's listbase of children IDProps...

Took me hours to nail this down, should have bisected for once. :/

5 years agoAdd missing notifiers for slip operator
Antony Riakiotakis [Fri, 14 Nov 2014 14:04:52 +0000 (15:04 +0100)]
Add missing notifiers for slip operator

5 years agoskip scene_armature_depsgraph_workaround when theres no armatures
Campbell Barton [Fri, 14 Nov 2014 13:55:45 +0000 (14:55 +0100)]
skip scene_armature_depsgraph_workaround when theres no armatures

5 years agoReuse local view for UVs for previous commit, thanks to Campbell for the
Antony Riakiotakis [Fri, 14 Nov 2014 13:06:29 +0000 (14:06 +0100)]
Reuse local view for UVs for previous commit, thanks to Campbell for the

Also minor compile fix after viewport patch

5 years agoDepsgraph: Workaround for missing pose update when changing visible layers
Sergey Sharybin [Fri, 14 Nov 2014 13:04:07 +0000 (14:04 +0100)]
Depsgraph: Workaround for missing pose update when changing visible layers

That's like really a bummer, because currently animation data for armatures
might want to use pose, and pose might be missing on the object.
This happens when changing visible layers, which leads to situations when
pose is missing or marked for recalc, animation will change it and then
object update will restore the pose.

This could be solved by the new dependency graph, but for until then we'll
do an extra pass on the objects to ensure it's all fine.

It's done in the scene_update_for_newframe() to solve possible issues with
the render engines as well.

This finally solves issues we had with Caminandes team, where Koro would be
at the scene origin instead of being properly posed.

5 years agoFix T42561 (semi feature request/comeback) UVs in image editor can get
Antony Riakiotakis [Fri, 14 Nov 2014 12:50:10 +0000 (13:50 +0100)]
Fix T42561 (semi feature request/comeback) UVs in image editor can get
too crowded.

UVs in the same layer can be used for many images. It used to be
possible to filter UV faces based on the image, but this is impossible
now due to the way the system works, so I added an option to allow
filtering UVs based on active material index.

Rationale on using option and not being smart here (options are bad tm)
is that for some workflows, such as preserving image space by using the
same image for many materials, people might want to turn this off.

5 years agoFix X11/GLX failing with multi-sample
Campbell Barton [Fri, 14 Nov 2014 12:43:22 +0000 (13:43 +0100)]
Fix X11/GLX failing with multi-sample

Caused by D643, in fact we need to get the visualInfo before creating the window.

5 years agoUI: Rename Addons -> Add-ons
Campbell Barton [Fri, 14 Nov 2014 11:17:25 +0000 (12:17 +0100)]
UI: Rename Addons -> Add-ons

D812 by @thefallenweeble

internally variable names & paths remain the same, this is for labels & tips only.

5 years agoFix vertex colors being displayed wrong in GLSL in edit mode. Looks like
Antony Riakiotakis [Fri, 14 Nov 2014 11:15:36 +0000 (12:15 +0100)]
Fix vertex colors being displayed wrong in GLSL in edit mode. Looks like
swapping the colors is no longer needed.

5 years agoDon't assign wrong datalayers to gpuattribs in edit mode.
Antony Riakiotakis [Fri, 14 Nov 2014 11:08:41 +0000 (12:08 +0100)]
Don't assign wrong datalayers to gpuattribs in edit mode.

layer index was being obtained for loop data types but we referenced
Tessface data types

NULLing those out since only the data offsets are used in edit mode and
address sanitizer complains about freed memory access.

Also minor comment in texpainting

5 years agoCleanup: use BLI_hash_ prefix for md5 api
Campbell Barton [Fri, 14 Nov 2014 10:53:27 +0000 (11:53 +0100)]
Cleanup: use BLI_hash_ prefix for md5 api

5 years agoCleanup: headers
Campbell Barton [Fri, 14 Nov 2014 10:49:45 +0000 (11:49 +0100)]
Cleanup: headers

5 years agoAdd Murmur2A hashing feature to BLI
Bastien Montagne [Fri, 14 Nov 2014 10:00:10 +0000 (11:00 +0100)]
Add Murmur2A hashing feature to BLI

Murmur2a is a very fast hashing function generation int32 hashes.
It also features a very good distribution of generated hashes.

However, it is not endianness-agnostic, meaning it will usually generate
different hashes for a same key on big- and little-endian architectures.
Consequently, **it shall not be used to generate persistent hashes**
(never store them in .blend file e.g.).

This implementation supports incremental hashing, and is a direct
adaptation of reference implementation (in c++):

That cpp code was also used to generate reference values in gtests file.

Reviewers: sergey, campbellbarton

Reviewed By: campbellbarton

Projects: #bf_blender

Differential Revision:

5 years agoCmake add installation of redistributables for msvc 2013
Martijn Berger [Fri, 14 Nov 2014 09:49:01 +0000 (10:49 +0100)]
Cmake add installation of redistributables for msvc 2013

5 years agoupdate dna exporter for API changes
Campbell Barton [Thu, 13 Nov 2014 23:54:04 +0000 (00:54 +0100)]
update dna exporter for API changes

also print html name.

5 years agoCMake: add 'full' to 'make help'
Campbell Barton [Thu, 13 Nov 2014 23:19:53 +0000 (00:19 +0100)]
CMake: add 'full' to 'make help'

5 years agoCMake: disable some build option defaults T42569
Campbell Barton [Thu, 13 Nov 2014 22:32:01 +0000 (23:32 +0100)]
CMake: disable some build option defaults T42569

This commit disables some lesser used dependencies
for Linux/Unix systems by default.

Run: `make full` to enabled options used in release build.

5 years agoCMake: remove deprecated mudflap option
Campbell Barton [Thu, 13 Nov 2014 18:43:15 +0000 (19:43 +0100)]
CMake: remove deprecated mudflap option

5 years agoAdd 'help_features' make target (prints WITH_*** options)
Campbell Barton [Thu, 13 Nov 2014 18:19:08 +0000 (19:19 +0100)]
Add 'help_features' make target (prints WITH_*** options)

5 years agoCMake: add 'make full' target
Campbell Barton [Thu, 13 Nov 2014 17:06:03 +0000 (18:06 +0100)]
CMake: add 'make full' target

5 years agoFix T42590 baking bakes to duplicated objects too.
Antony Riakiotakis [Thu, 13 Nov 2014 17:54:19 +0000 (18:54 +0100)]
Fix T42590 baking bakes to duplicated objects too.

Only allow non instanced renderobjects to be baked.

5 years agoCMake buildbot change upload should work now
Martijn Berger [Thu, 13 Nov 2014 16:09:09 +0000 (17:09 +0100)]
CMake buildbot change upload should work now
CPack generating NSIS and WiX installers should also work

5 years agoBMesh: shrink/fatten faces-normals in face mode
Campbell Barton [Thu, 13 Nov 2014 15:37:32 +0000 (16:37 +0100)]
BMesh: shrink/fatten faces-normals in face mode

nice for solid-modeling, gives better results for partial selections.

5 years agoWindows (MSVC2013) move to SDL2
Martijn Berger [Thu, 13 Nov 2014 15:19:57 +0000 (16:19 +0100)]
Windows (MSVC2013) move to SDL2

5 years agoFix T42571,T42572 snapping ignores linked objects
Antony Riakiotakis [Thu, 13 Nov 2014 14:41:29 +0000 (15:41 +0100)]
Fix T42571,T42572 snapping ignores linked objects

Make sure to use edit object if objects share the same data.

5 years agoCleanup: cmake
Campbell Barton [Thu, 13 Nov 2014 14:03:30 +0000 (15:03 +0100)]
Cleanup: cmake

5 years agoFix T42587 rotation curves not setting jump to cursor position
Antony Riakiotakis [Thu, 13 Nov 2014 14:03:44 +0000 (15:03 +0100)]
Fix T42587 rotation curves not setting jump to cursor position

5 years agoBooleans: Boost is no longer a dependency for Carve
Sergey Sharybin [Thu, 13 Nov 2014 12:36:33 +0000 (17:36 +0500)]
Booleans: Boost is no longer a dependency for Carve

SCons is currently broken on my laptop, so can't test if it works for sure,
so please do tests of that.

5 years agoOnly do the portable fix on linux - thanks to Martijn Berger for
Antony Riakiotakis [Thu, 13 Nov 2014 13:10:30 +0000 (14:10 +0100)]
Only do the portable fix on linux - thanks to Martijn Berger for

5 years agoCMake: manpage creation is now optional
Campbell Barton [Thu, 13 Nov 2014 13:07:34 +0000 (14:07 +0100)]
CMake: manpage creation is now optional

5 years agoCorrectly support non-portable case
Antony Riakiotakis [Thu, 13 Nov 2014 12:52:20 +0000 (13:52 +0100)]
Correctly support non-portable case

5 years agoFix cmake install of blenderplayer for linux.
Antony Riakiotakis [Thu, 13 Nov 2014 12:37:27 +0000 (13:37 +0100)]
Fix cmake install of blenderplayer for linux.

5 years agoFix T42538 Brush cleanup:
Antony Riakiotakis [Thu, 13 Nov 2014 10:35:20 +0000 (11:35 +0100)]
Fix T42538 Brush cleanup:

Some brushes really do the same thing and we have agreed not to offer
extra presets for one brush type. Removed those brushes from default
.blend. They are Polish (Flatten Contrast does the same), Brush (Does
the same as draw) and Draw from texpaint (where texdraw/draw does the

5 years agoCycles: Update some comments in volume code.
Thomas Dinges [Thu, 13 Nov 2014 10:29:54 +0000 (11:29 +0100)]
Cycles: Update some comments in volume code.

5 years agoGHOST/X11: correct USE_X11_ERROR_HANDLERS define
Campbell Barton [Thu, 13 Nov 2014 09:58:01 +0000 (10:58 +0100)]
GHOST/X11: correct USE_X11_ERROR_HANDLERS define

5 years agoFix missing UV field in Wave modifier.
Bastien Montagne [Thu, 13 Nov 2014 07:56:39 +0000 (08:56 +0100)]
Fix missing UV field in Wave modifier.

5 years agocmake: fix generation / install on OS X,
Martijn Berger [Wed, 12 Nov 2014 19:54:48 +0000 (20:54 +0100)]
cmake: fix generation / install on OS X,
N.B. needs cmake cache rebuild

5 years agoCycles: Prevent NaN and inf in area lamp sampling caused by precision issues
Sergey Sharybin [Wed, 12 Nov 2014 16:23:33 +0000 (21:23 +0500)]
Cycles: Prevent NaN and inf in area lamp sampling caused by precision issues

This doesn't have noticeable affect on the render times, but avoids possible
numerical issues.

5 years agocmake buildbot. Create the zip archive with the name as expected
Martijn Berger [Wed, 12 Nov 2014 14:23:24 +0000 (15:23 +0100)]
cmake buildbot. Create the zip archive with the name as expected

5 years agoFix bad 'COLOR' replacement in recent UI refactor.
Bastien Montagne [Wed, 12 Nov 2014 11:40:53 +0000 (12:40 +0100)]
Fix bad 'COLOR' replacement in recent UI refactor.

5 years agoFix T41066: MSVC + AVX2 kernel causes artifacts in hair render.
Thomas Dinges [Wed, 12 Nov 2014 10:51:49 +0000 (11:51 +0100)]
Fix T41066: MSVC + AVX2 kernel causes artifacts in hair render.

The issue lies in the FMA functions, so disable them on Windows for now.

5 years agoCleanup, please follow existing style when adding new flags. ;)
Thomas Dinges [Wed, 12 Nov 2014 08:43:23 +0000 (09:43 +0100)]
Cleanup, please follow existing style when adding new flags. ;)

5 years agoCleanup, typo fixes.
Thomas Dinges [Wed, 12 Nov 2014 08:14:07 +0000 (09:14 +0100)]
Cleanup, typo fixes.

5 years agoFix: T42553 Linux cmake install now also without absolute path's
Martijn Berger [Tue, 11 Nov 2014 20:44:26 +0000 (21:44 +0100)]
Fix: T42553 Linux cmake install now also without absolute path's
OS X cmake probably needs more checking.

5 years agoFix T41783: Cycles baking ignores displacement
Dalai Felinto [Tue, 11 Nov 2014 20:21:56 +0000 (18:21 -0200)]
Fix T41783: Cycles baking ignores displacement

Create unique flag for output shaders with displacement data and use it
to calculate transformed normal. Implementation suggested by Brecht Van

Reviewers: brecht

Differential Revision:

5 years agoFix T42009: Cyclic set-scenes with linked libs
Campbell Barton [Tue, 11 Nov 2014 18:39:20 +0000 (19:39 +0100)]
Fix T42009: Cyclic set-scenes with linked libs

Check linked libs on file load, Thanks to Sergey for the initial patch.

5 years agoCleanup: remove inline list-count
Campbell Barton [Tue, 11 Nov 2014 18:32:46 +0000 (19:32 +0100)]
Cleanup: remove inline list-count

5 years agoUI: Cleanup, replace enum with function
Campbell Barton [Tue, 11 Nov 2014 18:02:18 +0000 (19:02 +0100)]
UI: Cleanup, replace enum with function

5 years agoUI: cleanup odd string-width check
Campbell Barton [Tue, 11 Nov 2014 17:39:43 +0000 (18:39 +0100)]
UI: cleanup odd string-width check

5 years agoUI: Cleanup (line length)
Campbell Barton [Tue, 11 Nov 2014 15:52:03 +0000 (16:52 +0100)]
UI: Cleanup (line length)

5 years agoUI: order & comment eButType
Campbell Barton [Tue, 11 Nov 2014 15:46:03 +0000 (16:46 +0100)]
UI: order & comment eButType

5 years agoUI: remove unused emboss-table define
Campbell Barton [Tue, 11 Nov 2014 09:55:07 +0000 (10:55 +0100)]
UI: remove unused emboss-table define

5 years agoAvoid calling powf with integer exponent in more places
Sergej Reich [Tue, 11 Nov 2014 17:16:20 +0000 (18:16 +0100)]
Avoid calling powf with integer exponent in more places

Move powX functions from particle code into math library and use them.

5 years agocloth: Avoid calling powf with integer exponent
Sergej Reich [Tue, 11 Nov 2014 17:08:15 +0000 (18:08 +0100)]
cloth: Avoid calling powf with integer exponent

This is pretty slow and even shows up in profiling.

5 years agocloth: Fix overallocation for collisions
Sergej Reich [Tue, 11 Nov 2014 17:05:00 +0000 (18:05 +0100)]
cloth: Fix overallocation for collisions

This was introduced when eltopo was added, but not reverted when it was

5 years agocmake. refactor installing python things to not have absolute path's
Martijn Berger [Tue, 11 Nov 2014 14:47:22 +0000 (15:47 +0100)]
cmake. refactor installing python things to not have absolute path's
buildbot. add rudementatry cpack based packing for cmake path

5 years agobuildbot: fix: cmake generator is kind of sensitive
Martijn Berger [Tue, 11 Nov 2014 10:35:38 +0000 (11:35 +0100)]
buildbot: fix: cmake generator is kind of sensitive

5 years agoFix T41873: Different 'seed' values do not yield different noise patterns when using...
Dalai Felinto [Tue, 11 Nov 2014 12:52:58 +0000 (10:52 -0200)]
Fix T41873: Different 'seed' values do not yield different noise patterns when using cycles texture bake

As per instructions by Brecht Van Lommel.

5 years agoAdd msbuild for windows cmake buildbots
Martijn Berger [Tue, 11 Nov 2014 10:22:49 +0000 (11:22 +0100)]
Add msbuild for windows cmake buildbots

5 years agoFix T42557: Crash on delete or separate vertices with subsurf modifier + vertex parenting
Bastien Montagne [Tue, 11 Nov 2014 08:45:27 +0000 (09:45 +0100)]
Fix T42557: Crash on delete or separate vertices with subsurf modifier + vertex parenting

Only fixes the crash actually, real issue is, vparent does not handle deletion of vertices
at all currently... We'd need either some kind of static uuid for vertices, or some
mapping helpers used each time we remove or reorder verts... ugh.

Org patch by Severin (Julian Eisel).

5 years agoUI Refactor T41640
Campbell Barton [Sun, 9 Nov 2014 20:20:40 +0000 (21:20 +0100)]
UI Refactor T41640

Make the UI API more consistent and reduce confusion with some naming.

- API function calls
- enum values

some internal static functions have been left for now

5 years agoFix T39144: text-select scrolling too fast
Campbell Barton [Mon, 10 Nov 2014 19:56:17 +0000 (20:56 +0100)]
Fix T39144: text-select scrolling too fast

Use a timer to get predictable speed.

5 years agoFix T42498: Disable Renaming for Read-Only Files in File Browser
julianeisel [Mon, 10 Nov 2014 19:29:44 +0000 (20:29 +0100)]
Fix T42498: Disable Renaming for Read-Only Files in File Browser

5 years agoSequencer: undefine SEQ_BEGIN/SEQ_END (see comment)
Campbell Barton [Mon, 10 Nov 2014 18:39:20 +0000 (19:39 +0100)]
Sequencer: undefine SEQ_BEGIN/SEQ_END (see comment)

5 years agoSphinx doc script: server path has changed
Campbell Barton [Mon, 10 Nov 2014 18:27:23 +0000 (19:27 +0100)]
Sphinx doc script: server path has changed

5 years agoFix T42499: Make sure directories are not interpreted as libraries
julianeisel [Mon, 10 Nov 2014 17:51:56 +0000 (18:51 +0100)]
Fix T42499: Make sure directories are not interpreted as libraries

5 years agoCycles: Speedup for homogenous volumes in decoupled volume sampling
Sergey Sharybin [Mon, 10 Nov 2014 08:54:55 +0000 (09:54 +0100)]
Cycles: Speedup for homogenous volumes in decoupled volume sampling

The idea is to avoid memory allocation when only one segment step is to be allocated.
This gives some speedup which is difficult to measure on this trashcan from hell, but
it's about from 7% to 10% in the extreme case with single volume filling the whole of
the viewport. This seems to depends on the phase of the bug-o-meter in the studio.

On the linux boxes it's not that spectacular speedup, it's about 2% on my laptop and
about 3% on the studio desktop. This is likely because of the awesomeness of jemalloc.

5 years agoFix T4256: Connect tool hangs
Campbell Barton [Mon, 10 Nov 2014 17:38:46 +0000 (18:38 +0100)]
Fix T4256: Connect tool hangs

5 years agoFix/workaround T37073: Crash updating custom props visible in the UI
Campbell Barton [Mon, 10 Nov 2014 16:10:58 +0000 (17:10 +0100)]
Fix/workaround T37073: Crash updating custom props visible in the UI

5 years agoFix T42199: PET displays when transforming around centers
Campbell Barton [Mon, 10 Nov 2014 13:37:53 +0000 (14:37 +0100)]
Fix T42199: PET displays when transforming around centers

Old code only worked for faces.

5 years agoFix T42221: 'Shadow Width' influences tooltip size
Campbell Barton [Mon, 10 Nov 2014 12:58:03 +0000 (13:58 +0100)]
Fix T42221: 'Shadow Width' influences tooltip size

Positioning of popups was using shadow width for placement,
could give some quite odd results.

5 years agoCorrect last commit
Campbell Barton [Mon, 10 Nov 2014 12:48:27 +0000 (13:48 +0100)]
Correct last commit

5 years agoFix: Shapekey Basis not updated on editmode exit
Campbell Barton [Mon, 10 Nov 2014 12:32:39 +0000 (13:32 +0100)]
Fix: Shapekey Basis not updated on editmode exit

5 years agoFix T42486: Array modifier cap-end crash
Campbell Barton [Mon, 10 Nov 2014 08:55:25 +0000 (09:55 +0100)]
Fix T42486: Array modifier cap-end crash

Thanks to @PatB for the fix.

5 years agoCleanup: remove unused UI_SHIFT_FLIPPED (2.4x toolbox)
Campbell Barton [Sun, 9 Nov 2014 16:16:46 +0000 (17:16 +0100)]
Cleanup: remove unused UI_SHIFT_FLIPPED (2.4x toolbox)

5 years agoGLSL: specular transparency support for Blender internal materials
Dontsov Valentin [Sun, 9 Nov 2014 14:22:44 +0000 (15:22 +0100)]
GLSL: specular transparency support for Blender internal materials

Reviewed By: brecht

Differential Revision:

5 years agoFix T42540: save_pre and save_post handlers not called when saving startup.blend.
Brecht Van Lommel [Sun, 9 Nov 2014 14:11:40 +0000 (15:11 +0100)]
Fix T42540: save_pre and save_post handlers not called when saving startup.blend.

5 years agoFix T42548: crash showing subsurf modifier UI on hidden object.
Brecht Van Lommel [Sun, 9 Nov 2014 13:52:52 +0000 (14:52 +0100)]
Fix T42548: crash showing subsurf modifier UI on hidden object.

5 years agoCode cleanup: Remove unused functions from implicit.c
Sergey Sharybin [Fri, 31 Oct 2014 22:26:50 +0000 (03:26 +0500)]
Code cleanup: Remove unused functions from implicit.c

Most of the unused functions were removed. Some of them were if-defed
because they are referenced from the code which was already if-defed.

Reviewers: lukastoenne, campbellbarton

Differential Revision:

5 years agoCmake cleanup
Martijn Berger [Sat, 8 Nov 2014 20:17:04 +0000 (21:17 +0100)]
Cmake cleanup
Move compiler warnings for msvc to common compilerwarnings.

5 years agoPut latest buildbot config files to git
Sergey Sharybin [Sat, 8 Nov 2014 19:11:50 +0000 (00:11 +0500)]
Put latest buildbot config files to git

5 years agoCycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.
Thomas Dinges [Sat, 8 Nov 2014 15:47:56 +0000 (16:47 +0100)]
Cycles: Remove dead branch for Distant lamps, ls->t is always FLT_MAX here.

5 years agoReadme for Blender 2.73.
Thomas Dinges [Sat, 8 Nov 2014 15:47:05 +0000 (16:47 +0100)]
Readme for Blender 2.73.

5 years agoAdd safe_normalize to cycles, avoid checking length first
Campbell Barton [Sat, 8 Nov 2014 12:35:21 +0000 (13:35 +0100)]
Add safe_normalize to cycles, avoid checking length first

This won't give any big speedup,
just avoids redundant sqrtf and may be useful in future.

Differential Revision:

5 years agoCleanup: cycles whitespace
Campbell Barton [Sat, 8 Nov 2014 12:28:40 +0000 (13:28 +0100)]
Cleanup: cycles whitespace

5 years agocmake buildfiles Cleanup / Refactor, no functional changes.
Martijn Berger [Sat, 8 Nov 2014 10:32:32 +0000 (11:32 +0100)]
cmake buildfiles Cleanup / Refactor, no functional changes.
Move away from using hardcoded ${target} when calling install() in cmake

5 years agoFix T42531: Setting 'Undo' steps to '1' causes weirdness.
Bastien Montagne [Fri, 7 Nov 2014 09:24:11 +0000 (10:24 +0100)]
Fix T42531: Setting 'Undo' steps to '1' causes weirdness.

Do not allow '1' value here, it's useless.

Thanks to Campbell for suggested solution here!

5 years agoCycles: Tweak to the expf() speed workaround
Sergey Sharybin [Fri, 7 Nov 2014 08:35:45 +0000 (13:35 +0500)]
Cycles: Tweak to the expf() speed workaround

Add compile-time check for particular glibc version which fixed the issue.
This makes it so own-compiled blender is the fastest in the world, and the
only issue remains what should we do for release builds.

After some discussion with Campbell we decided to keep it as is for now
because slowdown is not that much noticeable. We'll disable this workaround
for release builds when all the majority of the distros will switch to the
new version of glibc.