blender.git
7 years agoMerged revision(s) 57587-57670 from trunk/blender into soc-2013-dingto
Thomas Dinges [Sun, 23 Jun 2013 18:04:13 +0000 (18:04 +0000)]
Merged revision(s) 57587-57670 from trunk/blender into soc-2013-dingto

7 years agoCycles / Vector Transform Node:
Thomas Dinges [Sun, 23 Jun 2013 17:51:08 +0000 (17:51 +0000)]
Cycles / Vector Transform Node:
* Implementation of Vector Transform Node into Cycles.
* OSL backend is done, SVM needs the matrices still.

7 years agoClarify tooltip for Weight paint tool
Gaia Clary [Sun, 23 Jun 2013 17:27:50 +0000 (17:27 +0000)]
Clarify tooltip for Weight paint tool

7 years agoadd missing notifiers for mask tools, some wouldn't refresh the compositor.
Campbell Barton [Sun, 23 Jun 2013 15:48:00 +0000 (15:48 +0000)]
add missing notifiers for mask tools, some wouldn't refresh the compositor.

7 years agoAdded polished Vertex Weights Panel (properties sidebar)
Gaia Clary [Sun, 23 Jun 2013 15:37:08 +0000 (15:37 +0000)]
Added polished Vertex Weights Panel (properties sidebar)

7 years agomask menus were missing from the image editor.
Campbell Barton [Sun, 23 Jun 2013 15:12:26 +0000 (15:12 +0000)]
mask menus were missing from the image editor.

7 years agotweak comparisons for connect pair in rare case the value == CONNECT_EPS.
Campbell Barton [Sun, 23 Jun 2013 15:00:12 +0000 (15:00 +0000)]
tweak comparisons for connect pair in rare case the value == CONNECT_EPS.

7 years agoWorkaround visual studio 2012 compiler bug compiling large RNA_blender_cpp.h, removed
Brecht Van Lommel [Sun, 23 Jun 2013 13:59:06 +0000 (13:59 +0000)]
Workaround visual studio 2012 compiler bug compiling large RNA_blender_cpp.h, removed
the comments/descriptions for now to make it smaller. Maybe eventual solution would be
to split this up but for now it's not a public API yet anyway.

7 years agoFix #35848: render crash in background mode due to missing G.main.
Brecht Van Lommel [Sun, 23 Jun 2013 13:58:59 +0000 (13:58 +0000)]
Fix #35848: render crash in background mode due to missing G.main.

7 years agoSwitch buildbot to use OpenEXR-2.0
Sergey Sharybin [Sun, 23 Jun 2013 11:31:54 +0000 (11:31 +0000)]
Switch buildbot to use OpenEXR-2.0

7 years agofix for connect_pair cutting across triangle verts from edges.
Campbell Barton [Sun, 23 Jun 2013 09:50:10 +0000 (09:50 +0000)]
fix for connect_pair cutting across triangle verts from edges.

7 years agoremove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()
Campbell Barton [Sat, 22 Jun 2013 23:58:52 +0000 (23:58 +0000)]
remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()

7 years agoadd strict conversion flags for mask_rasterize and reduce some signed/unsigned compar...
Campbell Barton [Sat, 22 Jun 2013 23:37:45 +0000 (23:37 +0000)]
add strict conversion flags for mask_rasterize and reduce some signed/unsigned comparisons.

7 years agoMake edgehash and ghash use the same limit for expanding buckets, r26206 changed...
Campbell Barton [Sat, 22 Jun 2013 22:30:56 +0000 (22:30 +0000)]
Make edgehash and ghash use the same limit for expanding buckets, r26206 changed ghash.
double checked and r26206 does indeed give a speedup, so change for edgehash too.

7 years agoreduce sign conversion comparisons for smallhash and tweak warnings elsewhere.
Campbell Barton [Sat, 22 Jun 2013 20:20:06 +0000 (20:20 +0000)]
reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.

7 years agobuild fix for old gccs (after rev.57620)
Dalai Felinto [Sat, 22 Jun 2013 20:00:17 +0000 (20:00 +0000)]
build fix for old gccs (after rev.57620)
enabling the new pragmas only when gcc >= 4.6
gcc 4.2.1 here (OSX)

7 years agocomment the icon file from the theme buttons since its not working.
Campbell Barton [Sat, 22 Jun 2013 18:08:58 +0000 (18:08 +0000)]
comment the icon file from the theme buttons since its not working.

7 years agoExtend existing editmesh connect tool so it can connect across multiple faces.
Campbell Barton [Sat, 22 Jun 2013 17:25:02 +0000 (17:25 +0000)]
Extend existing editmesh connect tool so it can connect across multiple faces.
only use this when 2 vertices are selected, otherwise use the same behavior as before.

This works a little like a fast knife tool, but it only cuts straight lines and doesnt depend on the view-port.

Examples:
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair.png
- http://www.graphicall.org/ftp/ideasman42/mesh_connect_pair_curve.png

7 years agoCycles: ensure any SSE data is allocated 16 byte aligned, happens automatically
Brecht Van Lommel [Sat, 22 Jun 2013 14:35:09 +0000 (14:35 +0000)]
Cycles: ensure any SSE data is allocated 16 byte aligned, happens automatically
on many platforms but is not assured everywhere.

7 years agoCycles OSL: don't set optimize=2 option in OSL shading system, this is already
Brecht Van Lommel [Sat, 22 Jun 2013 12:52:15 +0000 (12:52 +0000)]
Cycles OSL: don't set optimize=2 option in OSL shading system, this is already
the default, and by not setting it the user can override it with an environmnet
variable, for example:

export OSL_OPTIONS="optimize=0"

7 years agostyle cleanup
Campbell Barton [Sat, 22 Jun 2013 10:59:30 +0000 (10:59 +0000)]
style cleanup

7 years agoMinor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
Inês Almeida [Sat, 22 Jun 2013 09:04:33 +0000 (09:04 +0000)]
Minor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
Removed a function call with no effect and merged two other lines for legibility.
This commit was reviewed by Moguri.

7 years agoBGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto...
Dalai Felinto [Sat, 22 Jun 2013 08:04:02 +0000 (08:04 +0000)]
BGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto (kanttori)
Later I will try to find when this bug was introduced. But it's definitively broken in trunk.

7 years agoBGE: Fix for [#35815] "makeScreenshot() relative path not working in Blenderplayer...
Mitchell Stokes [Sat, 22 Jun 2013 05:27:28 +0000 (05:27 +0000)]
BGE: Fix for [#35815] "makeScreenshot() relative path not working in Blenderplayer" reported by HG1.

Someone forgot to add relative path expansion (BLI_path_abs) to the Blenderplayer...

7 years agoFix #35812: cycles image texture node not doing proper alpha handling of PNG
Brecht Van Lommel [Fri, 21 Jun 2013 13:05:10 +0000 (13:05 +0000)]
Fix #35812: cycles image texture node not doing proper alpha handling of PNG
images with open shading language enabled.

7 years agoCycles OpenCL: make displacement and world importance sampling work.
Brecht Van Lommel [Fri, 21 Jun 2013 13:05:08 +0000 (13:05 +0000)]
Cycles OpenCL: make displacement and world importance sampling work.

7 years agoFix #35804: NVidia OpenCL render issue after sampler changes, workaround what looks...
Brecht Van Lommel [Fri, 21 Jun 2013 12:34:34 +0000 (12:34 +0000)]
Fix #35804: NVidia OpenCL render issue after sampler changes, workaround what looks like a compiler bug.

7 years agoCode cleanup: fix some vs2012 compiler warnings
Brecht Van Lommel [Fri, 21 Jun 2013 12:33:19 +0000 (12:33 +0000)]
Code cleanup: fix some vs2012 compiler warnings

7 years agoBGE: fix [#32775] LibFree crashing
Daniel Stokes [Fri, 21 Jun 2013 06:56:43 +0000 (06:56 +0000)]
BGE: fix [#32775] LibFree crashing

Used the engine's RemoveScene (which ultimately calls the converter's RemoveScene) instead of the converter's RemoveScene when the converter free a blend file. This handles the scene removal in a safer fashion and solves the crash described in part 2 of the bug report. Part 1 no longer appears to cause a crash.

7 years agoDefault paint context will be image paint if object is not in a paint mode. It solves...
Antony Riakiotakis [Thu, 20 Jun 2013 23:20:33 +0000 (23:20 +0000)]
Default paint context will be image paint if object is not in a paint mode. It solves not being able to tweak textures in the new texture context button system if an image editor is set up for painting and active object is in object mode.

7 years agoBGE: Fix for [#33163] "Text Font Bug" reported and fixed by HG1.
Mitchell Stokes [Thu, 20 Jun 2013 22:37:55 +0000 (22:37 +0000)]
BGE: Fix for [#33163] "Text Font Bug" reported and fixed by HG1.

The embedded player was calling glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) before rendering font objects, but someone forgot to add this to the Blenderplayer.

7 years agoUpdating suse packman repo url, name and alias to go in line with what suse does...
Daniel Salazar [Thu, 20 Jun 2013 21:36:30 +0000 (21:36 +0000)]
Updating suse packman repo url, name and alias to go in line with what suse does right now. At least this should avoid duplicate packman repos on 12.3

7 years agoreduce sign comparisons for ghash and add more strict warnings for gcc.
Campbell Barton [Thu, 20 Jun 2013 19:39:29 +0000 (19:39 +0000)]
reduce sign comparisons for ghash and add more strict warnings for gcc.

7 years agoInstall_deps.sh: ask suse users whether they want to install packman or not (can...
Bastien Montagne [Thu, 20 Jun 2013 19:19:11 +0000 (19:19 +0000)]
Install_deps.sh: ask suse users whether they want to install packman or not (can be already installed/enabled from a different URL, Suse repositories management is to complex to be handled automatically at this point).

7 years agomove sort from vert/edge/face into mesh menu only (sorting isn't such a common operat...
Campbell Barton [Thu, 20 Jun 2013 19:09:18 +0000 (19:09 +0000)]
move sort from vert/edge/face into mesh menu only (sorting isn't such a common operation).
correct own recently added assert.

7 years agosupport proportional editing with x-mirror enabled.
Campbell Barton [Thu, 20 Jun 2013 18:19:42 +0000 (18:19 +0000)]
support proportional editing with x-mirror enabled.

7 years agoCycles / GPU Image Textures:
Thomas Dinges [Thu, 20 Jun 2013 15:14:14 +0000 (15:14 +0000)]
Cycles / GPU Image Textures:
* On nvidia Kepler GPUs (sm_30 and above), there are now 145 byte images available, instead of 95.
We could extend this to about 200 if needed.

Could not test this, as I don't have a Kepler GPU, so feedback on this would be appreciated.

Thanks to Brecht for review and some fixes. :)

7 years agoMove DLL copying to before actual build process.
Nathan Letwory [Thu, 20 Jun 2013 14:19:46 +0000 (14:19 +0000)]
Move DLL copying to before actual build process.

7 years agoSequencer: fix names when adding several video (or audio) files at once (all strips...
Bastien Montagne [Thu, 20 Jun 2013 13:52:58 +0000 (13:52 +0000)]
Sequencer: fix names when adding several video (or audio) files at once (all strips were getting the same, annoying ;) ).

7 years agoConstruct orco UV layer for curve when applying constructive modifier
Sergey Sharybin [Thu, 20 Jun 2013 13:27:48 +0000 (13:27 +0000)]
Construct orco UV layer for curve when applying constructive modifier
Also construct orco uv layer when converting curve to a mesh.

This makes it possible to preserve automatically generated coordinates
("use uv for mapping" option) when using constructive modifiers or
converting curve to the mesh.

With cycles nothing special is needed to preserve texture mapping
after such operations, in blender internal you'll need to change
texture mapping from Generated to UV.

This feature is useful on it's own and also would help in potential
switch 3d viewport to always use DM to draw objects, which would
help making drawing more thread-safe.

7 years agotransform: 2d option for proportional editmode,
Campbell Barton [Thu, 20 Jun 2013 13:24:07 +0000 (13:24 +0000)]
transform: 2d option for proportional editmode,
Uses for view orientation for distance calculation, can give nicer results when you dont want twisting caused by changes in depth.

7 years agoCycles: update build configurations to include CUDA sm_35 architecture. When using
Brecht Van Lommel [Thu, 20 Jun 2013 13:10:47 +0000 (13:10 +0000)]
Cycles: update build configurations to include CUDA sm_35 architecture. When using
a compiler older than CUDA 5.0 it will give a warning and skip this architecture.

7 years agoFix #35807: blender internal motion blur render without antialiasing would
Brecht Van Lommel [Thu, 20 Jun 2013 11:47:09 +0000 (11:47 +0000)]
Fix #35807: blender internal motion blur render without antialiasing would
give black speckles (self intersection errors) in raytraced shadows.

Motion blur does some extra offsets for free antialiasing in the motion blur
samples, but did not take them into account everywhere.

7 years agoFix #35439: Render Border have weird influence on compositing
Sergey Sharybin [Thu, 20 Jun 2013 11:32:08 +0000 (11:32 +0000)]
Fix #35439: Render Border have weird influence on compositing

Issue was caused by render result passing to a compositor
was having a resolution of border when using a camera border
in cases there's no Render Layer nodes.

Made it so resolution in which compositor works does not
depend on whether Render Layers present or not.

7 years agoeditmesh draw optimizations: use customdata offsets rather then per-element lookups.
Campbell Barton [Thu, 20 Jun 2013 11:18:19 +0000 (11:18 +0000)]
editmesh draw optimizations: use customdata offsets rather then per-element lookups.

7 years agoFix crash in when dding subsurf modifier to curves
Sergey Sharybin [Thu, 20 Jun 2013 11:00:35 +0000 (11:00 +0000)]
Fix crash in when dding subsurf modifier to curves

Issue was caused by svn rev57566 which didn't take into
account the fact that curves could have dm of type CCGDM
and in this case CDDM_calc_normals_mapping_ex would fail
dramatically.

Added a check around normals update call bout whether
DM is CDDM or not. The same happens in mesh's modifier
stack.

7 years agoCycles / Vector Transform Node:
Thomas Dinges [Thu, 20 Jun 2013 08:20:30 +0000 (08:20 +0000)]
Cycles / Vector Transform Node:
* First step towards a new vector transform node, to convert Points/Vectors between World/Object/Camera space.
This only contains the Blender UI, RNA... code, no Cycles integration yet.

7 years agoFix for [#35230] CPU freeze at playback after cutting/deleting/duplicating audio...
Joerg Mueller [Thu, 20 Jun 2013 07:46:40 +0000 (07:46 +0000)]
Fix for [#35230] CPU freeze at playback after cutting/deleting/duplicating audio strip

7 years agoremove NULL checks for return values from EDBM_***_at_index calls.
Campbell Barton [Thu, 20 Jun 2013 07:00:57 +0000 (07:00 +0000)]
remove NULL checks for return values from EDBM_***_at_index calls.

7 years agoBGE: fix [#35447] LibLoad Meshes and Scenes causes crash of blender
Daniel Stokes [Thu, 20 Jun 2013 06:17:28 +0000 (06:17 +0000)]
BGE: fix [#35447] LibLoad Meshes and Scenes causes crash of blender

KX_BlenderSceneConverter's destructor freed the contents of several std::vectors without removing those contents from the vectors. Later these vectors are iterated through. Making sure the vectors get cleared solves this problem.

7 years agoBGE: Fix for [#34781] "bge.texture.ImageRender does not show Font object" reported...
Mitchell Stokes [Thu, 20 Jun 2013 03:50:02 +0000 (03:50 +0000)]
BGE: Fix for [#34781] "bge.texture.ImageRender does not show Font object" reported by Monster.

This fix is mostly based off of HG1's patch from the bug report, which had ImageRender::Render() call KX_KetsjiEngine::RenderFonts(). However, I have moved RenderFonts() from KX_KetsjiEngine to KX_Scene where all of the other font and rendering functions are. The real fix for this mess would be to not have ImageRender::Render() have so much duplicate code from KX_KetsjiEngine::Render(), but that's a code cleanup problem for another day.

7 years agoBGE: Fix for [#35479] "OSKEY (Command Key on Mac) not working" reported by Mike Pan...
Mitchell Stokes [Thu, 20 Jun 2013 03:22:55 +0000 (03:22 +0000)]
BGE: Fix for [#35479] "OSKEY (Command Key on Mac) not working" reported by Mike Pan (mpan3).

The OSKEY was never added to the game engine, so it didn't recognize it.

7 years agoSnap to Symmetry (editmesh tool)
Campbell Barton [Wed, 19 Jun 2013 21:35:06 +0000 (21:35 +0000)]
Snap to Symmetry (editmesh tool)

Update from a script I had in 2.4x, useful if you have mesh data which is _almost_ symmetrical,
there was no good way to automatically make the minor adjustments to make the mesh fully symmetrical.

Options for...
- symmetry-axis.
- blending between the +/- side.
- center mid verts.

Access from Mesh menu.

7 years agoadd axis option to EDBM_verts_mirror_cache_begin
Campbell Barton [Wed, 19 Jun 2013 21:23:00 +0000 (21:23 +0000)]
add axis option to EDBM_verts_mirror_cache_begin

7 years agoBKE_bmbvh_find_vert_closest: very stupid & old bug, it was comparing hit locations...
Campbell Barton [Wed, 19 Jun 2013 20:43:38 +0000 (20:43 +0000)]
BKE_bmbvh_find_vert_closest: very stupid & old bug, it was comparing hit locations incorrectly so that only the first hit was valid.
This isn't noticeable for small distances, otherwise it gives bad results.

7 years agoMerged revision(s) 57499-57586 from trunk/blender into soc-2013-dingto
Thomas Dinges [Wed, 19 Jun 2013 20:40:54 +0000 (20:40 +0000)]
Merged revision(s) 57499-57586 from trunk/blender into soc-2013-dingto

7 years agocorrect editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be squared.
Campbell Barton [Wed, 19 Jun 2013 20:11:28 +0000 (20:11 +0000)]
correct editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be squared.

7 years agocorrect for own regressions when refactoring select-path, was using heap popmin incor...
Campbell Barton [Wed, 19 Jun 2013 19:59:49 +0000 (19:59 +0000)]
correct for own regressions when refactoring select-path, was using heap popmin incorrectly.

7 years agoThis commit tackles the "context" buttons in Properties header, which were still...
Bastien Montagne [Wed, 19 Jun 2013 19:37:17 +0000 (19:37 +0000)]
This commit tackles the "context" buttons in Properties header, which were still using "ugly" old UI code.

It removes buttons_header.c file, adds a (small) space_properties.py one, with a PROPERTIES_HT_header class, which simply uses the RNA enum to draw the context buttons.
It also fixes that enum, btw, it always featured all contexts, which means you could (try to!) set through RNA invalid contexts...

Thanks to brecht and dingto for the reviews.

7 years agoRemove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts...
Campbell Barton [Wed, 19 Jun 2013 18:59:54 +0000 (18:59 +0000)]
Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts instead).
temp set BM_OMP_LIMIT to zero for better testing before release.

7 years agointernal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which...
Campbell Barton [Wed, 19 Jun 2013 18:22:00 +0000 (18:22 +0000)]
internal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which takes arguments to give some more control.

7 years agoCycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all the
Brecht Van Lommel [Wed, 19 Jun 2013 17:54:26 +0000 (17:54 +0000)]
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.

7 years agoCycles: prepare to make CUDA 5.0 the official version we use
Brecht Van Lommel [Wed, 19 Jun 2013 17:54:23 +0000 (17:54 +0000)]
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.

7 years agoFix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:
Jürgen Herrmann [Wed, 19 Jun 2013 17:17:51 +0000 (17:17 +0000)]
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.

7 years agoUsability:
Ton Roosendaal [Wed, 19 Jun 2013 15:20:50 +0000 (15:20 +0000)]
Usability:

For users without middle-mouse buttons, they can now use Circle and Border
deselect by holding SHIFT. Middle mouse still works too.

7 years agoFix for expanded enums with icon_only enabled, name of each item was still used to...
Bastien Montagne [Wed, 19 Jun 2013 15:08:07 +0000 (15:08 +0000)]
Fix for expanded enums with icon_only enabled, name of each item was still used to compute its button's size!

7 years agofix own regression with normal recalculation updates
Campbell Barton [Wed, 19 Jun 2013 15:05:02 +0000 (15:05 +0000)]
fix own regression with normal recalculation updates

7 years agoui precision drawing - avoid calling pow(10, -prec) since the range is small use...
Campbell Barton [Wed, 19 Jun 2013 14:08:27 +0000 (14:08 +0000)]
ui precision drawing - avoid calling pow(10, -prec) since the range is small use a fixed array.

7 years agoTake precision into account for calculating display of small numbers
Gaia Clary [Wed, 19 Jun 2013 12:16:50 +0000 (12:16 +0000)]
Take precision into account for calculating display of small numbers

7 years agofix for filesel autocomplete, it had the annoying behavior if you entered in a non...
Campbell Barton [Wed, 19 Jun 2013 11:53:48 +0000 (11:53 +0000)]
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.

7 years agodont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.
Campbell Barton [Wed, 19 Jun 2013 11:26:11 +0000 (11:26 +0000)]
dont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.

7 years agoFix #35773: Drag-to-Open failed in Movie Clip Editor
Sergey Sharybin [Wed, 19 Jun 2013 08:45:02 +0000 (08:45 +0000)]
Fix #35773: Drag-to-Open failed in Movie Clip Editor

7 years agoFollowup to svn rev57551
Sergey Sharybin [Wed, 19 Jun 2013 08:40:18 +0000 (08:40 +0000)]
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.

7 years agofix [#35795] Edge split modifier do not show result in viewport with curves.
Campbell Barton [Wed, 19 Jun 2013 08:19:36 +0000 (08:19 +0000)]
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)

7 years agomove modifier callback wrappers into modifier.c
Campbell Barton [Wed, 19 Jun 2013 08:00:20 +0000 (08:00 +0000)]
move modifier callback wrappers into modifier.c

7 years agofix [#35793] Crash When Painting Gradient Weight
Campbell Barton [Wed, 19 Jun 2013 07:45:36 +0000 (07:45 +0000)]
fix [#35793] Crash When Painting Gradient Weight

7 years agoalternate fix for r57562. check if the mouse is over the parent menu.
Campbell Barton [Wed, 19 Jun 2013 06:31:37 +0000 (06:31 +0000)]
alternate fix for r57562. check if the mouse is over the parent menu.

7 years agofix [#35792] Submenus not opening properly on mouse move
Campbell Barton [Wed, 19 Jun 2013 06:01:38 +0000 (06:01 +0000)]
fix [#35792] Submenus not opening properly on mouse move
caused by own fix for [#35346], now only apply wiggle room for toplevel menus.

7 years agoreport exceptions when enabling and disabling modules in blenders interface.
Campbell Barton [Wed, 19 Jun 2013 05:17:31 +0000 (05:17 +0000)]
report exceptions when enabling and disabling modules in blenders interface.
so if pressing the addon checkbox fails it tells why rather then failing silently.

7 years agoCycles / UI:
Thomas Dinges [Tue, 18 Jun 2013 22:34:37 +0000 (22:34 +0000)]
Cycles / UI:
* Some tweaks to the material "Settings" panel.

7 years agoVS 2012 x86 SCons update.
Jürgen Herrmann [Tue, 18 Jun 2013 20:11:58 +0000 (20:11 +0000)]
VS 2012 x86 SCons update.

7 years agoFix for own mistake in r57555 :-(
Jürgen Herrmann [Tue, 18 Jun 2013 19:09:49 +0000 (19:09 +0000)]
Fix for own mistake in r57555 :-(
Add include to autoexec.c instead of BLI_path_util.h

Thanks Bastien Montagne for the hint.

7 years agoCompile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h
Jürgen Herrmann [Tue, 18 Jun 2013 18:42:29 +0000 (18:42 +0000)]
Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h

7 years agoadd option to enable auto-execute scripts, but exclude certain directories.
Campbell Barton [Tue, 18 Jun 2013 18:11:52 +0000 (18:11 +0000)]
add option to enable auto-execute scripts, but exclude certain directories.

7 years agoFix cycles crash on some processors. We actually need S-SSE3 support for this
Brecht Van Lommel [Tue, 18 Jun 2013 16:52:02 +0000 (16:52 +0000)]
Fix cycles crash on some processors. We actually need S-SSE3 support for this
new BVH traversal code, not just SSE3.

7 years agouse booleans for operator check functions.
Campbell Barton [Tue, 18 Jun 2013 15:30:51 +0000 (15:30 +0000)]
use booleans for operator check functions.

7 years agoCycles: attempt to fix internal compile error with some visual studio builds
Brecht Van Lommel [Tue, 18 Jun 2013 13:19:16 +0000 (13:19 +0000)]
Cycles: attempt to fix internal compile error with some visual studio builds

7 years agoCycles BVH Build fix for MSVC 2012.
Jürgen Herrmann [Tue, 18 Jun 2013 12:32:43 +0000 (12:32 +0000)]
Cycles BVH Build fix for MSVC 2012.
needs to include intrin.h for _BitScanForward and _BitScanReverse.

7 years agoScons and BuildBot changes for MSVC 2012 support.
Jürgen Herrmann [Tue, 18 Jun 2013 11:55:32 +0000 (11:55 +0000)]
Scons and BuildBot changes for MSVC 2012 support.

Thanks Brecht and Thomas for reviewing ;)

7 years agoMade blender compilable with strict flags.
Sergey Sharybin [Tue, 18 Jun 2013 10:09:45 +0000 (10:09 +0000)]
Made blender compilable with strict flags.

7 years agoCycles / BVH:
Thomas Dinges [Tue, 18 Jun 2013 10:05:47 +0000 (10:05 +0000)]
Cycles / BVH:
* GCC needs -mssse3 compile flag too (4.7.2) to compile.

7 years agoCycles: optimization for BVH traveral on CPU's with SSE3, using code from Embree.
Brecht Van Lommel [Tue, 18 Jun 2013 09:36:06 +0000 (09:36 +0000)]
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.

7 years agoCycles: add "Transparent Shadow" option for materials, to disable them per material.
Brecht Van Lommel [Tue, 18 Jun 2013 09:36:00 +0000 (09:36 +0000)]
Cycles: add "Transparent Shadow" option for materials, to disable them per material.

7 years agoAdded back left/right arrows for embossed number fields. (they where active but not...
Gaia Clary [Tue, 18 Jun 2013 09:02:13 +0000 (09:02 +0000)]
Added back left/right arrows for embossed number fields. (they where active but not drawn)

7 years agofix [#35771] "Specials" ->"Size Y" doesn't work for Cycles area lamp
Campbell Barton [Tue, 18 Jun 2013 06:23:30 +0000 (06:23 +0000)]
fix [#35771] "Specials" ->"Size Y" doesn't work for Cycles area lamp

7 years agoBGE: Fix for [#32218] "logic.addScene() Not Adding Scenes in Order" reported by Josia...
Mitchell Stokes [Tue, 18 Jun 2013 04:15:27 +0000 (04:15 +0000)]
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).

7 years agoAdd back nl_NL to enabled tranlations, as we now have a (very limited) start of it.
Bastien Montagne [Mon, 17 Jun 2013 19:49:06 +0000 (19:49 +0000)]
Add back nl_NL to enabled tranlations, as we now have a (very limited) start of it.

7 years agofix [#35590] Connected proportional editing gives unexpected results
Campbell Barton [Mon, 17 Jun 2013 18:57:18 +0000 (18:57 +0000)]
fix [#35590] Connected proportional editing gives unexpected results

7 years agocmake: remove set_lib_path macro
Campbell Barton [Mon, 17 Jun 2013 18:15:56 +0000 (18:15 +0000)]
cmake: remove set_lib_path macro

7 years agoCMake / vc2010:
Thomas Dinges [Mon, 17 Jun 2013 18:00:38 +0000 (18:00 +0000)]
CMake / vc2010:
* Remove vc2010 support from cmake.

There is some "if(MSVC10)" left in extern - ceres, but will leave that for Sergey. :)