Commit Graph

48251 Commits

Author SHA1 Message Date
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
Antony Riakiotakis
8683006143 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.
2013-06-16 17:07:07 +00:00
Gaia Clary
965462c183 Improved layout of Vertex Weights panel, added option to change active vgroup 2013-06-16 15:44:17 +00:00
Tamito Kajiyama
edfeaae918 Fix for the DensityF0D function not working as expected when the Z pass was not available. 2013-06-16 15:08:25 +00:00
Antony Riakiotakis
e044891d78 Fix #35774 Confusing Text in Texture Paint Panel
A simple copy-paste error.
2013-06-16 14:54:14 +00:00
Gaia Clary
254de15215 Vertex weights: Added delete weight from vertex group 2013-06-16 14:41:07 +00:00
Campbell Barton
564902582c rename world_to_camera -> world_to_camera_view 2013-06-16 14:35:15 +00:00
Campbell Barton
acb7f36391 use layout engine for vertex weights panel. 2013-06-16 13:30:37 +00:00
Bastien Montagne
a691487ed4 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...
2013-06-16 13:13:42 +00:00
Dalai Felinto
29be979758 New icon: CAMERA_STEREO
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
2013-06-16 11:14:07 +00:00
Bastien Montagne
556c47faa6 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]...).
2013-06-16 09:44:17 +00:00
Campbell Barton
4e23e9cab1 replace strcat with BLI_strcpy_rlen in draw_selected_name(), view3d function.
also fix for incorrect flag checking for shape key pin.
2013-06-16 09:14:24 +00:00
Campbell Barton
c9341334b1 add BLI_strcpy_rlen, replace strcat, which was used in misleading way. 2013-06-16 08:29:02 +00:00
Campbell Barton
fcc4251c07 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.
2013-06-16 05:35:44 +00:00
Campbell Barton
72abfbfc95 fix automerge + mirror, previously only the selected verts would auto-merge. 2013-06-16 05:13:12 +00:00
Campbell Barton
07a537eb1a reduce property lookups on transform init. 2013-06-16 04:37:39 +00:00
Campbell Barton
94cb20ff4e when setting the subframe for large frames (250,000+) the precision was very poor.
now use double precision when combining the frame+subframe.
2013-06-16 04:06:38 +00:00
Campbell Barton
d63045d977 don't show the 3d view transform panel when theres no active object. 2013-06-16 03:31:15 +00:00
Tamito Kajiyama
865096919d Fixed the feature edge selection by Freestyle face marks to properly account for border edges. 2013-06-16 00:15:05 +00:00
Tamito Kajiyama
bc9121f627 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!
2013-06-16 00:14:28 +00:00
Nathan Letwory
fc4f6a7bad Set up OurSpawn for MinGW compile environment on Windows. 2013-06-15 21:20:06 +00:00
Nathan Letwory
11f104a4a3 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.
2013-06-15 20:12:16 +00:00
Ton Roosendaal
06268dfa4d Bug fix #35749
Image Editor: "Replace Image" operator didn't refresh icon for image.
2013-06-15 15:39:20 +00:00
Ton Roosendaal
f9f7654497 Bugfix #35747
Lasso select could crash if there was an Armature in PoseMode somewhere.
Issue also in previous release(s).
2013-06-15 15:10:21 +00:00
Brecht Van Lommel
ee8d353fdd 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.
2013-06-15 14:01:16 +00:00
Brecht Van Lommel
344ffb99ae Buildbot: use relative path for redistributable dlls on windows. 2013-06-15 14:01:12 +00:00
Campbell Barton
bac418b691 show dissolve edge/vert/face in the delete menu, irrespective of the current mode. 2013-06-15 13:33:28 +00:00
Gaia Clary
9691095d7f Added Missing check if active object is visible 2013-06-15 12:57:46 +00:00
Gaia Clary
c15c5540d9 make active vertex more apparent in weight paint mode 2013-06-15 12:11:38 +00:00
Campbell Barton
c15802f7d3 display active vertex in weight paint mode. also correct NULL free. 2013-06-15 11:02:36 +00:00
Gaia Clary
6a60bf2f03 Added support for Vertex Weight panel in weight Paint Mode 2013-06-15 10:18:16 +00:00
Brecht Van Lommel
790e8b6eda Buildbot: use 1 thread for windows builds. 2013-06-15 10:16:01 +00:00
Gaia Clary
bab2dacc6c removed unnecessary return statement 2013-06-15 09:53:59 +00:00
Gaia Clary
a8beff3c5e added basic utility functions for working with mselect (selected mesh elements) 2013-06-15 09:42:58 +00:00
Campbell Barton
d4cbd78a79 fix for recent changes in solidify, normals were OK but customdata for loops wasnt. 2013-06-15 08:59:54 +00:00
Bastien Montagne
0794c2722d Add USE_PYTHON=OFF and USE_OCIO=OFF to OIIO compilation (we do not need either of those). 2013-06-15 08:56:04 +00:00
Lukas Toenne
6b009ce887 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. 2013-06-15 07:06:09 +00:00
Campbell Barton
e9d2cd8db2 code cleanup: remove checks for (select == LEFTMOUSE), this happened to work because its defined at 1, but confusingly checks against RIGHTMOUSE fail. 2013-06-15 06:03:15 +00:00
Tamito Kajiyama
e5d292604c Fix for splitting at material boundaries not correctly working with border lines.
Problem report by Charblaze in the BlenderArtists.org Freestyle thread, thanks!
2013-06-14 20:43:54 +00:00
Campbell Barton
9161a4daa5 fix for own error in recent solitify refactor (r57402), face flip check was incorrect. 2013-06-14 16:10:32 +00:00