9 years agoreplace python3 command with python3.2, python3 isnt available on ubuntu.
Campbell Barton [Tue, 1 May 2012 20:45:16 +0000 (20:45 +0000)]
replace python3 command with python3.2, python3 isnt available on ubuntu.

9 years agopatch [#31216] OpenGL urls updated by Julien DUROURE (julien)
Dalai Felinto [Tue, 1 May 2012 20:45:03 +0000 (20:45 +0000)]
patch [#31216] OpenGL urls updated by Julien DUROURE (julien)
update for the apidocs for the BGL module

9 years agosource code style checker to, (similar to pythons pep8 checker)
Campbell Barton [Tue, 1 May 2012 20:36:39 +0000 (20:36 +0000)]
source code style checker to, (similar to pythons pep8 checker)
currently checks for brace placement and some whitespace use.

can be accessed with:
  make test_style
  source/tools/  source/blender

also style cleanup on bmo_primitives.c

9 years agostyle cleanup: whitespace, braces
Campbell Barton [Tue, 1 May 2012 20:08:23 +0000 (20:08 +0000)]
style cleanup: whitespace, braces

9 years agocode cleanup: tag unused vars
Campbell Barton [Tue, 1 May 2012 18:57:32 +0000 (18:57 +0000)]
code cleanup: tag unused vars

9 years agostyle cleanup: guys - set your editors to tabs!
Campbell Barton [Tue, 1 May 2012 17:51:03 +0000 (17:51 +0000)]
style cleanup: guys - set your editors to tabs!

9 years agoRelated to #31213: rename Delete > Edges & Faces to Only Edges & Faces, to try
Brecht Van Lommel [Tue, 1 May 2012 17:44:00 +0000 (17:44 +0000)]
Related to #31213: rename Delete > Edges & Faces to Only Edges & Faces, to try
to make it more clear that this keeps vertices.

9 years agoFix #31202: cycles crash in new BVH builder on Windows, when compiling with
Brecht Van Lommel [Tue, 1 May 2012 17:17:17 +0000 (17:17 +0000)]
Fix #31202: cycles crash in new BVH builder on Windows, when compiling with
debug info.

9 years agoMotion Paths GUI Cleanup
Joshua Leung [Tue, 1 May 2012 16:19:13 +0000 (16:19 +0000)]
Motion Paths GUI Cleanup

This commit refactors the way that the Motion Paths GUI works. The key problems
this tries to address are:
1) Mode error - Confusion about whether we're dealing with the Object or Pose
level Motion Paths panel
2) Display settings vs Baking Settings

In line with the original design intentions for the 2.5/6 Properties Editor,
I've now split out the actual baking-related settings away from the Properties
* Now, when clicking "Calculate Paths" from the toolbar, you'll be prompted with
a dialog to select the start/end frames (and for bones, whether to bake from
heads or tails). This is less confusing than relying on firstly setting the
range via the display range settings (and baking using that), since many people
apparently only used the "around current" mode, and were confused why things
weren't working

* Added a display of the frame ranges of the current baked Motion Path on the
active Object/Bone. This makes it clearer/easier to debug if the path suddenly
starts disappearing after a certain frame.

* Replaced Calculate/Clear Paths in the panels with a single "Update" button if
there's already a baked Motion Path.

Hopefully these changes (in combination with some of the other bugfixes) will
make it more obvious how everything works.

9 years agoFix #31162: Applying textures to rigged models causes crash and no textures in appear...
Sergey Sharybin [Tue, 1 May 2012 15:59:28 +0000 (15:59 +0000)]
Fix #31162: Applying textures to rigged models causes crash and no textures in appear in edit mode

Issue was caused by doing stuff like binding textures from glBegin/glEnd block.

9 years agoFix #31110: selected to active baking did not properly check to see if the
Brecht Van Lommel [Tue, 1 May 2012 15:21:29 +0000 (15:21 +0000)]
Fix #31110: selected to active baking did not properly check to see if the
object was actually selected, so e.g. baking shadows cast from non-selected
objects did not work.

9 years agoFix own error in BM_mesh_remap(), forgot to remap edge pointers in disk_links of...
Bastien Montagne [Tue, 1 May 2012 14:13:14 +0000 (14:13 +0000)]
Fix own error in BM_mesh_remap(), forgot to remap edge pointers in disk_links of edges, so wasn’t working at all with edges remapping!

9 years agoComment fixes - code for Object Motion Paths still referred to Bones
Joshua Leung [Tue, 1 May 2012 13:51:50 +0000 (13:51 +0000)]
Comment fixes - code for Object Motion Paths still referred to Bones

9 years agostule cleanup: pep8
Campbell Barton [Tue, 1 May 2012 13:32:55 +0000 (13:32 +0000)]
stule cleanup: pep8

9 years agoBugfix [#30097] Motion paths range not correct - Part B (Recalculating existing
Joshua Leung [Tue, 1 May 2012 13:10:36 +0000 (13:10 +0000)]
Bugfix [#30097] Motion paths range not correct - Part B (Recalculating existing
paths with new ranges)

If an object/bone already had a motion path, it was not possible to recalculate
it over a different frame range without firstly clearing these paths. This was
both a confusing and troublesome workflow, and has since been removed.

9 years agoStyle cleanup: spaces around operator
Sergey Sharybin [Tue, 1 May 2012 12:51:17 +0000 (12:51 +0000)]
Style cleanup: spaces around operator

9 years agoFix a potential memory leak in recent vertex xsort/randomize code.
Bastien Montagne [Tue, 1 May 2012 12:38:26 +0000 (12:38 +0000)]
Fix a potential memory leak in recent vertex xsort/randomize code.

9 years agoFox #31185: Cannot sculpt shape keys
Sergey Sharybin [Tue, 1 May 2012 12:14:44 +0000 (12:14 +0000)]
Fox #31185: Cannot sculpt shape keys

Was related on sculpting on locked keys. Issue was caused by building
PBVH from base mesh which is now doesn't have shape key loaded into
it as it was in 2.62.

Fixed by loading coordinates from deformed mesh into PBVH like it
happens for on-locked shape keys.

9 years agoAdd stubs to get blenderplayer compiling
Antony Riakiotakis [Tue, 1 May 2012 11:16:34 +0000 (11:16 +0000)]
Add stubs to get blenderplayer compiling

9 years agoPython UI Files:
Thomas Dinges [Tue, 1 May 2012 11:09:05 +0000 (11:09 +0000)]
Python UI Files:
* Panels only dedicated to the Game Engine, belong into

9 years agoFix #31193: Normals don't have any Z component
Sergey Sharybin [Tue, 1 May 2012 11:01:24 +0000 (11:01 +0000)]
Fix #31193: Normals don't have any Z component

Issue was caused by heavily non-uniform scale applied on object.
Run scale correction on face and vertex normals draw if there's non-uniform scale.

9 years agoFix #31147: uv unwrap not scaling islands properly to match relative size.
Brecht Van Lommel [Tue, 1 May 2012 10:28:50 +0000 (10:28 +0000)]
Fix #31147: uv unwrap not scaling islands properly to match relative size.

9 years agoFix #31195: subsurf modifier draws wrong vertex colors.
Brecht Van Lommel [Tue, 1 May 2012 10:18:10 +0000 (10:18 +0000)]
Fix #31195: subsurf modifier draws wrong vertex colors.

9 years agoDo not stick normal length slider in 3d viewport properties to display normals buttons
Sergey Sharybin [Tue, 1 May 2012 09:38:29 +0000 (09:38 +0000)]
Do not stick normal length slider in 3d viewport properties to display normals buttons

9 years agoFix for bug #31169. Don't force the release-confirm setting in node transform operato...
Lukas Toenne [Tue, 1 May 2012 08:19:11 +0000 (08:19 +0000)]
Fix for bug #31169. Don't force the release-confirm setting in node transform operators when using the select-mouse tweak event. Instead the release confirm setting in user preferences is used in that case. For the alternative action-mouse tweak event the behavior remains the same.

9 years agobmesh py api:
Campbell Barton [Tue, 1 May 2012 06:50:43 +0000 (06:50 +0000)]
bmesh py api:
add mtexpoly image access

9 years agoMerging phase 1 of the BGE Harmony branch:
Daniel Stokes [Tue, 1 May 2012 02:50:17 +0000 (02:50 +0000)]
Merging phase 1 of the BGE Harmony branch:
 * Shadow color now usable in the BGE
 * Simplified the shadow panel while "Blender Game" renderer is active
 * Added variance shadow maps for the BGE
 * Buffered shadows on sun lamps in the BGE (orthographic)
 * Light textures in the BGE

9 years agoApply patch [#31179] COLLADA IMPORT instanced geometry improvement
Nathan Letwory [Mon, 30 Apr 2012 23:51:09 +0000 (23:51 +0000)]
Apply patch [#31179] COLLADA IMPORT instanced geometry improvement
from Martijn Berger

This patch improves importing instanced geometry consisting of multiple nodes.

9 years agofix shared vertex color (used with blur), to work with selection masking.
Campbell Barton [Mon, 30 Apr 2012 21:46:58 +0000 (21:46 +0000)]
fix shared vertex color (used with blur), to work with selection masking.

9 years agoCycles Addon:
Thomas Dinges [Mon, 30 Apr 2012 19:52:07 +0000 (19:52 +0000)]
Cycles Addon:
* Some tiny updates and cleanups to the Cycles addon entry.

9 years agoInfo Header:
Thomas Dinges [Mon, 30 Apr 2012 19:37:04 +0000 (19:37 +0000)]
Info Header:
* Added a new window submenu, which contains operators for duplicating the window, going fullscreen and toggling the system console on Windows.
* Removed the Toggle fullscreen button from the header, its available via menu or shortcut (ALT+F11).

Based on patch [#24709] Window menu added to Info menus by Elia Sarti (vekoon). Thanks!

9 years agobmesh - python api
Campbell Barton [Mon, 30 Apr 2012 18:54:14 +0000 (18:54 +0000)]
bmesh - python api

- bm.*.layers.*.verify()
- bm.*.layers.*.is_singleton
- bm.*.layers.*.copy_from(other)

also added api functons
- BM_data_layer_copy(...)
- CustomData_layertype_is_singleton(type)

9 years agoPatch [#30681] Improved Display of Header Statistics by Harley Acheson (harley),...
Thomas Dinges [Mon, 30 Apr 2012 18:37:34 +0000 (18:37 +0000)]
Patch [#30681] Improved Display of Header Statistics by Harley Acheson (harley), thanks!

* This patch changes the header statistics to something more meaningful
* Removed the string, version info is sufficient + not all Blender versions come directly from
* Use names like Faces, rather than abbreviations.
* Show Verts, Edges and Faces, independent of the current selection method in edit mode.
* Added TriCount into the header.

* Small change to the patch by myself, added a "v" in front of the version number.

9 years agoFix #31164: constructive modifier followed by subsurf modifier did not show
Brecht Van Lommel [Mon, 30 Apr 2012 16:29:01 +0000 (16:29 +0000)]
Fix #31164: constructive modifier followed by subsurf modifier did not show
face smoothing flags correctly. In fact it would do an invalid memory access,
using the -1 original index.

9 years agostyle cleanup: re -
Campbell Barton [Mon, 30 Apr 2012 16:22:40 +0000 (16:22 +0000)]
style cleanup: re -

9 years agoCamera tracking: initial commit of dopesheet view for clip editor
Sergey Sharybin [Mon, 30 Apr 2012 16:19:20 +0000 (16:19 +0000)]
Camera tracking: initial commit of dopesheet view for clip editor

- Displays dopesheet information for selected tracks, and currently does not
  support any kind of editing.
- Changed regions to use the whole main region for such views as curves and dopesheet.
  This allows to have own panels with tools/properties in this area.
- Active clip is getting synchronized between different clip editor editors in the
  same screen, so updating of curve/dopesheet views happens automatically when one
  changes current clip in one of this editors.
- Panels in toolbox and properties panels are now separated to rely on current view
  mode, but some operators and poll functions still need to be updated.
- Added new screen called "Movie Tracking" where layout is configured to
  display timeline, main clip window, curves and dopesheet.

9 years agoCamera tracking: use texture buffers (if supported) to display clip editor frames
Sergey Sharybin [Mon, 30 Apr 2012 16:19:12 +0000 (16:19 +0000)]
Camera tracking: use texture buffers (if supported) to display clip editor frames

Use texture buffers to display frames of footage in clip editor. This allows
to apply bilinear filtering of proxied resolution which.

This also resolves incredibly slow performance when drawing 4K footage on
some videocards (was originally noticed on macbook pro). Also this allows
to avoid sending the whole frame to the video memory when working with a
single frame (i.e. before this patch the whole frame would be send to the
videocard when panning frame).

9 years agoVersioning patch fix for files from tomato branch
Sergey Sharybin [Mon, 30 Apr 2012 16:19:08 +0000 (16:19 +0000)]
Versioning patch fix for files from tomato branch

Quite harmless but it was silly mistake i a code probably introduced by
some automatic svn merge.

9 years agoFix #31180: limit selection to visible button in 3d header not showing up in
Brecht Van Lommel [Mon, 30 Apr 2012 14:52:30 +0000 (14:52 +0000)]
Fix #31180: limit selection to visible button in 3d header not showing up in
material draw mode.

9 years agodisable numpy installing if not found
Campbell Barton [Mon, 30 Apr 2012 14:51:40 +0000 (14:51 +0000)]
disable numpy installing if not found

9 years agocode cleanup: header cleanup
Campbell Barton [Mon, 30 Apr 2012 14:24:11 +0000 (14:24 +0000)]
code cleanup: header cleanup

9 years agoFix missing redraw when using circle select in uv editor, IRC report.
Brecht Van Lommel [Mon, 30 Apr 2012 13:45:24 +0000 (13:45 +0000)]
Fix missing redraw when using circle select in uv editor, IRC report.

9 years agoWord selection in the Text Editor:
Sv. Lockal [Mon, 30 Apr 2012 13:14:15 +0000 (13:14 +0000)]
Word selection in the Text Editor:

* Fix word selection for words with multibyte characters. No need to call txt_move_left() or txt_move_right(), because these functions work with symbols, not bytes
* Word selection now treats tabs the same way as spaces. Also useful for words with multibyte characters

9 years agoCycles: support for motion vector and UV passes.
Brecht Van Lommel [Mon, 30 Apr 2012 12:49:26 +0000 (12:49 +0000)]
Cycles: support for motion vector and UV passes.

Most of the changes are related to adding support for motion data throughout
the code. There's some code for actual camera/object motion blur raytracing
but it's unfinished (it badly slows down the raytracing kernel even when the
option is turned off), so that code it disabled still.

Motion vector export from Blender tries to avoid computing derived meshes
when the mesh does not have a deforming modifier, and it also won't store
motion vectors for every vertex if only the object or camera is moving.

9 years agoFix compile error with msvc
Daniel Genrich [Mon, 30 Apr 2012 11:27:06 +0000 (11:27 +0000)]
Fix compile error with msvc

9 years agocode cleanup: clang warning - use of a pointer before checking its NULL.
Campbell Barton [Mon, 30 Apr 2012 11:08:53 +0000 (11:08 +0000)]
code cleanup: clang warning - use of a pointer before checking its NULL.

9 years agocode cleanup: quiet clang warnings, these would likely never but wont hurt to quiet...
Campbell Barton [Mon, 30 Apr 2012 10:47:32 +0000 (10:47 +0000)]
code cleanup: quiet clang warnings, these would likely never but wont hurt to quiet them,

9 years agostyle cleanup: edits to convex hull.
Campbell Barton [Mon, 30 Apr 2012 10:39:35 +0000 (10:39 +0000)]
style cleanup: edits to convex hull.

9 years agoCycles: remove a few usages of double, to fix opencl warnings.
Brecht Van Lommel [Mon, 30 Apr 2012 10:03:13 +0000 (10:03 +0000)]
Cycles: remove a few usages of double, to fix opencl warnings.

9 years agoFix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.
Brecht Van Lommel [Mon, 30 Apr 2012 10:00:55 +0000 (10:00 +0000)]
Fix visual studio debug build issue with BVH boundbox, pointed out by Agustin Benavidez.

9 years agoWITH_PYTHON_INSTALL_NUMPY option for unix/cmake, just copies from site-packages.
Campbell Barton [Mon, 30 Apr 2012 09:38:32 +0000 (09:38 +0000)]
WITH_PYTHON_INSTALL_NUMPY option for unix/cmake, just copies from site-packages.

9 years agoWindows / Scons:
Thomas Dinges [Mon, 30 Apr 2012 09:06:19 +0000 (09:06 +0000)]
Windows / Scons:
* Disable CUDA kernel compile per default, so people who don't use it can compile file with the default config.

9 years agopatch [#31091] PVS-Studio Analysis Fixes
Campbell Barton [Mon, 30 Apr 2012 08:35:18 +0000 (08:35 +0000)]
patch [#31091] PVS-Studio Analysis Fixes
from Jason Wilkins (jwilkins)

left out openjpeg changes since this library needs updating.

9 years ago- improve select grouped prefix/suffix from recent patch
Campbell Barton [Mon, 30 Apr 2012 08:24:44 +0000 (08:24 +0000)]
- improve select grouped prefix/suffix from recent patch
- added select similar direction (Y axis)

9 years agoAdding Hungarian language.
Bastien Montagne [Mon, 30 Apr 2012 07:43:04 +0000 (07:43 +0000)]
Adding Hungarian language.

9 years agofix [#31181] Lightmap UV unwrap still broken
Campbell Barton [Mon, 30 Apr 2012 05:45:01 +0000 (05:45 +0000)]
fix [#31181] Lightmap UV unwrap still broken

raised python error with triangles.

9 years agoSequencer Preview Area:
Thomas Dinges [Sun, 29 Apr 2012 22:25:31 +0000 (22:25 +0000)]
Sequencer Preview Area:
* Fixed missing update, when changing render resolution.

9 years agoFixed UI bug in distance, chroma, and difference nodes that caused the threshold...
Robert Holcomb [Sun, 29 Apr 2012 20:07:29 +0000 (20:07 +0000)]
Fixed UI bug in distance, chroma, and difference nodes that caused the threshold to be limited by the falloff value.  These should be independent.  Cleaned up how falloff works in keying nodes.

9 years agoAdd per-brush weight field.
Nicholas Bishop [Sun, 29 Apr 2012 20:04:25 +0000 (20:04 +0000)]
Add per-brush weight field.

Patch from Jaggz H, thanks!

[#31096] Weight-painting: Brush-specific weights

Each brush's weight can now be set individually, can also enable
unified setting (same as size and strength have.)

Added readfile code to the patch: subversion bumped to 1, brushes get
default weight of 0.5, unified weight enabled by default and value
from old vgroup_weight field.

9 years agopatch [#30821] Wiki Quick Hack: Text editor duplicate line
Campbell Barton [Sun, 29 Apr 2012 18:53:43 +0000 (18:53 +0000)]
patch [#30821] Wiki Quick Hack: Text editor duplicate line
from Justin Dailey (dail)

made this Ctrl+D, to replace Delete.

9 years agopatch [#30834] Quick Hack: Select similar for bones in edit mode
Campbell Barton [Sun, 29 Apr 2012 18:23:33 +0000 (18:23 +0000)]
patch [#30834] Quick Hack: Select similar for bones in edit mode
from Felix Schlitter (dalai)

made some changes to select length measurement.

9 years agostyle cleanup: missed these from previous cleanup
Campbell Barton [Sun, 29 Apr 2012 17:55:54 +0000 (17:55 +0000)]
style cleanup: missed these from previous cleanup

9 years agoFix for [#31166] 2.63 applyRotation() makes Dynamic and Rigid object spin very fast
Mitchell Stokes [Sun, 29 Apr 2012 17:23:19 +0000 (17:23 +0000)]
Fix for [#31166] 2.63 applyRotation() makes Dynamic and Rigid object spin very fast

This bug was caused by r45902. CcdPhysicsController::RelativeRotate() was reading 2 values past the input because it was actually being passed a float[12] when it asked for a float[9] by KX_BulletPhysicsController::RelativeRotate(). Now KX_BulletPhysicsController::RelativeRotate() passes in a float[9] like it should have done to begin with.

9 years agostyle cleanup: function calls & whitespace.
Campbell Barton [Sun, 29 Apr 2012 17:11:40 +0000 (17:11 +0000)]
style cleanup: function calls & whitespace.

9 years agoSilence warning during DualCon compile: "Node *pointer[0];" gets MSVC compiler all...
Daniel Genrich [Sun, 29 Apr 2012 17:02:52 +0000 (17:02 +0000)]
Silence warning during DualCon compile: "Node *pointer[0];" gets MSVC compiler all exited and stuff.

9 years agoAdd convex hull operator (bmesh operator and wm operator.)
Nicholas Bishop [Sun, 29 Apr 2012 16:09:40 +0000 (16:09 +0000)]
Add convex hull operator (bmesh operator and wm operator.)

Image-heavy user documentation:

Thanks to Campbell for providing code review:

9 years agoAdd GHASH_ITER macro
Nicholas Bishop [Sun, 29 Apr 2012 16:09:28 +0000 (16:09 +0000)]
Add GHASH_ITER macro

9 years agostyle cleanup: whitespace / commas
Campbell Barton [Sun, 29 Apr 2012 15:47:02 +0000 (15:47 +0000)]
style cleanup: whitespace / commas

9 years agoBugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite
Joshua Leung [Sun, 29 Apr 2012 15:05:19 +0000 (15:05 +0000)]
Bugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite

Show Hidden was handled by the same filtering function as Only Selected, but the
filters were being tested incorrectly (or to be precise, only Only Selected was
being considered).

This meant that it was only possible to show F-Curves belonging to hidden data
if that data happened to be selected first.

9 years agoCycles: missed merging this file from tomato branch, for normal output in node.
Brecht Van Lommel [Sun, 29 Apr 2012 14:23:50 +0000 (14:23 +0000)]
Cycles: missed merging this file from tomato branch, for normal output in node.

9 years agoBugfix [#31128] Vertex Slide can't be aborted with ESC key
Joshua Leung [Sun, 29 Apr 2012 13:58:43 +0000 (13:58 +0000)]
Bugfix [#31128] Vertex Slide can't be aborted with ESC key

9 years agoRemove variables tagged as unused. Easier to synchronize with current patches and...
Sergey Sharybin [Sun, 29 Apr 2012 13:45:31 +0000 (13:45 +0000)]
Remove variables tagged as unused. Easier to synchronize with current patches and makes
patches easier to read when variables are creating or e-using, but not un-commenting.

9 years agoBugfix [#31029] Select all in view3D don't update the graph editor immediately
Joshua Leung [Sun, 29 Apr 2012 13:24:10 +0000 (13:24 +0000)]
Bugfix [#31029] Select all in view3D don't update the graph editor immediately

One-liner fix. The code was assuming that editor.refresh() would do a
editor.redraw() too (like for Dopesheet), but that wasn't the case.

9 years agoCode cleanups - whitespace
Joshua Leung [Sun, 29 Apr 2012 13:20:28 +0000 (13:20 +0000)]
Code cleanups - whitespace

9 years agoquiet unused warnings
Campbell Barton [Sun, 29 Apr 2012 13:19:22 +0000 (13:19 +0000)]
quiet unused warnings

9 years agoPose armature cleanup: remove old commented code replaced by use of new generic pchan...
Bastien Montagne [Sun, 29 Apr 2012 13:18:59 +0000 (13:18 +0000)]
Pose armature cleanup: remove old commented code replaced by use of new generic pchan_to_pose_mat().

After two months, think we can get rid of it, it’s in svn anyway if we ever need it!

9 years agomingw32 compiles again
Joshua Leung [Sun, 29 Apr 2012 13:00:00 +0000 (13:00 +0000)]
mingw32 compiles again

"__force_inline" keyword used in Cycles header is not defined

9 years agowireframe option to crase edges at the hub, much nicer subsurf
Campbell Barton [Sun, 29 Apr 2012 12:33:56 +0000 (12:33 +0000)]
wireframe option to crase edges at the hub, much nicer subsurf

9 years agoCamera tracking: backport refactoring made in local branches with masking and dopeshe...
Sergey Sharybin [Sun, 29 Apr 2012 12:32:26 +0000 (12:32 +0000)]
Camera tracking: backport refactoring made in local branches with masking and dopesheet view into trunk

Mostly related on changes in poll functions for tracking operators and some changes
to how interface is initializing for different view types.

9 years agoFix Cycles to compile again on AMD OpenCL devices.
Daniel Genrich [Sun, 29 Apr 2012 12:20:06 +0000 (12:20 +0000)]
Fix Cycles to compile again on AMD OpenCL devices.

9 years agobmesh: new wireframe tool
Campbell Barton [Sun, 29 Apr 2012 10:44:00 +0000 (10:44 +0000)]
bmesh: new wireframe tool

- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.

9 years ago- Tag unused variables
Sergey Sharybin [Sun, 29 Apr 2012 09:34:51 +0000 (09:34 +0000)]
- Tag unused variables
- Use (void) instead () for function declarations without arguments

9 years agocompile fixes:
Nathan Letwory [Sun, 29 Apr 2012 00:44:49 +0000 (00:44 +0000)]
compile fixes:

* near and far var names confused mingw64, renamed
* mingw defines a macro named DrawText, confusing the DrawText function usage from KX_FontObject.

9 years agoAlso updating CMakeLists.txt.
Joerg Mueller [Sat, 28 Apr 2012 23:40:38 +0000 (23:40 +0000)]
Also updating CMakeLists.txt.

9 years agofix pthread path for windows builds
Nathan Letwory [Sat, 28 Apr 2012 23:15:34 +0000 (23:15 +0000)]
fix pthread path for windows builds

9 years agoFix for windows compile.
Joerg Mueller [Sat, 28 Apr 2012 22:59:55 +0000 (22:59 +0000)]
Fix for windows compile.

9 years agoSmoke: Support for moving obstacles. (Merge from Smoke2 branch)
Daniel Genrich [Sat, 28 Apr 2012 21:46:43 +0000 (21:46 +0000)]
Smoke: Support for moving obstacles. (Merge from Smoke2 branch)

Sponsored by the Blender Development Fund.

The original code was not designed to support moving obstacles so I had to introduce some velocity constraints into the code to prevent smoke from exploding. If this causes problems with "fire" emulation, please let me know.

9 years agobmesh api functions, not used yet:
Campbell Barton [Sat, 28 Apr 2012 18:39:37 +0000 (18:39 +0000)]
bmesh api functions, not used yet:

9 years agoUser Preferences/ Themes
Thomas Dinges [Sat, 28 Apr 2012 17:16:38 +0000 (17:16 +0000)]
User Preferences/ Themes
* Tooltip section was there twice (User Interface category)
Issue introduced in r45092!

9 years agoCode and style cleanup in own modules in BKE and also mball module
Sergey Sharybin [Sat, 28 Apr 2012 16:49:00 +0000 (16:49 +0000)]
Code and style cleanup in own modules in BKE and also mball module

- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks)
- Make functions which are used by mball.c only static and remove their prototypes
  from public header file.

Further cleanup is coming.

9 years agostyle cleanup: editors / mesh & object
Campbell Barton [Sat, 28 Apr 2012 15:42:27 +0000 (15:42 +0000)]
style cleanup: editors / mesh & object

9 years agostyle cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_a...
Campbell Barton [Sat, 28 Apr 2012 15:14:16 +0000 (15:14 +0000)]
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.

9 years agoCorrection to recent commmit related on splitting audio channels: descriptions should...
Sergey Sharybin [Sat, 28 Apr 2012 15:05:35 +0000 (15:05 +0000)]
Correction to recent commmit related on splitting audio channels: descriptions shouldn't end with dot.

9 years agoCamera tracking: support of tripod motion solving
Sergey Sharybin [Sat, 28 Apr 2012 14:54:45 +0000 (14:54 +0000)]
Camera tracking: support of tripod motion solving

Expose option into interface to use modal solver which currently
supports only tripod motion.

This solver requires two tracks at least to reconstruct motion.
Using more tracks aren't improving solution in general, just adds
instability into solution and slows down things a lot.

Refirement of camera intrinsics was disabled due to it's not only
refines camera intrinsics but also adjusts camera position which
isn't necessary here

To use this solver just activate "Tripod Motion" checkbox in
solver panel.

Merged from tomato: svn merge ^/branches/soc-2011-tomato -r45622:45624 -r46036:46037

P.S. Quite experimental yet, requires more checking and probably
tweaks to prevent camera jumps when tracks apperars/disappears
from the screen.

9 years agoHopefully a fix for [#31097] glibc error when playing sound using BGE
Joerg Mueller [Sat, 28 Apr 2012 13:37:44 +0000 (13:37 +0000)]
Hopefully a fix for [#31097] glibc error when playing sound using BGE

9 years agoAudio:
Joerg Mueller [Sat, 28 Apr 2012 13:16:29 +0000 (13:16 +0000)]

* Fix for [#31099] Audio in Meta-Strips Plays Beyond Strip Cut
* Adding a split files option to the mixdown operator which then renders each channel into a separate file

9 years agocode cleanup: remove editmesh code left hanging around thats already been ported...
Campbell Barton [Sat, 28 Apr 2012 12:23:05 +0000 (12:23 +0000)]
code cleanup: remove editmesh code left hanging around thats already been ported to bmesh, also remove main editmesh header.

9 years agopatch [#31104] Correct comment for mul_qt_v3
Campbell Barton [Sat, 28 Apr 2012 11:45:28 +0000 (11:45 +0000)]
patch [#31104] Correct comment for mul_qt_v3
from Bill Currie (taniwha)

9 years agocode cleanup: replace some long ELEM7 checks with macro OB_TYPE_SUPPORT_EDITMODE()
Campbell Barton [Sat, 28 Apr 2012 10:33:32 +0000 (10:33 +0000)]
code cleanup: replace some long ELEM7 checks with macro OB_TYPE_SUPPORT_EDITMODE()

9 years agoCamera tracking: if there's no image for current frame display default grid
Sergey Sharybin [Sat, 28 Apr 2012 10:09:58 +0000 (10:09 +0000)]
Camera tracking: if there's no image for current frame display default grid
and allow to interact with tracks for operators which doesn't require image.

Merged from tomato branch: svn merge ^/branches/soc-2011-tomato -r45624:45625