Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
8cfef06d23 enable bmesh subdivide smooth, this isn't working quite right yet.
also remove some invalid BMESH_TODO's
2011-11-01 04:31:25 +00:00
Campbell Barton
f3f3a42566 use math functions for mesh subdivide smooth (easier to follow for bmesh, no functional changes). 2011-11-01 04:19:21 +00:00
Campbell Barton
b03e78e1af minor cleanup edits 2011-11-01 03:02:33 +00:00
Campbell Barton
e08c4a00d2 svn merge -r41371:41420 ^/trunk/blender 2011-11-01 02:01:09 +00:00
Brecht Van Lommel
4e0d8ccf96 Fix #29084: material/texture nodes crash introduced in 2.60, execdata is being
lazely created but this wasn't done in a thread safe way.
2011-10-31 17:00:59 +00:00
Brecht Van Lommel
bdb279ec5b Fix crash in texture nodes, when no derivatives available, other nodes already
did this check.
2011-10-31 16:44:24 +00:00
Brecht Van Lommel
56421d869d Fix: selecting with z-buffer hiding did not work when graphics card settings
enabled antialiasing, overriding application settings.

The fix for this got lost when the FSAA option was added and later disabled
again. Added it back now, and also disable AA for UI widgets since it makes
them look too blurry, they already do their own AA.
2011-10-31 14:08:14 +00:00
Miika Hamalainen
cd338a4130 Merge with trunk r41411 2011-10-31 13:18:14 +00:00
Miika Hamalainen
0a37e6ab97 Dynamic Paint:
* Redesigned alpha blending and paint drying algorithms. Now it gives much better results when using low brush alpha or when surface has initial color set.
* Fix: "Slow" dissolve/dry was scaled incorrect when using substeps. Also adjusted time to better match non-"slow" setting.
* Fixed possible issues when using image textured brush.
* Fix: particle brush panel was no longer visible since last commit.
* Adjusted default surface values.
* Some more code cleanup.
2011-10-31 13:01:06 +00:00
Campbell Barton
2ceeaf9721 fix [#29089] Faces created for "rims" by solidify modifier have incorrect visibility 2011-10-31 07:17:35 +00:00
Campbell Barton
797d2bbd88 use_verify option to defvert_sync_mapped and defvert_sync was flipped, also minor edits to defvert_verify_index() - no functional change. 2011-10-31 06:13:20 +00:00
Campbell Barton
1a2188af41 fix [#29090] Vertex paint: in mask mode, select all (hotkey "A") does not work 2011-10-31 03:55:01 +00:00
Campbell Barton
9905094f5d fix own error r41191 getting id property string lengths. 2011-10-31 01:50:04 +00:00
Andrew Wiggin
12ace958f5 Miscellaneous warning fixes (mostly unused local vars) and trivial cleanups 2011-10-31 00:44:12 +00:00
Andrew Wiggin
9c5a620e4d Fix problems with setting (and respecting) correct visibility of rim faces created by solidify modifier 2011-10-31 00:34:19 +00:00
Andrew Wiggin
f1dcd1f157 Small optimization in mesh-to-bmesh convert (avoid a bunch of alloc, free, realloc of loop customdata) 2011-10-31 00:28:52 +00:00
Campbell Barton
dc1b3d88b8 fix [#29098] File save dialog cannot handle extra periods in file name 2011-10-31 00:23:42 +00:00
Andrew Wiggin
83cef039af Fix a minor bug with incorrect ordering of arguments to customdata api 2011-10-31 00:10:51 +00:00
Thomas Dinges
9c115ccc40 Blender Conference Feature Request by Jonathan:
* Made "V3D_BGPIC_EXPANDED" true per default, so when you add a new background image, you don't have to expand the UI to select the image.
2011-10-30 23:01:24 +00:00
Tamito Kajiyama
12f2c06d34 Fixed a crash due to invalid pointers to temporary scenes for stroke rendering.
Freestyle generates a temporary scene containing a number of stroke meshes to
achieve stroke rendering using the Blender internal renderer.  This temporary
scene may appear in the outliner and undergo user interaction when the stroke
rendering takes a long time.  The crash was due to the deletion of the scene
without taking care of references to the scene from screens, one of which was
the outliner.
2011-10-30 22:53:24 +00:00
Tamito Kajiyama
e287e9d0c4 Merged changes in the trunk up to revision 41387. 2011-10-30 21:38:01 +00:00
Jens Verwiebe
6d5cf68aaf WIN32, fix a crash when blender is executed in background mode, patch by kjym3 2011-10-30 20:47:03 +00:00
Tamito Kajiyama
f0acdcf135 Fix for stroke rendering instability with stroke geometry shaders.
* Stroke::Resample(int nPoints) was not properly working when a wrong
value was returned from Stroke::getLength2D(), resulting in repeated
warning messages "Warning: incorrect points number" during stroke
rendering.  The main cause was that stroke geometry shaders did not
update the two-dimensional (2D) length (also referred to as curvilinear
abscissa) after they modified the 2D points of stroke vertices.  Now
all stroke geometry shaders make explicit calls for Stroke::UpdateLength()
that has been introduced for recomputing the 2D length.  Many thanks to
Josef who reported the problem together with sample .blend files for
reproducing the issue.

* Missing Python wrapper of Stroke::getLength2D() was added.
2011-10-30 16:00:35 +00:00
Sergey Sharybin
61a2dfe89d Change default values for mix node.
Discussed with plenty of artists on De Balie and this values makes much more sense.
2011-10-30 14:53:26 +00:00
Campbell Barton
02c4b6b26b bmesh todo - subsurf UV. 2011-10-30 09:48:59 +00:00
Campbell Barton
a8df5cbc76 move make_uv_vert_map() to bmesh - use MLoopUV's rather than MTFace's.
also some formatting on BLI_array
2011-10-30 09:19:07 +00:00
Tamito Kajiyama
1f25228857 Fix for warnings about period at the end of description strings for
RNA operators and properties.  No functional changes were made.
2011-10-30 09:05:47 +00:00
Campbell Barton
c4fa7bf286 make_uv_vert_map() was looping over the texture face for not reason. 2011-10-30 06:53:25 +00:00
Campbell Barton
965dc3d2d0 fix for drawing error, subsurf was adding black vertex colors to its derived mesh (trunk doesn't do this). 2011-10-30 03:57:46 +00:00
Andrew Wiggin
66b14f977f Remove an edge split workaround and replace with faster, better fix for 28669 2011-10-30 03:33:08 +00:00
Campbell Barton
8408cf3dc2 fix for memory leak when switching shape keys 2011-10-30 02:15:32 +00:00
Tamito Kajiyama
65668dc5eb Merged changes in the trunk up to revision 41368.
Conflicts resolved:
source/blender/blenkernel/intern/library.c
source/blender/blenlib/intern/bpath.c
source/blender/render/intern/source/convertblender.c
2011-10-30 02:03:40 +00:00
Campbell Barton
bd86ba2c88 svn merge -r41335:41371 2011-10-30 01:27:49 +00:00
Andrew Wiggin
e48d7f4c11 Fix for #29087: Meshs with non-planar polys added from py scripts show boundaries between tesselated triangles of a single poly 2011-10-30 01:14:50 +00:00
Thomas Dinges
f837b46a2b Modifier compilation tweaks (Blender conference commit)
* Fluid compilation: Inverse the compile flag from DISABLE_ELBEEM to WITH_MOD_FLUID for consistency. (scons/cmake)
* Use WITH_BF_FLUID in your user config (scons) 

* Add support for scons to disable build with Decimate and Boolean modifier. 
(WITH_BF_DECIMATE and WITH_BF_BOOLEAN)
2011-10-29 23:56:07 +00:00
Tamito Kajiyama
16702c1729 Merged changes in the trunk up to revision 41225.
Conflicts resolved:
source/blender/render/intern/source/pipeline.c
2011-10-29 15:46:14 +00:00
Brecht Van Lommel
996f2cd8b2 Cycles: fix blenderplayer build error. 2011-10-29 14:24:06 +00:00
Andrew Wiggin
5e90c040d9 Fix for #29080: vertex paint mask doesn't work 2011-10-29 13:25:18 +00:00
Campbell Barton
a7bf015f38 style edits
- rename var to match trunk shape key code
- reduce scope of some vars
- comment some unused vars
2011-10-29 11:23:37 +00:00
Campbell Barton
e28c2ce753 bug from revision 2!, error noticed kjym3 on IRC, buffer overrun on lbarray, was 30 but 39 items beting accessed, surprising this didnt crash earlier. 2011-10-29 11:15:12 +00:00
Campbell Barton
1fd6bc21cd add in functionality from trunk, editing base shapekey now offsets other keys when exiting editmode. 2011-10-29 10:19:57 +00:00
Campbell Barton
1e4be0a4bf replace BLI_strtok_r from r41337 with lighter method that doesnt alloc for template_list 2011-10-29 08:18:42 +00:00
Campbell Barton
b8afde900c macro -> math replacements, uncomment mirror funcs. 2011-10-29 06:57:50 +00:00
Miika Hamalainen
46ae692710 Merge with trunk r41342 2011-10-28 17:00:53 +00:00
Brecht Van Lommel
ed77c356fc Fix: OpenGL renders on graphics cards which do not support non-power-of-two
textures were stretched and the wrong size.
2011-10-28 16:57:06 +00:00
Miika Hamalainen
fae903e263 Dynamic Paint:
* More code changes pointed by Brecht in codereview.
* Some user interface improvements.
* Updating brush settings now also updates canvas preview.
2011-10-28 14:46:09 +00:00
Campbell Barton
e9429f45e5 re-enable mirroring - it was commented in a few functions. 2011-10-28 14:31:15 +00:00
Campbell Barton
a5bd610e70 uncomment shape key mirror. 2011-10-28 14:17:27 +00:00
Bastien Montagne
7627a742ab UI list template: committing patch [#26629].
This adds the ability (esp. for py scripts) to add some controls for each list element. See http://wiki.blender.org/index.php/User:Mont29/UI_Template_List_Enhancement for details.
2011-10-28 13:09:43 +00:00
Bastien Montagne
2ed7a66653 BLI_string: Adding the BLI_strtok_r function, which mimics stdlib strtok_r (unavailable on some systems).
It allows to iterate over a string, returning an new element each time, using a char as separator. See BLI_String.h's comments for more info and an example.

Needed by the UI template list patch following!
2011-10-28 13:07:11 +00:00