Campbell Barton
0a1e48fa78
only run remove doubles if a double is found.
2012-01-03 14:02:51 +00:00
Campbell Barton
cadb813102
change to bmesh mirror modifier.
...
Rather then making a copy of the input when its not a CDDM type, use functions which read from any derived mesh type.
2012-01-03 13:57:31 +00:00
Joshua Leung
268ca6b2f7
Code cleanup - removing some ugly/obsolete stuff I came across while hacking
...
some other stuff earlier
2012-01-03 10:55:46 +00:00
Campbell Barton
20b425e5d1
minor changes for mirror modifier, bigger changes coming.
2012-01-03 09:37:57 +00:00
Campbell Barton
46f2233a93
svn merge ^/trunk/blender -r43085:43092
2012-01-03 07:33:11 +00:00
Thomas Dinges
434c1e6df8
Remesh Modifier:
...
* Fix for Campbell's "option to build without remesh modifier for cmake and scons" commit, this broke scons!
2012-01-03 04:03:41 +00:00
Campbell Barton
4e98dbe528
error in recent commit - disallow selecting hidden verts.
2012-01-03 02:45:03 +00:00
Campbell Barton
dcdcaf25ba
fix [ #29761 ] Texture painting with interpolation ignores use alpha
...
reporter - Shawn Zilbert (enigmatic) included patch.
2012-01-03 02:26:32 +00:00
Campbell Barton
c0eec8f379
svn merge ^/trunk/blender -r43062:43085
2012-01-03 02:16:52 +00:00
Joshua Leung
8983d68fd8
Bugfix [ #29629 ] UV animation stops working forever if Edit mode entered
...
Thanks Sergey for the patch!
This bug, and many like it would arise because at some point a F-Curve would get
detected as being unable to be resolved (when trying to display its name in an
Animation Editor), so gets tagged as being "disabled". It was assumed that such
channels usually belonged to deleted data or stuff that wouldn't be able to be
resolved again for a long time. However, in cases like UV settings, they may
only be unavailable temporarily.
As a compromise, this patch clears this disabled flag if a channel is found to
be now working when (in the process of finding out its name when redrawing an
Animation Editor) it can be resolved, in the same place where the disabling was
taking place. This doesn't work fullproof in tests I've done, but should be
nicer than before.
2012-01-03 02:11:11 +00:00
Nicholas Bishop
0eb8a384c9
Remove some silly variable copies that stuck around from a previous refactor.
2012-01-02 19:01:16 +00:00
Campbell Barton
1e18da32fb
replace:
...
CTX_data_pointer_get_type(C, "object", &RNA_Object).data
with api call:
ED_object_context(C)
... since getting the context object is such a common operation.
2012-01-02 17:15:24 +00:00
Campbell Barton
aa43cab820
weight paint buttons now work in weight paint vertex select mode
2012-01-02 16:59:46 +00:00
Brecht Van Lommel
1fc26516ea
Fix #29746 : cycles crash with border render.
2012-01-02 16:20:18 +00:00
Campbell Barton
5c27b34fbf
nicer string delimiter handling for Ctrl+Left/Right arrows, py console could use this functon too.
2012-01-02 15:27:01 +00:00
Brecht Van Lommel
9dc085e0cb
Fix #29738 : missing includes in RNA, patch by Dan Eicher.
2012-01-02 13:45:42 +00:00
Campbell Barton
68c4368001
dont save MFace's from BMesh, this means they stay used but only for tessface cache.
...
also saves on undo memory and disk space.
2012-01-02 12:37:58 +00:00
Alex Fraser
15dc3d4609
Fixes two crashers for games, with GHOST under SDL:
...
- Fixes SDL fullscreen mode for game engine (blenderplayer). Mode switching (resolution changes) not supported yet though.
- Fixes embedded game engine exit.
See patch tracker [#29748 ].
2012-01-02 12:35:06 +00:00
Alex Fraser
7d19ff1497
Added OpenMP multithreading for SPH particle systems.
2012-01-02 12:10:50 +00:00
Alex Fraser
b6fb3d97f1
SPH particle simulation fixes:
...
- Using correct frame to update particle system tree for SPH simulation (i.e. psys_update_particle_bvhtree(psys, cfra)).
- Increased SPH neighbour count to 512 - this greatly reduces BVH tree search bias, and makes simulations more symmetrical.
Adaptive time step improvements:
- Fix for relative velocities based on previous state (fixes fast-moving particle clusters).
- Only reporting on element size once per time step. Prevents incorrect Courant number from being calculated when using multiple-step integration.
2012-01-02 11:46:02 +00:00
Campbell Barton
9a37e2682d
slice and iterator access for matrix.col/row so you can do...
...
a, b = mat.col[0:2]
and...
for a in mat.col: ...
2012-01-02 09:04:37 +00:00
Campbell Barton
a0e42dc8ab
fix for crash in the modifier stack when applying a deform modifier after a constructive modifier, also sync minor edits with trunk.
2012-01-02 06:53:09 +00:00
Campbell Barton
7a15b93e53
Edit BMesh --> Mesh conversion code was using its own face filling functions, replace this with a call to mesh_recalcTesselation() once everything else is converted.
...
gives an overall 3x speedup running bmesh_to_mesh_exec() on suzzane subsurf level 5 (applied).
also removes duplicate code.
2012-01-02 03:52:10 +00:00
Campbell Barton
c9b7eb06b2
picky formatting edits
2012-01-02 03:27:08 +00:00
Campbell Barton
b64f352270
svn merge ^/trunk/blender -r43033:43062
2012-01-02 02:57:36 +00:00
Campbell Barton
ec710a2929
remove Id's that crept in
2012-01-02 02:13:31 +00:00
Bastien Montagne
ab097223d4
Fix [ #29556 ] shrinkwrap generates spikes if vertices fall exactly on the edge
...
bvhtree_ray_tri_intersection now using isect_ray_tri_epsilon_v3 with FLT_EPSILON. All devs I asked (incuding ones in physics/painting areas) were rather OK with this change, and better to do it now, with more than one month to detect regressions, if any!
2012-01-01 16:37:01 +00:00
Bastien Montagne
defa99b65c
Fixed names of VertexWeight modifiers RNA structs, in RNA_access.h (probably forgotten when they were renamed, before the merge in trunk, and was never noticed as they are not used...).
...
Also removed the $ID$ from remesh modifier header, and quited a gcc warning.
2012-01-01 16:09:32 +00:00
Campbell Barton
9b45d8acad
__func__ define for msvc since its not c99 compat
2012-01-01 10:27:53 +00:00
Campbell Barton
2c072d8f85
rna api - set hard min/max for colors which are float properties but internally use chars to 0/1.
2012-01-01 09:39:43 +00:00
Campbell Barton
f01ac19c3c
use __func__ for makesrna.c error prints rather then the function name (no functional changes)
2012-01-01 09:19:22 +00:00
Tamito Kajiyama
cc3adc2202
Merged changes in the trunk up to revision 43038.
...
Conflicts resolved:
source/blender/makesdna/DNA_material_types.h
source/blenderplayer/bad_level_call_stubs/stubs.c
2011-12-31 21:09:26 +00:00
Andrew Wiggin
85242e9f6c
Fix blenderplayer build (by adding missing bad level call stubs)
2011-12-31 17:46:42 +00:00
Bastien Montagne
1b4487e813
Fix [ #29728 ] Explode Modifier Causes Crash.
...
The problem was in fact in recent BLI_edgehash changes: a typo in the new macro EDGE_ORD made v0 > v1, instead of v0 < v1. This caused the bug in explode modifier, which (ab)uses that ordering feature a bit…
2011-12-31 15:10:38 +00:00
Campbell Barton
71bc053bb2
remesh now working for bmesh
2011-12-31 12:58:03 +00:00
Campbell Barton
78a4e24614
svn merge ^/trunk/blender -r43009:43033
2011-12-31 12:03:36 +00:00
Sergey Sharybin
3bb3d46ccf
Code cleanup: do not use check for nan when doing check for finite due to
...
finite() would be FALSE in case of nan to.
Thanks to Campbell for this information.
2011-12-31 11:03:32 +00:00
Miika Hamalainen
6c10080d24
Fix: Material "Vertex Color Light" option didn't apply vertex alpha.
2011-12-31 10:46:21 +00:00
Miika Hamalainen
0f2f2fe1a8
Dynamic Paint:
...
* Fix: Smudge and brush velocity settings didn't work for "image sequence" surfaces unless any paint effect was enabled.
* Adjusted some property ranges.
2011-12-31 10:28:36 +00:00
Daniel Stokes
359a95bdc9
Changing KX_FontObject to look for a "Text" game property instead of a "text" property to match with bitmap font usage.
2011-12-31 09:37:19 +00:00
Sergey Sharybin
59b406ce73
Minor code cleanup after resolving conflicts
2011-12-31 09:30:39 +00:00
Sergey Sharybin
a666441d70
Merging r42945 through r43024 from trunk into soc-2011-tomato
2011-12-31 09:23:06 +00:00
Sergey Sharybin
1ad83b4cba
Tag object with object solver constraint to recalc when changing value of
...
tracking object scale.
2011-12-31 08:26:59 +00:00
Sergey Sharybin
70d13da457
Do not set scene's camera on camera solving and cursor snapping
2011-12-31 08:26:32 +00:00
Campbell Barton
33b1717d59
fix [ #29734 ] Crash after bpy.ops.file.direrectory_new()
2011-12-31 03:52:07 +00:00
Campbell Barton
39ef41a022
fix [ #29735 ] Blender crashes with ACCESS_VIOLATION when snapping cursor to camera
2011-12-31 03:45:31 +00:00
Campbell Barton
ba8d1b940f
option to build without remesh modifier for cmake and scons
2011-12-31 03:34:44 +00:00
Campbell Barton
81f5c9ed9b
svn merge ^/trunk/blender -r42991:43009
2011-12-31 03:07:14 +00:00
Campbell Barton
65c74f1570
workaround for error building with clang and quiet some warnings building without libmv.
2011-12-31 03:01:18 +00:00
Nicholas Bishop
14f5f264ec
Small tweaks from Zafio for the remesh modifier icon
2011-12-30 23:10:23 +00:00