9e00a48511
Typo in variable name from previous commit, sorry.
2013-10-03 16:39:30 +00:00
43217da6d9
set mempool debug in the game-engine-player too. also remove redundant mempool includes.
2013-10-03 16:34:00 +00:00
f372d14173
rigidbody: Flag bodies for validation when changing shape
...
This fixes a pretty old crash that occurs when changing the collision
shape to a mesh shape during simulation.
Thanks to Thomas Beck (plasmasolutions) for the report.
svn merge -r60310:60311 ^/branches/soc-2013-rigid_body_sim
2013-10-03 16:12:02 +00:00
51f7f82a42
fix crash in editmesh edge-dissolve, when 2 faces shared multiple edges, freed edges would be checked.
2013-10-03 15:29:08 +00:00
f5eb880358
freeing mempool elements now fills freed memory with --debug for debug builds.
2013-10-03 14:44:33 +00:00
c819fd4ee0
Changed some labels from Second Life to OpenSim
2013-10-03 14:24:54 +00:00
87fb70cad2
fix for crash dissolving faces, bmesh walkers were using freed mempool elements.
...
use a convention for freeing walker-states where freed-dangling pointers aren't left assigned to prevent errors like this happening in future.
2013-10-03 13:35:57 +00:00
94fdaa5d41
Fix crash starting game engine on linux
...
Issue was caused by bug in mesa #54080 which makes
glXQueryDrawable fail with GLXBadDrawable for any
request with direct context.
Worked around by temporary overriding X error handling
when getting old interval value and disablingintervals
extension if this query fails.
Also added check for glXSwapIntervalEXT which is
apparently NULL here with GLX_EXT_swap_control=1.
2013-10-03 13:15:53 +00:00
9b1be7ce93
add cmake option WITH_MEM_VALGRIND, helps to track down errors with mempool use which sometimes only show up as bugs in very rare cases (because even though the element is freed, the chunk is still allocated).
2013-10-03 12:22:44 +00:00
6b2e563924
yet another instance dissolve deletes verts it loops over.
2013-10-03 10:50:03 +00:00
6d1dba7c37
overlapping faces made join-triangles fail, check for this case and silently ignore them.
2013-10-03 10:29:53 +00:00
253e9fb041
addition to r60523 missed using BM_ITER_MESH_MUTABLE in one place.
2013-10-03 08:02:32 +00:00
5b5bc63396
fix [ #36923 ] Merge / Delete vertices crashes for some meshes
...
add BM_ITER_MESH_MUTABLE which steps before entering the for() loop body and prevents the assert from complaining about removing mesh data while iterating as well as the crash.
this was done in quite a few areas, more may turn up.
2013-10-03 07:06:56 +00:00
4cb4dc8432
remove assert recently added to EDBM_backbuf_check and explain odd logic.
2013-10-03 07:02:52 +00:00
f3e41046fe
fix bug in ED_vgroup_subset_from_select_type, setting negative index in boolean array.
...
also was freeing NULL pointer in vgroup_blend_subset()
2013-10-03 07:01:32 +00:00
962c183471
add debug mode assert if mesh-data is removed while iterating over it. (can crash).
2013-10-03 06:12:44 +00:00
91e020eea9
fix [ #36924 ] Calling .define(...) on Macro subclass crashes Blender, if subclass wasn't registered
2013-10-03 05:27:39 +00:00
5568b63087
console: shift pad-enter now clears the line too.
2013-10-03 04:31:41 +00:00
58fe3435b4
adjustments to sculpt cache scaling code, (float/double promotion)
2013-10-03 03:05:41 +00:00
6ff35258c0
real fix for #36695 , scale brush stroke with maximum scale component,
...
except layer brush where the previous algorithm is used.
2013-10-02 22:46:26 +00:00
98ee7fdd9a
Fix an own regression introduced in the dyntopo cleanup commits. Do not
...
remove a vertex from the pbvh if the only face it was part of was
removed from the pbvh. This should work but no time to investigate now
properly, and better have a solid release. The problem could be seen
when sculpting to open meshes. Some vertices and faces on the boundaries
would become stuck and unresponsive.
2013-10-02 22:18:23 +00:00
8dcbc1060b
Revert 60358, it made irregularly scaled objects behave incorrectly, checking out different approach here.
2013-10-02 22:18:14 +00:00
be20171f39
OSX/GHOST: fix own issue in 60510, should now (hopefully) cover all multiple window combinations
2013-10-02 19:54:24 +00:00
e308c2f166
Fix #36316 : dots in cycles render on certain CPUs with 32 bit linux builds.
...
There is some sort of problem with the SSE2 code path, but I couldn't find
the cause, maybe a compiler bug due to the large amount of inlining? For
now I've disabled SSE2 optimizatons in 32 bit GCC builds.
2013-10-02 19:00:16 +00:00
8686f9fe03
OSX/GHOST: refine #60409 and better take multiple windows into account
2013-10-02 18:49:32 +00:00
a47e6810a2
Fixes for cycles Mapping and Vector Transform node:
...
* Keep the Mapping node default type as Point for now, instead of Texture. The
latter is a better default, but this is breaking API compatibility and it's
too close to release to expect addons to be fixed in time.
* Vector Transform and Mapping nodes had properties with name "type" to set the
type of vector, but this conflicts with the node type property, so renamed to
vector_type now.
2013-10-02 17:02:59 +00:00
ba01e5e3eb
fix [ #36919 ] Cannot delete keyframe of animated simulation parameter if simulation has been disabled
2013-10-02 16:37:47 +00:00
592443816d
re-shuffle ifdef for osx to make it more clear
2013-10-02 16:13:24 +00:00
4bc998d0b3
OSX: readd ctrl-a for 'select all' in text(-boxes) against my own conviction for now - really to be discussed
2013-10-02 16:09:09 +00:00
cbb783f1d6
Fix cycles OpenCL compile error on AMD, and fix assert in debug builds.
2013-10-02 14:41:04 +00:00
8e70db78f4
Bugfix: All actions created when keyframing now have their "id-root" set appropriately
...
This means that it will no longer be possible to accidentally load a nodetree action in
the Action Editor (object-level actions only), resulting in F-Curves getting
invalidated/disabled.
2013-10-02 12:14:50 +00:00
724b015da2
libmv: fix matrix address being printed instead of actual values
2013-10-02 10:18:43 +00:00
0959482acb
fix [ #36913 ] GHASH_FLAG_ALLOW_DUPES assert and crash in Edge Collapse
2013-10-02 04:12:06 +00:00
bab799bf25
fix regression - convex hull tool leaving new faces unselected.
2013-10-01 18:23:39 +00:00
b5fcc340b6
OSX/keys: change to OSX conform cmd-a for 'select-all' in text(-boxes)
2013-10-01 17:47:08 +00:00
4627f9d92c
style edits and use macro for prefix check
2013-10-01 16:40:11 +00:00
Dalai Felinto
d2e55cb282
bugfix [ #32346 ] Node animation, removing nodes keeps FCurves.
...
The same bug happens for modifiers, but better to address it separately.
Contribution and review by Lukas Toenne and Brecht van Lommel
2013-10-01 16:15:52 +00:00
1fa59cdf4d
allow knife-project to use sub-pixel length edges.
2013-10-01 15:52:29 +00:00
d310e060d2
Fix use of uninitialized variable in recent node tree changes.
2013-10-01 15:37:01 +00:00
5806ffdfd9
Fix blender internal viewport render not using color management settings like
...
view, exposure, looks.
2013-10-01 15:34:43 +00:00
4c6a6a8fe3
UV sculpting was missing curve initialization causing crashes. Reported
...
by Sebastian Koenig, thanks!
2013-10-01 15:04:58 +00:00
3169e96ae2
Optimization for recent changes in keyframe selection
2013-10-01 14:55:34 +00:00
d8020f54ba
change to ED_armature_bone_rename so theres never any duplicates dictionary items in 'ob->pose->chanhash'
...
this turned out to be harmless but it did make ghash assert() because the ghash isnt flagged to allow duplicates.
2013-10-01 13:33:43 +00:00
9883641f46
add assert for bone renaming, to check if the chanhash is still valid.
2013-10-01 13:28:59 +00:00
4c3d9e358b
fix [ #36906 ] AutoName operator do not update the display of the bone's name in the Bone Properties
2013-10-01 12:56:25 +00:00
ffec71db84
Fix issues reported by coverity scan in recent changes to customdata code.
2013-10-01 12:48:41 +00:00
6c83806a00
fix [ #36435 ] Crash on unwrap with specific mesh
2013-10-01 12:48:32 +00:00
d44b3f66ac
make the manipulator work with curve handle selections with normal orientation and individual origins.
2013-10-01 12:37:17 +00:00
fd01e72877
check SELECT flags for curves (was checking for nonzero which would break if new files use this field for other flags)
2013-10-01 12:35:43 +00:00
9b3e3f3e31
fix for bug own recent commit [ #36904 ] Snap to Volume is broken with Armature
...
this is infact an older bug which was exposed by the recent change.
for now only use the change in behavior for scale/rotation.
2013-10-01 12:11:10 +00:00