8 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

8 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.

8 years 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)] 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).

8 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.

8 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.

8 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.

8 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 ;) ).

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

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

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

8 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) 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

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

8 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!

8 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

8 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.

8 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

8 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.

8 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.

8 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

8 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

8 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)

8 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

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

8 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

8 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.

8 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 ;)

8 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.

8 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.

8 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.

8 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.

8 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)

8 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

8 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).

8 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.

8 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

8 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

8 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. :)

8 years agomeasure distance across faces when checking for proportional distance connectivity...
Campbell Barton [Mon, 17 Jun 2013 17:25:02 +0000 (17:25 +0000)]
measure distance across faces when checking for proportional distance connectivity (gives smoother results)

8 years agofix for editmesh transform connected,
Campbell Barton [Mon, 17 Jun 2013 16:55:05 +0000 (16:55 +0000)]
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).

8 years agoreduce sqrt's calls in set_prop_dist().
Campbell Barton [Mon, 17 Jun 2013 14:37:12 +0000 (14:37 +0000)]
reduce sqrt's calls in set_prop_dist().

8 years agoRemove static variables from mball module
Sergey Sharybin [Mon, 17 Jun 2013 11:18:29 +0000 (11:18 +0000)]
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

8 years agoUsual UI messages style edits...
Bastien Montagne [Mon, 17 Jun 2013 10:01:35 +0000 (10:01 +0000)]
Usual UI messages style edits...

8 years agoBGE: Fixing the python profiling information so that bge.logic.getProfileInfo() retur...
Mitchell Stokes [Mon, 17 Jun 2013 06:40:39 +0000 (06:40 +0000)]
BGE: Fixing the python profiling information so that bge.logic.getProfileInfo() returns information even if Show Framerate and Profile is not enabled.

8 years agopatch [#35765] Improve performance during select object in viewport. Up to 3x speedup.
Campbell Barton [Mon, 17 Jun 2013 06:17:19 +0000 (06:17 +0000)]
patch [#35765] Improve performance during select object in viewport. Up to 3x speedup.
from Alex Babahin (tamerlan311)

replace goto's with static functions.

8 years agoOnly printing errors.
Nathan Letwory [Sun, 16 Jun 2013 20:36:34 +0000 (20:36 +0000)]
Only printing errors.

(No news is good news).

8 years agoSince upgrade to SCons 2.3.0 a small change is needed to ensure 32bit is targeted...
Nathan Letwory [Sun, 16 Jun 2013 20:34:29 +0000 (20:34 +0000)]
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).

8 years agoFix for building Blender with OSL, and no OpenEXR headers in standard paths (like...
Bastien Montagne [Sun, 16 Jun 2013 18:59:50 +0000 (18:59 +0000)]
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.

8 years agoAttempt to fix #35548:
Antony Riakiotakis [Sun, 16 Jun 2013 17:07:07 +0000 (17:07 +0000)]
Attempt to fix #35548:

Use nearest edge instead of nearest vertex for UV island selection, or
you may get a far away UV island that happens to have a vertex nearby.

8 years agoImproved layout of Vertex Weights panel, added option to change active vgroup
Gaia Clary [Sun, 16 Jun 2013 15:44:17 +0000 (15:44 +0000)]
Improved layout of Vertex Weights panel, added option to change active vgroup

8 years agoFix for the DensityF0D function not working as expected when the Z pass was not avail...
Tamito Kajiyama [Sun, 16 Jun 2013 15:08:25 +0000 (15:08 +0000)]
Fix for the DensityF0D function not working as expected when the Z pass was not available.

8 years agoFix #35774 Confusing Text in Texture Paint Panel
Antony Riakiotakis [Sun, 16 Jun 2013 14:54:14 +0000 (14:54 +0000)]
Fix #35774 Confusing Text in Texture Paint Panel

A simple copy-paste error.

8 years agoVertex weights: Added delete weight from vertex group
Gaia Clary [Sun, 16 Jun 2013 14:41:07 +0000 (14:41 +0000)]
Vertex weights: Added delete weight from vertex group

8 years agorename world_to_camera -> world_to_camera_view
Campbell Barton [Sun, 16 Jun 2013 14:35:15 +0000 (14:35 +0000)]
rename world_to_camera -> world_to_camera_view

8 years agouse layout engine for vertex weights panel.
Campbell Barton [Sun, 16 Jun 2013 13:30:37 +0000 (13:30 +0000)]
use layout engine for vertex weights panel.

8 years agoComplete fix for [#35769] The “show texture in texture tab” button in a modifier...
Bastien Montagne [Sun, 16 Jun 2013 13:13:42 +0000 (13:13 +0000)]
Complete fix for [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (and better fix for [#35741] Material shows WORLD texture_context by default).

Simply recompute texture context on every redraw, like already done for sbuts->texuser (also called texture context :/ ).

Also allows simplification, buttons_check_texture_context can be merged back into set_texture_context...

8 years agoNew icon: CAMERA_STEREO
Dalai Felinto [Sun, 16 Jun 2013 11:14:07 +0000 (11:14 +0000)]

Adding only the .svg file, the PNG can make once the multiview branch is merged.
I wanted to commit this to avoid having conflicts in the .svg file if
someone works on new icons too.

The new icon is at X-23

8 years agoFix [#35741] Material shows WORLD texture_context by default.
Bastien Montagne [Sun, 16 Jun 2013 09:44:17 +0000 (09:44 +0000)]
Fix [#35741] Material shows WORLD texture_context by default.

Now also check previous button context, when switching. This way, if the previous one was a texture one, and become valid after the last switch (e.g. a material added to a new object), relevant texture context can still be set.

Note this commit also partially fixes [#35769] The “show texture in texture tab” button in a modifier does not show up until the user manually shows the texture in the Texture tab (full fix of this one will probably implies to always have a valid ButsContextTexture [sbuts->texuser]...).

8 years agoreplace strcat with BLI_strcpy_rlen in draw_selected_name(), view3d function.
Campbell Barton [Sun, 16 Jun 2013 09:14:24 +0000 (09:14 +0000)]
replace strcat with BLI_strcpy_rlen in draw_selected_name(), view3d function.
also fix for incorrect flag checking for shape key pin.

8 years agoadd BLI_strcpy_rlen, replace strcat, which was used in misleading way.
Campbell Barton [Sun, 16 Jun 2013 08:29:02 +0000 (08:29 +0000)]
add BLI_strcpy_rlen, replace strcat, which was used in misleading way.

8 years agoresolve [#33374] Extrude and mirror editing
Campbell Barton [Sun, 16 Jun 2013 05:35:44 +0000 (05:35 +0000)]
resolve [#33374] Extrude and mirror editing

mirror editing option was only added to extrude so mirror editing would always be disabled.
the option is now hidden to avoid confusing users.

8 years agofix automerge + mirror, previously only the selected verts would auto-merge.
Campbell Barton [Sun, 16 Jun 2013 05:13:12 +0000 (05:13 +0000)]
fix automerge + mirror, previously only the selected verts would auto-merge.

8 years agoreduce property lookups on transform init.
Campbell Barton [Sun, 16 Jun 2013 04:37:39 +0000 (04:37 +0000)]
reduce property lookups on transform init.

8 years agowhen setting the subframe for large frames (250,000+) the precision was very poor.
Campbell Barton [Sun, 16 Jun 2013 04:06:38 +0000 (04:06 +0000)]
when setting the subframe for large frames (250,000+) the precision was very poor.
now use double precision when combining the frame+subframe.

8 years agodon't show the 3d view transform panel when theres no active object.
Campbell Barton [Sun, 16 Jun 2013 03:31:15 +0000 (03:31 +0000)]
don't show the 3d view transform panel when theres no active object.

8 years agoFixed the feature edge selection by Freestyle face marks to properly account for...
Tamito Kajiyama [Sun, 16 Jun 2013 00:15:05 +0000 (00:15 +0000)]
Fixed the feature edge selection by Freestyle face marks to properly account for border edges.

8 years agoFix for Freestyle face marks incorrectly reset when feature edges are split at 2D...
Tamito Kajiyama [Sun, 16 Jun 2013 00:14:28 +0000 (00:14 +0000)]
Fix for Freestyle face marks incorrectly reset when feature edges are split at 2D intersections.
Problem report by an anonymous forum user with a .blend file for reproducing the bug, thanks!

8 years agoSet up OurSpawn for MinGW compile environment on Windows.
Nathan Letwory [Sat, 15 Jun 2013 21:20:06 +0000 (21:20 +0000)]
Set up OurSpawn for MinGW compile environment on Windows.

8 years agoFix [#35728] "Load Factory Settings" changes temp fonder to "/temp/\"
Nathan Letwory [Sat, 15 Jun 2013 20:12:16 +0000 (20:12 +0000)]
Fix [#35728] "Load Factory Settings" changes temp fonder to "/temp/\"

This was actually being reset to "/tmp\".

Initialisation for the temp dir was missing after the userpref reload.

8 years agoBug fix #35749
Ton Roosendaal [Sat, 15 Jun 2013 15:39:20 +0000 (15:39 +0000)]
Bug fix #35749

Image Editor: "Replace Image" operator didn't refresh icon for image.

8 years agoBugfix #35747
Ton Roosendaal [Sat, 15 Jun 2013 15:10:21 +0000 (15:10 +0000)]
Bugfix #35747

Lasso select could crash if there was an Armature in PoseMode somewhere.
Issue also in previous release(s).

8 years agoFix #35768: crash in with "free image textures" option and 3D viewport with textured
Brecht Van Lommel [Sat, 15 Jun 2013 14:01:16 +0000 (14:01 +0000)]
Fix #35768: crash in with "free image textures" option and 3D viewport with textured
draw mode open. OpenGL texture free needs to happen in the main thread, but it was
freeing a copy of the image datablock. I can't understand how this code ever worked,
probably it never did.