8 years agofix for remesh (infact any modifier that uses tessface's) not displaying geometry...
Campbell Barton [Tue, 7 Feb 2012 03:03:09 +0000 (03:03 +0000)]
fix for remesh (infact any modifier that uses tessface's) not displaying geometry in editmode.

the bug was in CDDM_from_BMEditMesh which would create tessfaces even when use_tessface==FALSE.

8 years agoBMesh: Bugfix for infinite loop in r43937.
Nicholas Bishop [Tue, 7 Feb 2012 01:50:25 +0000 (01:50 +0000)]
BMesh: Bugfix for infinite loop in r43937.

Infinite loop occured when quad-to-triangles operator.

The iterator increment in the do/while conditional gets executed after
the continue, so the iterator was getting double-incremented and thus
could skip past the first loop.

8 years agoStyle Cleanup, use TRUE/FALSE defines.
Campbell Barton [Tue, 7 Feb 2012 01:46:47 +0000 (01:46 +0000)]
Style Cleanup, use TRUE/FALSE defines.

8 years agoBMesh remesh modifier: create MPolys/MLoops directly rather than MFaces.
Nicholas Bishop [Tue, 7 Feb 2012 01:20:49 +0000 (01:20 +0000)]
BMesh remesh modifier: create MPolys/MLoops directly rather than MFaces.

This is also a bugfix, face normals were not showing correctly for the
remesh output.

8 years agoCode cleanup for BMesh CDDM access functions, no functional changes.
Nicholas Bishop [Tue, 7 Feb 2012 01:13:04 +0000 (01:13 +0000)]
Code cleanup for BMesh CDDM access functions, no functional changes.

Renamed CDDM_get_face() to CDDM_get_poly() to match array access
functions. Added function definitions for CDDM_get_loop() and

8 years agoStyle Cleanup
Campbell Barton [Tue, 7 Feb 2012 00:13:29 +0000 (00:13 +0000)]
Style Cleanup

8 years agouse more optimal method of looping over face loops.
Campbell Barton [Mon, 6 Feb 2012 23:48:42 +0000 (23:48 +0000)]
use more optimal method of looping over face loops.

8 years agorename defines to upper case.
Campbell Barton [Mon, 6 Feb 2012 22:57:25 +0000 (22:57 +0000)]
rename defines to upper case.

8 years agosvn merge ^/trunk/blender -r43918:43934
Campbell Barton [Mon, 6 Feb 2012 22:21:41 +0000 (22:21 +0000)]
svn merge ^/trunk/blender -r43918:43934

8 years agoCode Cleanup:
Campbell Barton [Mon, 6 Feb 2012 22:17:41 +0000 (22:17 +0000)]
Code Cleanup:

don't call CTX_data_scene(C) for every marker drawn
also remove unneeded call when scene was already defined as well as redundant scene cast.

8 years agouv sculpting now functional on bmesh
Antony Riakiotakis [Mon, 6 Feb 2012 21:00:50 +0000 (21:00 +0000)]
uv sculpting now functional on bmesh

8 years agoPorted UvElementMap code to bmesh, still untested but at least compiling.
Antony Riakiotakis [Mon, 6 Feb 2012 19:25:12 +0000 (19:25 +0000)]
Ported UvElementMap code to bmesh, still untested but at least compiling.
Next, uv sculpting will be ported.
Also fixed "initializer element is not computable at load time" compile error caused due to bit-shifting a constant past its precision length (1L should be 1LL for 32 positions left shift).

8 years agoBugfix for part 1 of [#30052].
Joerg Mueller [Mon, 6 Feb 2012 17:24:51 +0000 (17:24 +0000)]
Bugfix for part 1 of [#30052].

Removed the if, because it's also in the function called.

8 years agoCode Cleanup: comment, remove or use unused functions.
Campbell Barton [Mon, 6 Feb 2012 09:39:47 +0000 (09:39 +0000)]
Code Cleanup: comment, remove or use unused functions.

8 years agofix [#30083] Sculpt not redrawing with plain mesh
Campbell Barton [Mon, 6 Feb 2012 06:56:54 +0000 (06:56 +0000)]
fix [#30083] Sculpt not redrawing with plain mesh

8 years agoStyle Cleanup: edits for line length
Campbell Barton [Mon, 6 Feb 2012 06:26:54 +0000 (06:26 +0000)]
Style Cleanup: edits for line length

8 years agoadd in gpl headers
Campbell Barton [Mon, 6 Feb 2012 06:10:11 +0000 (06:10 +0000)]
add in gpl headers

8 years agoCode Style: more code style edits.
Campbell Barton [Mon, 6 Feb 2012 06:03:46 +0000 (06:03 +0000)]
Code Style: more code style edits.

8 years agoreplace some hard coded limits with defines
Campbell Barton [Mon, 6 Feb 2012 05:18:08 +0000 (05:18 +0000)]
replace some hard coded limits with defines

8 years agoStyle Cleanup: bmesh code style was a bit mixed - follow
Campbell Barton [Mon, 6 Feb 2012 04:37:27 +0000 (04:37 +0000)]
Style Cleanup: bmesh code style was a bit mixed - follow

8 years agoMinor Improvements...
Campbell Barton [Sun, 5 Feb 2012 23:09:07 +0000 (23:09 +0000)]
Minor Improvements...
- more efficient array growing
- use BM_NGON_STACK_SIZE for more static arrays
- dont use BLI_array for bevel code where size is known.

8 years agoremove invalid enum setting in MESH_OT_extrude_vertices_move macro.
Campbell Barton [Sun, 5 Feb 2012 22:32:32 +0000 (22:32 +0000)]
remove invalid enum setting in MESH_OT_extrude_vertices_move macro.

8 years agogrid size was being ignored for grid and plane primitives
Campbell Barton [Sun, 5 Feb 2012 22:27:44 +0000 (22:27 +0000)]
grid size was being ignored for grid and plane primitives

8 years agonew plane size wasn'nt 2x2
Campbell Barton [Sun, 5 Feb 2012 22:19:27 +0000 (22:19 +0000)]
new plane size wasn'nt 2x2

8 years agosvn merge ^/trunk/blender -r43887:43918
Campbell Barton [Sun, 5 Feb 2012 22:13:10 +0000 (22:13 +0000)]
svn merge ^/trunk/blender -r43887:43918

8 years agono functional change: NC_SPACE|ND_SPACE_VIEW3D notifier was getting an Object as...
Campbell Barton [Sun, 5 Feb 2012 21:58:24 +0000 (21:58 +0000)]
no functional change: NC_SPACE|ND_SPACE_VIEW3D notifier was getting an Object as a reference, currently this argument isn't used, but every other use passes a view3d, so better pass a view3d here too.

8 years agofix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync
Campbell Barton [Sun, 5 Feb 2012 21:48:41 +0000 (21:48 +0000)]
fix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync

missing notifier for header redraw.

8 years agoPatch #30050 by Juha Mäki-Kanto (kanttori)
Domino Marama [Sun, 5 Feb 2012 16:19:28 +0000 (16:19 +0000)]
Patch #30050 by Juha Mäki-Kanto (kanttori)

Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space

8 years agoRelease schedule:
Thomas Dinges [Sun, 5 Feb 2012 16:05:36 +0000 (16:05 +0000)]
Release schedule:
* BCon4, important bug fixes only.
* Update readme.html and links to release logs, which now point to

8 years agoFix for [#30044] on windows
Alexander Kuznetsov [Sun, 5 Feb 2012 16:05:20 +0000 (16:05 +0000)]
Fix for [#30044] on windows

We don't know how ALT key modifies the key, so utf=0;
That way Text Object can handle it.

* Should be removed when we able to support different keyboards on Windows

8 years agoCode Cleanup: style change only
Campbell Barton [Sun, 5 Feb 2012 15:55:28 +0000 (15:55 +0000)]
Code Cleanup: style change only

8 years agooptimization for interpolating between vertices when the factor is 0 or 1 (1 is used...
Campbell Barton [Sun, 5 Feb 2012 14:33:59 +0000 (14:33 +0000)]
optimization for interpolating between vertices when the factor is 0 or 1 (1 is used frequently).

8 years agofix for memory leak in bmesh_jekv(); --- dissolve would not free deform weights in...
Campbell Barton [Sun, 5 Feb 2012 14:07:25 +0000 (14:07 +0000)]
fix for memory leak in bmesh_jekv(); --- dissolve would not free deform weights in some cases.

8 years agoMovie Clip Editor: cleanup of display panels
Sergey Sharybin [Sun, 5 Feb 2012 13:43:58 +0000 (13:43 +0000)]
Movie Clip Editor: cleanup of display panels

- Split display options into two panels:
  * Display, which contains all general display options related on editor itself
  * Marker Display, which contains options which makes sense for markers themselves
   and not used so often.
- Remove Show GPencil option which doesn't actually make sense because strokes might
  be disabled from GPencil panel
- Removed Show Pyramid option and show pyramid for KLT tracker as default.
- Added hotkey to toggle Show Disabled (Alt-D)
- Added hotkey to toggle Show Pattern (Alt-S)

Changes in interface and hotkeys are done by Sebastian Koenig.
 Thanks for the patch!

Own changes in interface were related on Aspect Ratio. It doesn't make
much sense for tracking (camera pixel aspect is what you'll want to use,
but for masking it would make much more sense because when you just
want to create a mask for footage you don't actually have camera).
Just removing from interface seems not so nice for now.

Merged from soc-2011-tomato rev43872

8 years agoCode Cleanup: use vector functions for copying / adding UV's
Campbell Barton [Sun, 5 Feb 2012 13:25:42 +0000 (13:25 +0000)]
Code Cleanup: use vector functions for copying / adding UV's

8 years agoBGE bug #18883: Softbodies being hit by ghost objects. Added a one liner fix in...
Benoit Bolsee [Sun, 5 Feb 2012 13:04:13 +0000 (13:04 +0000)]
BGE bug #18883: Softbodies being hit by ghost objects.  Added a one liner fix in Bullet. I will also report the fix to Erwin so that it can be added to next Bullet version.

8 years agoFix #30073: metaball + edit mode + proportinal edit hotkey
Sergey Sharybin [Sun, 5 Feb 2012 11:42:20 +0000 (11:42 +0000)]
Fix #30073: metaball + edit mode + proportinal edit hotkey

Was missed registration of PET toggling operators.

8 years agosupport for 'origspace' data layer - used for hair on subsurf mesh.
Campbell Barton [Sun, 5 Feb 2012 11:30:26 +0000 (11:30 +0000)]
support for 'origspace' data layer - used for hair on subsurf mesh.

currently only works for 3/4 sided faces.

8 years agopass wcol check as an argument rather then checking on every loop.
Campbell Barton [Sun, 5 Feb 2012 10:15:54 +0000 (10:15 +0000)]
pass wcol check as an argument rather then checking on every loop.

8 years agoBGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before...
Benoit Bolsee [Sun, 5 Feb 2012 09:32:35 +0000 (09:32 +0000)]
BGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before creating the soft body.

8 years agowin32 quicktime: missing include. How comes nobody else got this problem?
Benoit Bolsee [Sun, 5 Feb 2012 09:29:53 +0000 (09:29 +0000)]
win32 quicktime: missing include. How comes nobody else got this problem?

8 years agosync with trunk
Campbell Barton [Sun, 5 Feb 2012 08:18:34 +0000 (08:18 +0000)]
sync with trunk
- renamed vars
- calloc --> malloc
- remove some redundant code

8 years agosync changes from trunk.
Campbell Barton [Sun, 5 Feb 2012 07:44:40 +0000 (07:44 +0000)]
sync changes from trunk.

8 years agoCode Cleanup: minor changes & sync with bmesh.
Campbell Barton [Sun, 5 Feb 2012 07:40:15 +0000 (07:40 +0000)]
Code Cleanup: minor changes & sync with bmesh.

8 years agoensure tessface's are available while sculpting.
Campbell Barton [Sun, 5 Feb 2012 07:12:46 +0000 (07:12 +0000)]
ensure tessface's are available while sculpting.

8 years agofix for error in recent commit. passing totface rather then totpoly, also add asserts...
Campbell Barton [Sun, 5 Feb 2012 07:09:30 +0000 (07:09 +0000)]
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).

8 years agoadd function for getting a polygon map: dm->getPolyMap(ob, dm).
Campbell Barton [Sun, 5 Feb 2012 06:20:51 +0000 (06:20 +0000)]
add function for getting a polygon map: dm->getPolyMap(ob, dm).
polygon version of dm->getFaceMap(ob, dm)

sculpt uses this for checking connectivity.

8 years agofix for vpaint fill not working, check loopcol rather then tessface color.
Campbell Barton [Sun, 5 Feb 2012 04:40:45 +0000 (04:40 +0000)]
fix for vpaint fill not working, check loopcol rather then tessface color.

8 years agoupdate sculpt mode not to rely on tesselated faces (use MPoly's instead, saves slowdo...
Campbell Barton [Sun, 5 Feb 2012 04:11:34 +0000 (04:11 +0000)]
update sculpt mode not to rely on tesselated faces (use MPoly's instead, saves slowdown of having to maintain tesselation of base mesh data)

8 years agofix for weight paint face selection.
Campbell Barton [Sun, 5 Feb 2012 03:25:13 +0000 (03:25 +0000)]
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.

8 years agosvn merge ^/trunk/blender -r43864:43887
Campbell Barton [Sun, 5 Feb 2012 02:30:30 +0000 (02:30 +0000)]
svn merge ^/trunk/blender -r43864:43887

8 years agoCode Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.
Campbell Barton [Sun, 5 Feb 2012 02:04:26 +0000 (02:04 +0000)]
Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.

8 years agoFix for Luxrender boost::thread conflict, workaround now is to just not use it
Brecht Van Lommel [Sat, 4 Feb 2012 19:58:09 +0000 (19:58 +0000)]
Fix for Luxrender boost::thread conflict, workaround now is to just not use it
in cycles and use pthreads instead.

8 years agoFix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
Brecht Van Lommel [Sat, 4 Feb 2012 19:57:09 +0000 (19:57 +0000)]
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.

8 years agoBGE bug #29133: Render to Texture not working. Fixed by using same viewport to render...
Benoit Bolsee [Sat, 4 Feb 2012 17:20:38 +0000 (17:20 +0000)]
BGE bug #29133: Render to Texture not working. Fixed by using same viewport to render and capture.

8 years agoBring BME_bevel code back (stage 1), porting it from the old BKE_bmesh to the new...
Andrew Wiggin [Sat, 4 Feb 2012 14:23:07 +0000 (14:23 +0000)]
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.

8 years agofix [#29947] Blender crashes when duplicate bones
Campbell Barton [Sat, 4 Feb 2012 11:59:09 +0000 (11:59 +0000)]
fix [#29947] Blender crashes when duplicate bones

missing NULL check.

8 years agofix [#30068] Link Empty to Track python error
Campbell Barton [Sat, 4 Feb 2012 11:12:18 +0000 (11:12 +0000)]
fix [#30068] Link Empty to Track python error

incorrect attribute used (likely code added since last release).

8 years agoCode Cleanup: pep8 edits
Campbell Barton [Sat, 4 Feb 2012 11:10:41 +0000 (11:10 +0000)]
Code Cleanup: pep8 edits

8 years agoFix MinGW compilation due to recent font rendering changes.
Antony Riakiotakis [Sat, 4 Feb 2012 10:02:59 +0000 (10:02 +0000)]
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

8 years agoCode Cleanup: avoid double promotion.
Campbell Barton [Sat, 4 Feb 2012 06:55:29 +0000 (06:55 +0000)]
Code Cleanup: avoid double promotion.

8 years agoFix for aliased fonts in the game engine.
Alex Fraser [Sat, 4 Feb 2012 01:51:59 +0000 (01:51 +0000)]
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.

8 years agofix [#30060] printed twice
Campbell Barton [Sat, 4 Feb 2012 00:36:55 +0000 (00:36 +0000)]
fix [#30060] printed twice

8 years agoFix #30064: Image editor: paint on image, rename image, undo -> crash
Sergey Sharybin [Fri, 3 Feb 2012 20:12:21 +0000 (20:12 +0000)]
Fix #30064: Image editor: paint on image, rename image, undo -> crash

8 years agoFix #30028: VSE Paste Strip Crash
Sergey Sharybin [Fri, 3 Feb 2012 13:08:44 +0000 (13:08 +0000)]
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.

8 years agofix for crash converting a curve into a mesh (Alt+C conversion), this would crash...
Campbell Barton [Fri, 3 Feb 2012 04:58:55 +0000 (04:58 +0000)]
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.

8 years agofix [#30057] Bezier Curve bad centering
Campbell Barton [Fri, 3 Feb 2012 02:36:03 +0000 (02:36 +0000)]
fix [#30057] Bezier Curve bad centering

8 years agofix for curves drawing as wire once modifiers were applied.
Campbell Barton [Fri, 3 Feb 2012 01:59:13 +0000 (01:59 +0000)]
fix for curves drawing as wire once modifiers were applied.

tesselate final curve derived mesh for drawing

8 years agosvn merge ^/trunk/blender -r43830:43864
Campbell Barton [Fri, 3 Feb 2012 01:30:21 +0000 (01:30 +0000)]
svn merge ^/trunk/blender -r43830:43864

8 years agofix [#27953] VSE: weird drawing and placement issues strips during 'E'
Campbell Barton [Fri, 3 Feb 2012 01:06:32 +0000 (01:06 +0000)]
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.

8 years agoMinor Speedup: avoid for() loop over all faces in fluidsim by passing an example...
Campbell Barton [Thu, 2 Feb 2012 23:58:46 +0000 (23:58 +0000)]
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).

8 years agoFix #30043: typing ctrl+Z in text field adds a square. For ascii these control
Brecht Van Lommel [Thu, 2 Feb 2012 21:46:29 +0000 (21:46 +0000)]
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.

8 years agoFix #29921: render rasterization error in a corner case, only happened on 32bit
Brecht Van Lommel [Thu, 2 Feb 2012 21:46:11 +0000 (21:46 +0000)]
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.

8 years agoCode Cleanup: check is / is not when comparing singletons.
Campbell Barton [Thu, 2 Feb 2012 21:07:56 +0000 (21:07 +0000)]
Code Cleanup: check is / is not when comparing singletons.

8 years agofix [#29980] Fluid only displays wireframe
Campbell Barton [Thu, 2 Feb 2012 20:58:56 +0000 (20:58 +0000)]
fix [#29980] Fluid only displays wireframe

fluid sim was creating tessfaces only - when the modifier stack expects MPoly's

8 years agofix [#30007] Mesh Edit: hidden geometry causes crash when...
Campbell Barton [Thu, 2 Feb 2012 20:36:34 +0000 (20:36 +0000)]
fix [#30007] Mesh Edit: hidden geometry causes crash when...

transform was not skipping hidden vertices.

8 years agofix [#30054] Bridge edge loops crashes attached .blend
Campbell Barton [Thu, 2 Feb 2012 19:51:53 +0000 (19:51 +0000)]
fix [#30054] Bridge edge loops crashes attached .blend

8 years agoCode Cleanup: change CLAMP_INDEX into a static function.
Campbell Barton [Thu, 2 Feb 2012 19:38:41 +0000 (19:38 +0000)]
Code Cleanup: change CLAMP_INDEX into a static function.

8 years agoCamera tracking: fix for Clean Tracks operator which used to always use
Sergey Sharybin [Thu, 2 Feb 2012 19:37:50 +0000 (19:37 +0000)]
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.

8 years agoDisallow fill caps for curves without bevel object.
Sergey Sharybin [Thu, 2 Feb 2012 19:20:51 +0000 (19:20 +0000)]
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.

8 years agoFix for recent bevel cap option
Sergey Sharybin [Thu, 2 Feb 2012 18:50:44 +0000 (18:50 +0000)]
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

8 years agoAdded option to fill caps of bevelled curves.
Sergey Sharybin [Thu, 2 Feb 2012 15:15:52 +0000 (15:15 +0000)]
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.

8 years agoFix #27213: editing color ramp "Pos:" number value did not update the ramp
Brecht Van Lommel [Thu, 2 Feb 2012 14:07:24 +0000 (14:07 +0000)]
Fix #27213: editing color ramp "Pos:" number value did not update the ramp
properly, when moving the current point before another.

8 years agoFix #29056: keymapping NDOF motion events not working correct. Motion even type
Brecht Van Lommel [Thu, 2 Feb 2012 13:35:19 +0000 (13:35 +0000)]
Fix #29056: keymapping NDOF motion events not working correct. Motion even type
was missing in python.

8 years agoFix related to #30053: crash rendering scene strips without a scene (due to missing...
Brecht Van Lommel [Thu, 2 Feb 2012 13:21:38 +0000 (13:21 +0000)]
Fix related to #30053: crash rendering scene strips without a scene (due to missing library).

8 years agoown attempted simplification to previous patch was incorrect.
Campbell Barton [Thu, 2 Feb 2012 11:12:41 +0000 (11:12 +0000)]
own attempted simplification to previous patch was incorrect.

8 years agopatch from Peter Stern to fix CMake building on OSX (without manual editing of config...
Campbell Barton [Thu, 2 Feb 2012 11:08:48 +0000 (11:08 +0000)]
patch from Peter Stern to fix CMake building on OSX (without manual editing of configuration)

8 years agoPatch #29705: Collada export didn't export mesh name.
Domino Marama [Thu, 2 Feb 2012 10:34:44 +0000 (10:34 +0000)]
Patch #29705: Collada export didn't export mesh name.
Added name= parameter to geometry nodes in Collada export

8 years agoFix #29381: Navmeshs frees not guarded allocated memory and leaked
Sergey Sharybin [Thu, 2 Feb 2012 08:48:43 +0000 (08:48 +0000)]
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.

8 years agoCode Cleanup: de-duplicate bone space calculation ~(35 sloc)
Campbell Barton [Thu, 2 Feb 2012 08:47:46 +0000 (08:47 +0000)]
Code Cleanup: de-duplicate bone space calculation ~(35 sloc)

8 years agofix [#30051] Copy Scale constraint overrides Inherit Scale from parent
Campbell Barton [Thu, 2 Feb 2012 08:04:06 +0000 (08:04 +0000)]
fix [#30051] Copy Scale constraint overrides Inherit Scale from parent

space conversion in constraint code ignored inherit scale option.

8 years agoCleanup Only: replace numbers with defines.
Campbell Barton [Thu, 2 Feb 2012 07:37:44 +0000 (07:37 +0000)]
Cleanup Only: replace numbers with defines.

8 years agofix [#28296] File selector crash when with filepath property
Campbell Barton [Thu, 2 Feb 2012 05:55:01 +0000 (05:55 +0000)]
fix [#28296] File selector crash when with filepath property

disable browsing a file property within the file selector to avoid a crash.

8 years ago* fix for error in shape transfer (wrong var name).
Campbell Barton [Thu, 2 Feb 2012 05:11:42 +0000 (05:11 +0000)]
* fix for error in shape transfer (wrong var name).
* fix for error alligning object to the view when no space was set.

also added blenderplayer start to CTest operator blacklist.

8 years agointernal cleanup, check.
Campbell Barton [Thu, 2 Feb 2012 04:59:30 +0000 (04:59 +0000)]
internal cleanup, check.

* remove duplicate operator, wasnt used.
* added check for duplicate types for CTest.

8 years agofix [#29666] Duplicate entries in bpy.types
Campbell Barton [Thu, 2 Feb 2012 04:43:35 +0000 (04:43 +0000)]
fix [#29666] Duplicate entries in bpy.types

Python operator subclasses and operator types each get their own SRNA, causing double ups for bpy.types.__dir__()

From the operator type - these share names.
* ot->ext.srna
* ot->srna

Note that this conflict is still there, this only disables 'ot->ext.srna' from being included in dir(bpy.types).

8 years agoFix for possible memory leak on creation of a vector using Vector.Range.
Andrew Hale [Thu, 2 Feb 2012 01:07:04 +0000 (01:07 +0000)]
Fix for possible memory leak on creation of a vector using Vector.Range.
It was possible to allocate an array of size<2 which would then raise an error on vector creation without freeing.

Fix to ensure the behaviour of Vector.Range was the same as for builtin range() function. When specifying 3 arguments, the step argument wasn't being used to correctly calculate the vector size.

Minor formatting edits for error messages.

8 years agosvn merge ^/trunk/blender -r43819:43830
Campbell Barton [Thu, 2 Feb 2012 00:04:47 +0000 (00:04 +0000)]
svn merge ^/trunk/blender -r43819:43830

8 years agoFixed typo in tracking context creation. Wasn't harmful because because of definition...
Sergey Sharybin [Wed, 1 Feb 2012 19:36:39 +0000 (19:36 +0000)]
Fixed typo in tracking context creation. Wasn't harmful because because of definition value,
but better avoid such confusing assignment.

8 years agoCamera tracking: regression fixed after recent frame postprocessing refactor
Sergey Sharybin [Wed, 1 Feb 2012 19:06:21 +0000 (19:06 +0000)]
Camera tracking: regression fixed after recent frame postprocessing refactor

No-proxied frames using for 2D tracking used to be putting to cache which lead
to extra memory usage which shouldn't happen.