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.

8 years agoBuildbot: use relative path for redistributable dlls on windows.
Brecht Van Lommel [Sat, 15 Jun 2013 14:01:12 +0000 (14:01 +0000)]
Buildbot: use relative path for redistributable dlls on windows.

8 years agoshow dissolve edge/vert/face in the delete menu, irrespective of the current mode.
Campbell Barton [Sat, 15 Jun 2013 13:33:28 +0000 (13:33 +0000)]
show dissolve edge/vert/face in the delete menu, irrespective of the current mode.

8 years agoAdded Missing check if active object is visible
Gaia Clary [Sat, 15 Jun 2013 12:57:46 +0000 (12:57 +0000)]
Added Missing check if active object is visible

8 years agomake active vertex more apparent in weight paint mode
Gaia Clary [Sat, 15 Jun 2013 12:11:38 +0000 (12:11 +0000)]
make active vertex more apparent in weight paint mode

8 years agodisplay active vertex in weight paint mode. also correct NULL free.
Campbell Barton [Sat, 15 Jun 2013 11:02:36 +0000 (11:02 +0000)]
display active vertex in weight paint mode. also correct NULL free.

8 years agoAdded support for Vertex Weight panel in weight Paint Mode
Gaia Clary [Sat, 15 Jun 2013 10:18:16 +0000 (10:18 +0000)]
Added support for Vertex Weight panel in weight Paint Mode

8 years agoBuildbot: use 1 thread for windows builds.
Brecht Van Lommel [Sat, 15 Jun 2013 10:16:01 +0000 (10:16 +0000)]
Buildbot: use 1 thread for windows builds.

8 years agoremoved unnecessary return statement
Gaia Clary [Sat, 15 Jun 2013 09:53:59 +0000 (09:53 +0000)]
removed unnecessary return statement

8 years agoadded basic utility functions for working with mselect (selected mesh elements)
Gaia Clary [Sat, 15 Jun 2013 09:42:58 +0000 (09:42 +0000)]
added basic utility functions for working with mselect (selected mesh elements)

8 years agofix for recent changes in solidify, normals were OK but customdata for loops wasnt.
Campbell Barton [Sat, 15 Jun 2013 08:59:54 +0000 (08:59 +0000)]
fix for recent changes in solidify, normals were OK but customdata for loops wasnt.

8 years agoAdd USE_PYTHON=OFF and USE_OCIO=OFF to OIIO compilation (we do not need either of...
Bastien Montagne [Sat, 15 Jun 2013 08:56:04 +0000 (08:56 +0000)]
Add USE_PYTHON=OFF and USE_OCIO=OFF to OIIO compilation (we do not need either of those).

8 years agoAdded a 'move' function to node tree socket api (similar to node.inputs/outputs.move...
Lukas Toenne [Sat, 15 Jun 2013 07:06:09 +0000 (07:06 +0000)]
Added a 'move' function to node tree socket api (similar to node.inputs/outputs.move). This allows moving sockets in a node group interface from python without breaking external links.

8 years agocode cleanup: remove checks for (select == LEFTMOUSE), this happened to work because...
Campbell Barton [Sat, 15 Jun 2013 06:03:15 +0000 (06:03 +0000)]
code cleanup: remove checks for (select == LEFTMOUSE), this happened to work because its defined at 1, but confusingly checks against RIGHTMOUSE fail.

8 years agoFix for splitting at material boundaries not correctly working with border lines.
Tamito Kajiyama [Fri, 14 Jun 2013 20:43:54 +0000 (20:43 +0000)]
Fix for splitting at material boundaries not correctly working with border lines.

Problem report by Charblaze in the Freestyle thread, thanks!

8 years agofix for own error in recent solitify refactor (r57402), face flip check was incorrect.
Campbell Barton [Fri, 14 Jun 2013 16:10:32 +0000 (16:10 +0000)]
fix for own error in recent solitify refactor (r57402), face flip check was incorrect.

8 years agoCode cleanup: removed unused B_BUTSPREVIEW event, and moved back rna_SpaceProperties_...
Bastien Montagne [Fri, 14 Jun 2013 15:48:03 +0000 (15:48 +0000)]
Code cleanup: removed unused B_BUTSPREVIEW event, and moved back rna_SpaceProperties_texture_context_itemf() together with its fellow functions.

8 years agofix [#35694] Lattice; Display Type: "Bounds" not working
Campbell Barton [Fri, 14 Jun 2013 15:11:28 +0000 (15:11 +0000)]
fix [#35694] Lattice; Display Type: "Bounds" not working

8 years agofix for building c++ rna api with recently added smoothgroup api call.
Campbell Barton [Fri, 14 Jun 2013 14:57:35 +0000 (14:57 +0000)]
fix for building c++ rna api with recently added smoothgroup api call.

8 years agoCycles:
Thomas Dinges [Fri, 14 Jun 2013 14:29:00 +0000 (14:29 +0000)]
* Style cleanup for M_PI constants.
* Move Wireframe node into __EXTRA_NODES__ define

8 years agoFix for
Jeroen Bakker [Fri, 14 Jun 2013 13:56:00 +0000 (13:56 +0000)]
Fix for
 * [#35724] Backdrop zoom can be set to a very small value, making the backdrop disapear.

There were checks in the drawnode that needed to be placed in the readfile.
The checks checked if the zoomlevel was 0.0, then it was defaulted to 1.0, but the zoomvalue had a minimum limit of 0.01, hence it did not work.
Moved the check to the readfile and checked for all values smaller then 0.02. These values are then reset to 1.0

Jeroen & Monique
 - At Mind -

8 years agoexpose smooth group calculation to python as Mesh.calc_smooth_groups()
Campbell Barton [Fri, 14 Jun 2013 09:59:09 +0000 (09:59 +0000)]
expose smooth group calculation to python as Mesh.calc_smooth_groups()

8 years agoAdded a read-only dimensions property for Nodes. This returns the actual node size...
Lukas Toenne [Fri, 14 Jun 2013 08:59:21 +0000 (08:59 +0000)]
Added a read-only dimensions property for Nodes. This returns the actual node size as calculated in the node_update functions. It can be useful for node layout scripts, since the width/height properties
are not an accurate representation of the actual node size which is determined by the uiLayout.

Please note that the dimensions calculation depends on the drawing of nodes, so it may not get updated if nodes are not visible in any editor. Also the node height in particular can change dramatically
based on previews, visible sockets, etc.

8 years agoutility function for calculating smooth groups from sharp edges: BKE_mesh_calc_smooth...
Campbell Barton [Fri, 14 Jun 2013 08:28:27 +0000 (08:28 +0000)]
utility function for calculating smooth groups from sharp edges: BKE_mesh_calc_smoothgroups

8 years agoutility function BKE_mesh_edge_poly_map_create(), currently unused.
Campbell Barton [Fri, 14 Jun 2013 07:15:38 +0000 (07:15 +0000)]
utility function BKE_mesh_edge_poly_map_create(), currently unused.

8 years agocode cleanup: reduce pointer indirection for mesh-map creation functions.
Campbell Barton [Fri, 14 Jun 2013 06:34:37 +0000 (06:34 +0000)]
code cleanup: reduce pointer indirection for mesh-map creation functions.

8 years agocode cleanup: make_edges_mdata() reduce some sign conversion, pointer indirection.
Campbell Barton [Fri, 14 Jun 2013 06:15:30 +0000 (06:15 +0000)]
code cleanup: make_edges_mdata() reduce some sign conversion, pointer indirection.

8 years agoremove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now.
Campbell Barton [Fri, 14 Jun 2013 04:04:35 +0000 (04:04 +0000)]
remove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now.

8 years agoChange edgeloop delete to use dissolve, fixes bug [#35738].
Campbell Barton [Fri, 14 Jun 2013 03:04:36 +0000 (03:04 +0000)]
Change edgeloop delete to use dissolve, fixes bug [#35738].

Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects).

This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control)
and multiple edge loops work better too. eg:

8 years agobmesh edge dissolve: add option use_face_split (matching vertex dissolve option),
Campbell Barton [Fri, 14 Jun 2013 02:30:40 +0000 (02:30 +0000)]
bmesh edge dissolve: add option use_face_split (matching vertex dissolve option),
useful to avoid odd shaped ngons surrounding dissolved edges.

8 years agoBGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.
Mitchell Stokes [Thu, 13 Jun 2013 22:15:44 +0000 (22:15 +0000)]
BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.

8 years agoFix blender internal showing SSS preprocessing status message even if there isn't
Brecht Van Lommel [Thu, 13 Jun 2013 18:29:56 +0000 (18:29 +0000)]
Fix blender internal showing SSS preprocessing status message even if there isn't
any SSS material in the scene.

8 years agoFix #35634: weight paint did not do z-buffer culling anymore on Windows after recent...
Brecht Van Lommel [Thu, 13 Jun 2013 17:11:09 +0000 (17:11 +0000)]
Fix #35634: weight paint did not do z-buffer culling anymore on Windows after recent change to size of bool.

8 years agofixes for using scaled cameras
Campbell Barton [Thu, 13 Jun 2013 15:09:32 +0000 (15:09 +0000)]
fixes for using scaled cameras
- ED_view3d_from_m4() got incorrect rotation from scaled cameras, was noticable with smoothview transitions.
- when you lock the camera to the view, any view edits would reset the cameras scale to 1.
- another problem with view locking if the camera was scaled and had a parent, the parent would be transformed incorrectly.
- fly mode was chaning object scale a little over time, now restore after applying scale so it never changes.

8 years agoFix #35664: blender internal material index pass + ztransp + multiple materials
Brecht Van Lommel [Thu, 13 Jun 2013 15:02:42 +0000 (15:02 +0000)]
Fix #35664: blender internal material index pass + ztransp + multiple materials
assigned to a mesh did not work correct.

8 years agoFix #35735: blender internal viewport rendering was missing SSS update when
Brecht Van Lommel [Thu, 13 Jun 2013 14:40:22 +0000 (14:40 +0000)]
Fix #35735: blender internal viewport rendering was missing SSS update when
changing angle of view.

8 years agoFix #35730: cycles not rendering dupliverted metaball, needs another special
Brecht Van Lommel [Thu, 13 Jun 2013 14:33:18 +0000 (14:33 +0000)]
Fix #35730: cycles not rendering dupliverted metaball, needs another special

8 years agoRephrased error message for clarity
Gaia Clary [Thu, 13 Jun 2013 14:17:02 +0000 (14:17 +0000)]
Rephrased error message for clarity

8 years agominor edits to world_to_camera() utility function, include Z so you can tell if the...
Campbell Barton [Thu, 13 Jun 2013 14:07:36 +0000 (14:07 +0000)]
minor edits to world_to_camera() utility function, include Z so you can tell if the points in font of the camera and avoid divide by zero.