Campbell Barton
dea59f60c4
fix for memory leak in bmesh_jekv(); --- dissolve would not free deform weights in some cases.
2012-02-05 14:07:25 +00:00
Campbell Barton
baa843d0d3
Code Cleanup: use vector functions for copying / adding UV's
2012-02-05 13:25:42 +00:00
Campbell Barton
543fb27fd0
support for 'origspace' data layer - used for hair on subsurf mesh.
...
currently only works for 3/4 sided faces.
2012-02-05 11:30:26 +00:00
Campbell Barton
059a4b5085
pass wcol check as an argument rather then checking on every loop.
2012-02-05 10:15:54 +00:00
Campbell Barton
b1cdb80e47
sync with trunk
...
- renamed vars
- calloc --> malloc
- remove some redundant code
2012-02-05 08:18:34 +00:00
Campbell Barton
d5fcaeb874
sync changes from trunk.
2012-02-05 07:44:40 +00:00
Campbell Barton
1d21e2386e
ensure tessface's are available while sculpting.
2012-02-05 07:12:46 +00:00
Campbell Barton
b0db9df701
fix for error in recent commit. passing totface rather then totpoly, also add asserts if PBVH attempts to build without any faces (but with polys).
2012-02-05 07:09:30 +00:00
Campbell Barton
776ec0ec61
add function for getting a polygon map: dm->getPolyMap(ob, dm).
...
polygon version of dm->getFaceMap(ob, dm)
sculpt uses this for checking connectivity.
2012-02-05 06:20:51 +00:00
Campbell Barton
2277241ea6
fix for vpaint fill not working, check loopcol rather then tessface color.
2012-02-05 04:40:45 +00:00
Campbell Barton
ebf8ed57e4
update sculpt mode not to rely on tesselated faces (use MPoly's instead, saves slowdown of having to maintain tesselation of base mesh data)
2012-02-05 04:11:34 +00:00
Campbell Barton
5c1bee7ebc
fix for weight paint face selection.
...
since removing tesselation faces we can no longer rely on me->totface & me->mface being set. now use polygons instead.
2012-02-05 03:25:13 +00:00
Campbell Barton
d0412a1981
svn merge ^/trunk/blender -r43864:43887
2012-02-05 02:30:30 +00:00
Campbell Barton
4acab3eb33
Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.
2012-02-05 02:04:26 +00:00
Brecht Van Lommel
04266c2225
Fix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
...
support in some older cards, now it does a more precise check for problematic
cards so that it can be enabled on new cards that do support it properly.
2012-02-04 19:57:09 +00:00
Benoit Bolsee
4c7e769aa1
BGE bug #29133 : Render to Texture not working. Fixed by using same viewport to render and capture.
2012-02-04 17:20:38 +00:00
Andrew Wiggin
936af71e97
Bring BME_bevel code back (stage 1), porting it from the old BKE_bmesh to the new BMesh methods and data structures, and turns on compilation of this again. This makes the code work but isn't using it to do the bevel modifier just yet - that's coming next.
2012-02-04 14:23:07 +00:00
Campbell Barton
fc0ce537ba
fix [ #29947 ] Blender crashes when duplicate bones
...
missing NULL check.
2012-02-04 11:59:09 +00:00
Campbell Barton
637bc0ddea
Code Cleanup: pep8 edits
2012-02-04 11:10:41 +00:00
Antony Riakiotakis
d84573386e
Fix MinGW compilation due to recent font rendering changes.
...
GLEW_STATIC needs to be defined for static linking of GLEW or the dynamic entry points are looked up during linking
2012-02-04 10:02:59 +00:00
Campbell Barton
deec4ce0bc
Code Cleanup: avoid double promotion.
2012-02-04 06:55:29 +00:00
Alex Fraser
a05fdb837b
Fix for aliased fonts in the game engine.
...
- Mipmaps are generated in BLF when drawing text in-game. In that case, padding around each glyph is increased to prevent bleeding.
- Texture filtering is turned on for in-game text.
- All glyphs are now "twisted": the leading edge is brought a small distance forward, to prevent z-fighting in overlapping (kerned) glyphs. This happens both in the game engine and the rest of the UI, but should have no effect in the UI due to Z-compression in the clipping matrix.
Reviewed and approved by bdiego; see patch [#29882 ] in the tracker. Tested by dfelinto.
2012-02-04 01:51:59 +00:00
Campbell Barton
dc97e07134
fix [ #30060 ] self.report printed twice
2012-02-04 00:36:55 +00:00
Sergey Sharybin
1a3da5639e
Fix #30064 : Image editor: paint on image, rename image, undo -> crash
2012-02-03 20:12:21 +00:00
Sergey Sharybin
aeea1d394e
Fix #30028 : VSE Paste Strip Crash
...
Crash was caused by invalidation of ID pointers stored in sequencer clipboard
when using undo (undo leads to changes in IDs addresses in memory).
Restore pointers stored in clipboard in the same way as IDs are restoring
for user interface.
2012-02-03 13:08:44 +00:00
Campbell Barton
db785d1656
fix for crash converting a curve into a mesh (Alt+C conversion), this would crash on entering editmode.
...
now curves convert to polygons directly, rather then faces, and polygons after.
2012-02-03 04:58:55 +00:00
Campbell Barton
995f1e519c
fix [ #30057 ] Bezier Curve bad centering
2012-02-03 02:36:03 +00:00
Campbell Barton
26fd713906
fix for curves drawing as wire once modifiers were applied.
...
tesselate final curve derived mesh for drawing
2012-02-03 01:59:13 +00:00
Campbell Barton
075fee4d58
svn merge ^/trunk/blender -r43830:43864
2012-02-03 01:30:21 +00:00
Campbell Barton
050963b6a9
fix [ #27953 ] VSE: weird drawing and placement issues strips during 'E'
...
was calculating meta / effect in wrong order causing delay, now calculate selected meta's, then all effects after tramsforming.
2012-02-03 01:06:32 +00:00
Campbell Barton
0791993030
Minor Speedup: avoid for() loop over all faces in fluidsim by passing an example face to the mesh read function (also avoid a lot of int -> short/char conversions).
2012-02-02 23:58:46 +00:00
Brecht Van Lommel
4e44b14927
Fix #30043 : typing ctrl+Z in text field adds a square. For ascii these control
...
characters were already filtered out, do the same now for utf-8.
2012-02-02 21:46:29 +00:00
Brecht Van Lommel
5c9ad8653a
Fix #29921 : render rasterization error in a corner case, only happened on 32bit
...
builds because of extended float precision, slightly tweaked code to avoid that,
so that it works the same as on 64bit.
2012-02-02 21:46:11 +00:00
Campbell Barton
e3958015db
Code Cleanup: check is / is not when comparing singletons.
2012-02-02 21:07:56 +00:00
Campbell Barton
68cc7e1682
fix [ #29980 ] Fluid only displays wireframe
...
fluid sim was creating tessfaces only - when the modifier stack expects MPoly's
2012-02-02 20:58:56 +00:00
Campbell Barton
54b00c33ca
fix [ #30007 ] Mesh Edit: hidden geometry causes crash when...
...
transform was not skipping hidden vertices.
2012-02-02 20:36:34 +00:00
Campbell Barton
40f2ceed36
fix [ #30054 ] Bridge edge loops crashes attached .blend
2012-02-02 19:51:53 +00:00
Campbell Barton
a6de85a310
Code Cleanup: change CLAMP_INDEX into a static function.
2012-02-02 19:38:41 +00:00
Sergey Sharybin
60dc2f521b
Camera tracking: fix for Clean Tracks operator which used to always use
...
properties values from previous operator run instead of using values
from tool settings.
2012-02-02 19:37:50 +00:00
Sergey Sharybin
3b3d811bf0
Disallow fill caps for curves without bevel object.
...
It's getting complicated to detect which part of curve is actually a
cap in cases like extruded 2d curve with non-zero depth.
2012-02-02 19:20:51 +00:00
Sergey Sharybin
1471a1983c
Fix for recent bevel cap option
...
"Holes" used to be ignored (i.e. when using "Text" as bevel object "e" wouldn't have a "hole").
Resolved by collecting all polys needed for top and bottom cap and filling them at once
2012-02-02 18:50:44 +00:00
Sergey Sharybin
aef11b52d0
Added option to fill caps of bevelled curves.
...
It can be found in Shape panel below Fill label. If this option is enabled,
caps of curve will be filled.
2012-02-02 15:15:52 +00:00
Brecht Van Lommel
4aaf59324e
Fix #27213 : editing color ramp "Pos:" number value did not update the ramp
...
properly, when moving the current point before another.
2012-02-02 14:07:24 +00:00
Brecht Van Lommel
8f01ad9bf8
Fix #29056 : keymapping NDOF motion events not working correct. Motion even type
...
was missing in python.
2012-02-02 13:35:19 +00:00
Brecht Van Lommel
01d0e279db
Fix related to #30053 : crash rendering scene strips without a scene (due to missing library).
2012-02-02 13:21:38 +00:00
Domino Marama
5d6527dd3e
Patch #29705 : Collada export didn't export mesh name.
...
Added name= parameter to geometry nodes in Collada export
2012-02-02 10:34:44 +00:00
Sergey Sharybin
6a30321434
Fix #29381 : Navmeshs frees not guarded allocated memory and leaked
...
There were two issues discovered:
- Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object
- KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded
freeing stuff to free used memory, producing error messages in the console and leading to
memory leak.
Wasn't actually harmful for users -- there was no memory corruptions and error happens only
when object was set up in a way when navmesh can't work in theory.
2012-02-02 08:48:43 +00:00
Campbell Barton
722e0d38ac
Code Cleanup: de-duplicate bone space calculation ~(35 sloc)
2012-02-02 08:47:46 +00:00
Campbell Barton
ab4dbc6d78
fix [ #30051 ] Copy Scale constraint overrides Inherit Scale from parent
...
space conversion in constraint code ignored inherit scale option.
2012-02-02 08:04:06 +00:00
Campbell Barton
38ad71f0fa
Cleanup Only: replace numbers with defines.
2012-02-02 07:37:44 +00:00