Campbell Barton
06e1bc6178
internal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which takes arguments to give some more control.
2013-06-19 18:22:00 +00:00
Brecht Van Lommel
f811e6e3ae
Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all the
...
way back to Pentium 4, using a slightly less efficient instruction.
Also ensure /Ox is used for Visual Studio for RelWithDebInfo builds.
2013-06-19 17:54:26 +00:00
Brecht Van Lommel
16204bd647
Cycles: prepare to make CUDA 5.0 the official version we use
...
* Add CUDA compiler version detection to cmake/scons/runtime
* Remove noinline in kernel_shader.h and reenable --use_fast_math if CUDA 5.x
is used, these were workarounds for CUDA 4.2 bugs
* Change max number of registers to 32 for sm 2.x (based on performance tests
from Martijn Berger and confirmed here), and also for NVidia OpenCL.
Overall it seems that with these changes and the latest CUDA 5.0 download, that
performance is as good as or better than the 2.67b release with the scenes and
graphics cards I tested.
2013-06-19 17:54:23 +00:00
Jürgen Herrmann
a7416641e6
Fix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:
...
Compiler optimization was accidentally set to /Ox for debug build too.
Changed this to be /Od in Debug and /Ox in Release mode.
2013-06-19 17:17:51 +00:00
Ton Roosendaal
033089d286
Usability:
...
For users without middle-mouse buttons, they can now use Circle and Border
deselect by holding SHIFT. Middle mouse still works too.
2013-06-19 15:20:50 +00:00
Bastien Montagne
30a108ddad
Fix for expanded enums with icon_only enabled, name of each item was still used to compute its button's size!
2013-06-19 15:08:07 +00:00
Campbell Barton
5a4e36c051
fix own regression with normal recalculation updates
2013-06-19 15:05:02 +00:00
Campbell Barton
a8d5a22f7f
ui precision drawing - avoid calling pow(10, -prec) since the range is small use a fixed array.
2013-06-19 14:08:27 +00:00
Gaia Clary
5e9e906bd3
Take precision into account for calculating display of small numbers
2013-06-19 12:16:50 +00:00
Campbell Barton
9d4cc7885d
fix for filesel autocomplete, it had the annoying behavior if you entered in a non-existing name, of executing it and then asking to add the dir.
2013-06-19 11:53:48 +00:00
Campbell Barton
15016873ab
dont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.
2013-06-19 11:26:11 +00:00
Sergey Sharybin
c63c6e4452
Fix #35773 : Drag-to-Open failed in Movie Clip Editor
2013-06-19 08:45:02 +00:00
Sergey Sharybin
26fe036b6e
Followup to svn rev57551
...
Perhaps real fix would be to make all parts of blender
mandatory and not switchable off, so every area of code
would be compiled and verified after no-functional-changes
commits.
2013-06-19 08:40:18 +00:00
Campbell Barton
fed8f76098
fix [ #35795 ] Edge split modifier do not show result in viewport with curves.
...
caused by recent changes in normal calculation, however curves were not being very smart about calculating modifiers (calling unneeded re-tessellation for every modifier)
2013-06-19 08:19:36 +00:00
Campbell Barton
d9ec2efe8f
move modifier callback wrappers into modifier.c
2013-06-19 08:00:20 +00:00
Campbell Barton
b375706935
fix [ #35793 ] Crash When Painting Gradient Weight
2013-06-19 07:45:36 +00:00
Campbell Barton
3c54d1b87a
alternate fix for r57562. check if the mouse is over the parent menu.
2013-06-19 06:31:37 +00:00
Campbell Barton
93134c26f9
fix [ #35792 ] Submenus not opening properly on mouse move
...
caused by own fix for [#35346 ], now only apply wiggle room for toplevel menus.
2013-06-19 06:01:38 +00:00
Campbell Barton
841c200767
report exceptions when enabling and disabling modules in blenders interface.
...
so if pressing the addon checkbox fails it tells why rather then failing silently.
2013-06-19 05:17:31 +00:00
Thomas Dinges
dd54b99b33
Cycles / UI:
...
* Some tweaks to the material "Settings" panel.
2013-06-18 22:34:37 +00:00
Jürgen Herrmann
eae9519f9d
VS 2012 x86 SCons update.
2013-06-18 20:11:58 +00:00
Jürgen Herrmann
3c722f037a
Fix for own mistake in r57555 :-(
...
Add include to autoexec.c instead of BLI_path_util.h
Thanks Bastien Montagne for the hint.
2013-06-18 19:09:49 +00:00
Jürgen Herrmann
f2abb213d2
Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h
2013-06-18 18:42:29 +00:00
Campbell Barton
447e9a4cd5
add option to enable auto-execute scripts, but exclude certain directories.
2013-06-18 18:11:52 +00:00
Brecht Van Lommel
649dd6f648
Fix cycles crash on some processors. We actually need S-SSE3 support for this
...
new BVH traversal code, not just SSE3.
2013-06-18 16:52:02 +00:00
Campbell Barton
e6c54c26ae
use booleans for operator check functions.
2013-06-18 15:30:51 +00:00
Brecht Van Lommel
484d765bd4
Cycles: attempt to fix internal compile error with some visual studio builds
2013-06-18 13:19:16 +00:00
Jürgen Herrmann
5fc1d9205a
Cycles BVH Build fix for MSVC 2012.
...
needs to include intrin.h for _BitScanForward and _BitScanReverse.
2013-06-18 12:32:43 +00:00
Jürgen Herrmann
836b91c9c7
Scons and BuildBot changes for MSVC 2012 support.
...
Thanks Brecht and Thomas for reviewing ;)
2013-06-18 11:55:32 +00:00
Sergey Sharybin
c88ea1c4f8
Made blender compilable with strict flags.
2013-06-18 10:09:45 +00:00
Thomas Dinges
c194cdaedf
Cycles / BVH:
...
* GCC needs -mssse3 compile flag too (4.7.2) to compile.
2013-06-18 10:05:47 +00:00
Brecht Van Lommel
d57c6748c4
Cycles: optimization for BVH traveral on CPU's with SSE3, using code from Embree.
...
On the BMW scene, this gives roughly a 10% speedup overall with clang/gcc, and 30%
speedup with visual studio (2008). It turns out visual studio was optimizing the
existing code quite poorly compared to pretty good autovectorization by clang/gcc,
but hand written SSE code also gives a smaller speed boost there.
This code isn't enabled when using the hair minimum width feature yet, need to
make that work with the SSE code still.
2013-06-18 09:36:06 +00:00
Brecht Van Lommel
9131adca9f
Cycles: add "Transparent Shadow" option for materials, to disable them per material.
2013-06-18 09:36:00 +00:00
Gaia Clary
943388183d
Added back left/right arrows for embossed number fields. (they where active but not drawn)
2013-06-18 09:02:13 +00:00
Campbell Barton
b0872918ea
fix [ #35771 ] "Specials" ->"Size Y" doesn't work for Cycles area lamp
2013-06-18 06:23:30 +00:00
Mitchell Stokes
1f785cc196
BGE: Fix for [ #32218 ] "logic.addScene() Not Adding Scenes in Order" reported by Josiah Lane (solarlune).
...
Adding scenes now uses a vector instead of a set to maintain order. This fix is partly based off of patch #32297 by Pavel Sadikov (sigmat).
2013-06-18 04:15:27 +00:00
Bastien Montagne
5bd5e69e98
Add back nl_NL to enabled tranlations, as we now have a (very limited) start of it.
2013-06-17 19:49:06 +00:00
Campbell Barton
6c6e8e43de
fix [ #35590 ] Connected proportional editing gives unexpected results
2013-06-17 18:57:18 +00:00
Campbell Barton
970e9123b4
cmake: remove set_lib_path macro
2013-06-17 18:15:56 +00:00
Thomas Dinges
91d7df12ee
CMake / vc2010:
...
* Remove vc2010 support from cmake.
There is some "if(MSVC10)" left in extern - ceres, but will leave that for Sergey. :)
2013-06-17 18:00:38 +00:00
Campbell Barton
03b6653618
measure distance across faces when checking for proportional distance connectivity (gives smoother results)
2013-06-17 17:25:02 +00:00
Campbell Barton
60acf217f8
fix for editmesh transform connected,
...
the distance checks could get into a feedback loop so that the result depended on the order of verts/edges.
now you can randomize vert/edge/faces and get exactly the same results.
also made some internal improvements,
- used fixed sized arrays (no need to realloc).
- use vertex tag flags rather then a visit-hash.
- remove 'tots' array that did nothing (not sure why it was added).
2013-06-17 16:55:05 +00:00
Campbell Barton
d761b91b65
reduce sqrt's calls in set_prop_dist().
2013-06-17 14:37:12 +00:00
Sergey Sharybin
544572a59b
Remove static variables from mball module
...
Moved all the static variables into a PROCESS
structure which is now passing all over to where
static variables used to be used.
There's still one static variable which is
cubetable, but it's being initialized once
and then used read-only. Maybe we'll need
to move cubetable initialization to blender
startup, but that could wait a bit for now.
For users it means BI rendered viewport
wouldn't crash when using metaballs.
--
svn merge -r57515:57516 ^/branches/soc-2013-depsgraph_mt
2013-06-17 11:18:29 +00:00
Bastien Montagne
2091eca962
Usual UI messages style edits...
2013-06-17 10:01:35 +00:00
Mitchell Stokes
2a1d58c14d
BGE: Fixing the python profiling information so that bge.logic.getProfileInfo() returns information even if Show Framerate and Profile is not enabled.
2013-06-17 06:40:39 +00:00
Campbell Barton
c749301a3b
patch [ #35765 ] Improve performance during select object in viewport. Up to 3x speedup.
...
from Alex Babahin (tamerlan311)
replace goto's with static functions.
2013-06-17 06:17:19 +00:00
Nathan Letwory
9dd639f169
Only printing errors.
...
(No news is good news).
2013-06-16 20:36:34 +00:00
Nathan Letwory
f351bcca17
Since upgrade to SCons 2.3.0 a small change is needed to ensure 32bit is targeted properly when
...
building 32bit Blender with 64bit compiler installed as well (MSVC).
2013-06-16 20:34:29 +00:00
Bastien Montagne
8e5cd99e0b
Fix for building Blender with OSL, and no OpenEXR headers in standard paths (like /usr/include/OpenEXR).
...
As OSL headers mix #include <OpenEXR/foo.h> and #include <foo.h>, we need both /path/to/openexr/include and /path/to/openexr/include/OpenEXR include paths... :/
Issue investigated by doug65536 on IRC, thanks.
2013-06-16 18:59:50 +00:00