9 years agosvn merge ^/trunk/blender -r43976:43995
Campbell Barton [Thu, 9 Feb 2012 01:53:14 +0000 (01:53 +0000)]
svn merge ^/trunk/blender -r43976:43995

9 years agoFix for hardcoded to scons rules python abi flags and wrong behavior
Sergey Sharybin [Wed, 8 Feb 2012 17:17:19 +0000 (17:17 +0000)]
Fix for hardcoded to scons rules python abi flags and wrong behavior
of python bundling on systems where python is installed to /usr/lib64

Now ABI flags are automatically detecting (by checking all available flags
and checking if there's include directory exists for flag).
Also, automatically set PYTHON_LIBPATH to /usr/lib64 if python
scripts are stored in this folder.
Bundling python on *nix platforms is now checks if python is installed
to lib64 directory and if it is, python will be bundled to lib64
folder instead of lib.

This will make building on openSUSE a bit less annoying

9 years agoFix #30004: cycles brightness/contrast node issues. The formula used did not work
Brecht Van Lommel [Wed, 8 Feb 2012 17:09:30 +0000 (17:09 +0000)]
Fix #30004: cycles brightness/contrast node issues. The formula used did not work
very well for colors that can be outside of the 0.0..1.0 range, giving +/- infinity

Now we just use a simple linear contrast factor as proposed by Paolo Sourvinos, and
clamp values to be >= 0, and also make the parameters work more in the 0..1 range
instead of the 0..100 range, to be more consistent with other nodes.

9 years agoFix #30071: crash with cycles glsl, textures functions (which are stubs still)
Brecht Van Lommel [Wed, 8 Feb 2012 16:48:26 +0000 (16:48 +0000)]
Fix #30071: crash with cycles glsl, textures functions (which are stubs still)
got out of sync with node changes.

9 years agocorrect 2 sphinx warnings.
Campbell Barton [Wed, 8 Feb 2012 16:36:04 +0000 (16:36 +0000)]
correct 2 sphinx warnings.

9 years agoUse the same fancy compile output for .cc files as for .cpp files
Sergey Sharybin [Wed, 8 Feb 2012 15:54:00 +0000 (15:54 +0000)]
Use the same fancy compile output for .cc files as for .cpp files

9 years agosmall speedup for BM_SelectMode_Flush()
Campbell Barton [Wed, 8 Feb 2012 15:00:03 +0000 (15:00 +0000)]
small speedup for BM_SelectMode_Flush()
- don't check selected vertices for hidden faces.
- rather then counting total selected verts for a face, break out of the for() loop when an unselected vert is found.

9 years agofix [#30103] Select vertex groups works only in vertex select mode
Campbell Barton [Wed, 8 Feb 2012 14:29:14 +0000 (14:29 +0000)]
fix [#30103] Select vertex groups works only in vertex select mode

add selection flushing matching whats in trunk.

9 years agoadd bake action into animation menu - this nifty operator wasn't available anywhere...
Campbell Barton [Wed, 8 Feb 2012 14:01:47 +0000 (14:01 +0000)]
add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.

9 years agofix [#30101] Vertex colors disappear after leaving edit mode
Campbell Barton [Wed, 8 Feb 2012 11:52:44 +0000 (11:52 +0000)]
fix [#30101] Vertex colors disappear after leaving edit mode

this commit makes vertex paint check if it needs to rebuild the modifier stack when painting.
- when painting with no modifiers, do partial updates from polys to tessfaces while painting, skip re-tesselation.
- when painting onto a modified mesh, dont bother adjusting tessface colors - since the modifier stack will do this anyway.

both cases should be faster then before.

9 years agoFix for duplicated vertices in UV sphere when it's creating with large radius.
Sergey Sharybin [Wed, 8 Feb 2012 11:04:56 +0000 (11:04 +0000)]
Fix for duplicated vertices in UV sphere when it's creating with large radius.

Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.

9 years agoMovie Clip Editor: manual calibration will now respect GP layer's hidden flag
Sergey Sharybin [Wed, 8 Feb 2012 09:40:34 +0000 (09:40 +0000)]
Movie Clip Editor: manual calibration will now respect GP layer's hidden flag

9 years agouse MPoly's rather then MFaces (since these don't necessarily exist) for drawing...
Campbell Barton [Wed, 8 Feb 2012 09:07:24 +0000 (09:07 +0000)]
use MPoly's rather then MFaces (since these don't necessarily exist) for drawing game engine bitmap font text.

minor edits to draw_tface_mapped__set_draw() to make it more efficient.

9 years agoCode Cleanup:
Campbell Barton [Wed, 8 Feb 2012 09:02:10 +0000 (09:02 +0000)]
Code Cleanup:

macro for copying polygon settings

9 years agoFix #30102: Vertex and edge incorrect selections
Sergey Sharybin [Wed, 8 Feb 2012 07:20:49 +0000 (07:20 +0000)]
Fix #30102: Vertex and edge incorrect selections

Select Linked operator was setting Limit by Seams property automatically
depending on current selection mode. But this property only used to be
set to truth if selection mode is set to Face, in other cases this property
is being reused from previous operator run. This leads to incorrect
behavior of selecting linked in vertex mode after this operator was
used in face selection mode.

9 years agoCode cleanup: remove duplicate OR'ing of CD_MASK_MDISPS.
Nicholas Bishop [Wed, 8 Feb 2012 05:52:52 +0000 (05:52 +0000)]
Code cleanup: remove duplicate OR'ing of CD_MASK_MDISPS.

9 years agosvn merge ^/trunk/blender -r43934:43976
Campbell Barton [Wed, 8 Feb 2012 05:45:16 +0000 (05:45 +0000)]
svn merge ^/trunk/blender -r43934:43976

9 years agofix [#30090] Cloth modifier related crash when loading old file
Campbell Barton [Wed, 8 Feb 2012 05:20:23 +0000 (05:20 +0000)]
fix [#30090] Cloth modifier related crash when loading old file

own fault when adding int64 support. `void` type was being used to workaround a different bug in the ClothSimSettings struct.

9 years agoCorrect mathutils documentation, also correct some python spelling errors and add...
Campbell Barton [Wed, 8 Feb 2012 04:37:37 +0000 (04:37 +0000)]
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`

9 years agoCode cleanup: spelling fix, Tesselection->tesselation
Nicholas Bishop [Wed, 8 Feb 2012 04:21:10 +0000 (04:21 +0000)]
Code cleanup: spelling fix, Tesselection->tesselation

9 years agoFix #30081: the fix for #30026 related to rendering indirect/environment light
Brecht Van Lommel [Tue, 7 Feb 2012 21:04:10 +0000 (21:04 +0000)]
Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.

9 years agoFix #30061: cycles single render layer through python operator parameter not
Brecht Van Lommel [Tue, 7 Feb 2012 20:51:33 +0000 (20:51 +0000)]
Fix #30061: cycles single render layer through python operator parameter not

9 years agoReturned back maximal value of bitrate. Higher values are actually makes sense with...
Sergey Sharybin [Tue, 7 Feb 2012 20:39:51 +0000 (20:39 +0000)]
Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only.

9 years agoFix for wrong pixel format used for qtrle
Sergey Sharybin [Tue, 7 Feb 2012 20:39:40 +0000 (20:39 +0000)]
Fix for wrong pixel format used for qtrle

9 years agoFix #30089: crash with cycles viewport rendering while in text edit mode.
Brecht Van Lommel [Tue, 7 Feb 2012 18:08:15 +0000 (18:08 +0000)]
Fix #30089: crash with cycles viewport rendering while in text edit mode.
Cause was Object.to_mesh(), which could cause invalid memory access when
calling it on text objects in edit mode.

9 years agoStyle Cleanup:
Campbell Barton [Tue, 7 Feb 2012 17:42:46 +0000 (17:42 +0000)]
Style Cleanup:

replace 0/1 with TRUE/FALSE define.

9 years agoFix #30049: cycles noise texture producing nan values with some
Brecht Van Lommel [Tue, 7 Feb 2012 17:32:01 +0000 (17:32 +0000)]
Fix #30049: cycles noise texture producing nan values with some
texture coordinates, due to int overflow.

Also minor tweak in shader code to avoid copying uninitialized
values, should have no effect though because they were not used.

9 years agoFix #30086: cycles background render printing same status text twice.
Brecht Van Lommel [Tue, 7 Feb 2012 17:22:47 +0000 (17:22 +0000)]
Fix #30086: cycles background render printing same status text twice.

9 years agoFFmpeg output fixes and small improvement
Sergey Sharybin [Tue, 7 Feb 2012 17:11:56 +0000 (17:11 +0000)]
FFmpeg output fixes and small improvement

Most part of this commit fixes issues with FFmpeg output with
currently supported codecs:

- avcodec_encode_video might return zero which doesn't mean error
  happened, but blender will handle this as error and will stop
  rendering to video file.
- Changing output video codec wouldn't update "expert" options
  set for video output which leads to some sideeffects like
  ignored Lossless option for x264 codec.

This fixes allowed to add QTRLE codec easily.

9 years agoremove BMFlagLayer.index, (saves 4 bytes of memory per vert/edge/face)
Campbell Barton [Tue, 7 Feb 2012 17:10:50 +0000 (17:10 +0000)]
remove BMFlagLayer.index, (saves 4 bytes of memory per vert/edge/face)

9 years agoFix #30076: RenderLayer area blocks mouse scrolling
Sergey Sharybin [Tue, 7 Feb 2012 16:53:14 +0000 (16:53 +0000)]
Fix #30076: RenderLayer area blocks mouse scrolling

In fact all list templates used to block mouse scroll. It's because mouse
scrolls list's scroll bar. But mouse scroll also used to be "eaten" even
if there's no scroll in list template.
This commit makes scroll even be ignored by list templates if there's
no scroll bar on list.

9 years agointernal change to bmesh_jfke():
Campbell Barton [Tue, 7 Feb 2012 16:45:05 +0000 (16:45 +0000)]
internal change to bmesh_jfke():

remove last use of BMFlagLayer.index, instead use a flag to tag the vertices.
this loops over face loops too less times as well.

9 years agoStyle Cleanup
Campbell Barton [Tue, 7 Feb 2012 16:24:36 +0000 (16:24 +0000)]
Style Cleanup

9 years agospeedup for edge split modifier/operator
Campbell Barton [Tue, 7 Feb 2012 16:08:19 +0000 (16:08 +0000)]
speedup for edge split modifier/operator
- don't call 'del' operator now, expose the internal function instead.
- use the index values stored in the header rather then the operator.

9 years agoFix [#30099] Wrong python path returned. "" instead of expected "bpy...
Bastien Montagne [Tue, 7 Feb 2012 15:14:08 +0000 (15:14 +0000)]
Fix [#30099] Wrong python path returned. "" instead of expected "".

The "plural" name for ID_KE was wrong in idcode.c (bke), not matching the MainCollectionDef one used in rna_main.c.

Checked the others too, everything seems ok now.

9 years agoCode Cleanup:
Campbell Barton [Tue, 7 Feb 2012 15:11:34 +0000 (15:11 +0000)]
Code Cleanup:
rename BM_remove_tagged_* --> BMO_remove_tagged_*

also make the delete flag to check into an argument.

9 years agomake clear_flag_layer() validate index arrays.
Campbell Barton [Tue, 7 Feb 2012 14:45:18 +0000 (14:45 +0000)]
make clear_flag_layer() validate index arrays.

9 years agoFix #30052: VSE: metastrips don't move with Extend (E)
Sergey Sharybin [Tue, 7 Feb 2012 14:27:08 +0000 (14:27 +0000)]
Fix #30052: VSE: metastrips don't move with Extend (E)

Issue was caused by transformation tools weren't taking metastrip clips into
account, so strip inside of merastrips are placedon different from metastrip side
of time cursor, extension happened in unexcpected way.

9 years agoCode Cleanup:
Campbell Barton [Tue, 7 Feb 2012 14:01:34 +0000 (14:01 +0000)]
Code Cleanup:

BMesh  operator flag was being passed around as in int, but the value is infact a short. use short for all functions now.

9 years agoCode Cleanup:
Campbell Barton [Tue, 7 Feb 2012 13:54:16 +0000 (13:54 +0000)]
Code Cleanup:
- use 'oflag' for operator flag arguments.
- use TRUE/FALSE for some bool args

9 years agoFix #30094: Subdivision Surfaces Modifier corrupts Copy Location
Sergey Sharybin [Tue, 7 Feb 2012 13:29:58 +0000 (13:29 +0000)]
Fix #30094: Subdivision Surfaces Modifier corrupts Copy Location

Issue was caused because of missed MDeformVert layer on subdivided cube.
If regular object is constrained to mesh object, extra customdata mask
is adding to such target. But armature bones are handling separately
and there was no such thing happens.
Ideally this code should be deduplicated to avoid such kind of issues,
but better not to do it so close before release.

9 years agoCode Cleanup: remove unused operator flags
Campbell Barton [Tue, 7 Feb 2012 13:10:01 +0000 (13:10 +0000)]
Code Cleanup: remove unused operator flags

9 years agoFix #30091: Shift-Ctrl-Alt-RMB problem in face mode
Sergey Sharybin [Tue, 7 Feb 2012 12:47:17 +0000 (12:47 +0000)]
Fix #30091: Shift-Ctrl-Alt-RMB problem in face mode

Select Edge Rings with extension policy wasn't working properly in
face selection mode because it's used to call Select Loop operator
because edge rings can be selected only in verts/edges mode.
On this call of another operator extension policy wasn't set to
newly calling operator.
Now Select Edge Rings still calls Select Loops (which is a bit nasty)
but properly sets extension flag.

9 years agoFix for [#29910] Crash on reading KX_SoundActuator.sound
Joerg Mueller [Tue, 7 Feb 2012 11:22:50 +0000 (11:22 +0000)]
Fix for [#29910] Crash on reading KX_SoundActuator.sound

aud is now imported automatically on BGE start.

9 years agoStyle Cleanup: whitespace and some formatting.
Campbell Barton [Tue, 7 Feb 2012 08:50:24 +0000 (08:50 +0000)]
Style Cleanup: whitespace and some formatting.

9 years agoCode Cleanup: remove unused preset variable.
Campbell Barton [Tue, 7 Feb 2012 06:53:19 +0000 (06:53 +0000)]
Code Cleanup: remove unused preset variable.

9 years agoDocumentation: add missing info about the fileselectior using hard coded property...
Campbell Barton [Tue, 7 Feb 2012 06:07:02 +0000 (06:07 +0000)]
Documentation: add missing info about the fileselectior using hard coded property names.

9 years agoStyle Cleanup: capitalize struct names
Campbell Barton [Tue, 7 Feb 2012 03:56:35 +0000 (03:56 +0000)]
Style Cleanup: capitalize struct names

9 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.

9 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.

9 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.

9 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.

9 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

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

9 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.

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

9 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

9 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.

9 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

9 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).

9 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.

9 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.

9 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

9 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

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

9 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.

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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

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

9 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).

9 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.

9 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

9 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

9 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.

9 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.

9 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.

9 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.

9 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.

9 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?

9 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

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

9 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.

9 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.

9 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).

9 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.

9 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.

9 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)

9 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.

9 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

9 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.