blender.git
7 years agofix for error using uninitialized draw mode with 'm_failsafe_storage' in the BGE.
Campbell Barton [Sat, 23 Feb 2013 02:45:12 +0000 (02:45 +0000)]
fix for error using uninitialized draw mode with 'm_failsafe_storage' in the BGE.

7 years agoadd include for scons.
Campbell Barton [Sat, 23 Feb 2013 02:03:53 +0000 (02:03 +0000)]
add include for scons.

7 years agocode cleanup: bge - was converting float[] to MT_Vector's just to compare. use BLI_ma...
Campbell Barton [Sat, 23 Feb 2013 01:57:56 +0000 (01:57 +0000)]
code cleanup: bge - was converting float[] to MT_Vector's just to compare. use BLI_math instead.

7 years agofix for error in the blenderplayer caused by r54727 (can't assume G.main is valid...
Campbell Barton [Sat, 23 Feb 2013 01:33:47 +0000 (01:33 +0000)]
fix for error in the blenderplayer caused by r54727 (can't assume G.main is valid on load).

7 years agoBGE: Object color channels can now be animated separately without zeroing out the...
Mitchell Stokes [Sat, 23 Feb 2013 01:17:01 +0000 (01:17 +0000)]
BGE: Object color channels can now be animated separately without zeroing out the other channels. Problem reported by Dalai via IRC.

7 years agoInstall_deps script:
Thomas Dinges [Sat, 23 Feb 2013 00:52:59 +0000 (00:52 +0000)]
Install_deps script:
* Use OIIO 1.1.7, this removes the need for the ugly patch.
* Use official OSL 1.3.0 repo
* Print OSL path for scons

Tested on Ubuntu 12.10 x64.

7 years agoBGE: Second fix for #34330 "Action Actuator "caching" the previous ran actions" repor...
Mitchell Stokes [Sat, 23 Feb 2013 00:46:58 +0000 (00:46 +0000)]
BGE: Second fix for #34330 "Action Actuator "caching" the previous ran actions" reported by Dalai. Now the multiple layers should also be working. When doing fcurve/IPO animations, the controllers are cleared as soon as the action is done and must be setup again every time the action is played.

7 years agoBGE: For BL_Action, use the object's scene rather than the "active" scene, which...
Mitchell Stokes [Sat, 23 Feb 2013 00:28:25 +0000 (00:28 +0000)]
BGE: For BL_Action, use the object's scene rather than the "active" scene, which can potentially cause problems with multiple scenes.

7 years agoBGE: (partial?) fix for #34330 "Action Actuator "caching" the previous ran actions...
Mitchell Stokes [Fri, 22 Feb 2013 23:55:06 +0000 (23:55 +0000)]
BGE: (partial?) fix for #34330 "Action Actuator "caching" the previous ran actions" reported by Dalai. The test file now works if all of the actions are using the same layer, but multiple layers can still cause problems. However, I am unsure as to what the "correct" behavior should be with multiple layers. They should probably blend somehow...

7 years agoWITH_PYTHON_FRAMEWORK cmake option for OSX
Dalai Felinto [Fri, 22 Feb 2013 22:24:38 +0000 (22:24 +0000)]
WITH_PYTHON_FRAMEWORK cmake option for OSX
This option allow Blender to be linked against the Framework python
It's useful if you want to have blenderplayer and bpy in the same application and need to avoid PyThread problems.

patch reviewed by Jens Verwiebe before 2.66. He may want to change something though.
(also small: I changed:
/Library/Frameworks/Python.framework/Versions//python
by
/Library/Frameworks/Python.framework/Versions//Python
as the latter seems to be the norm)

7 years agoBGE: Fix for bug #34219 "Webcam support under Linux in Standalone broken" reported...
Mitchell Stokes [Fri, 22 Feb 2013 20:37:14 +0000 (20:37 +0000)]
BGE: Fix for bug #34219 "Webcam support under Linux in Standalone broken" reported by Thomas Achtner (offtools).

No one bothered to update the player for ffmpeg changes made in August 2012. This meant the player was no longer calling avdevice_register_all(), and  ffmpeg would fail to open web cam streams.

7 years agofixing typo in include (report and patch by Jochen Schmitt)
Dalai Felinto [Fri, 22 Feb 2013 17:45:04 +0000 (17:45 +0000)]
fixing typo in include (report and patch by Jochen Schmitt)

7 years agoWorkaround for compilation error introduced in r54755
Sergey Sharybin [Fri, 22 Feb 2013 17:35:53 +0000 (17:35 +0000)]
Workaround for compilation error introduced in r54755

Scons used to fail because of couple of reasons:

- CMake does have WITH_DNA_GHASH enabled, Scons not
  Which is a good question why?!
- This makes Cmake including BLI_utildefines in dna_genfile.c,
  but scons missed this include
- This damn "bool" thing requires BLI_utildefines

And last question here is why would we want to use bool here =\
It's just always ends up in headache without any visible benefit
of using it.

Well, at least now svn shall be compilable again..

7 years agoApplying patch #33709 for dead keys on windows.
Alexander Kuznetsov [Fri, 22 Feb 2013 16:42:19 +0000 (16:42 +0000)]
Applying patch #33709 for dead keys on windows.
Thanks Harley Acheson!

7 years agoFix #34357: image editor scope and clip editor track preview did not resize
Brecht Van Lommel [Fri, 22 Feb 2013 16:11:27 +0000 (16:11 +0000)]
Fix #34357: image editor scope and clip editor track preview did not resize
properly with different DPI settings.

7 years agoFix for windows size on win32
Alexander Kuznetsov [Fri, 22 Feb 2013 15:57:50 +0000 (15:57 +0000)]
Fix for windows size on win32

7 years agoFix for building without python.
Alexander Kuznetsov [Fri, 22 Feb 2013 15:54:10 +0000 (15:54 +0000)]
Fix for building without python.

7 years agogame engine: Revert to using regular gimpact for mesh shapes
Sergej Reich [Fri, 22 Feb 2013 14:47:11 +0000 (14:47 +0000)]
game engine: Revert to using regular gimpact for mesh shapes

This reverts part of r53019.
While the compound shape trick works well in some cases, overall it's
much slower and even causes crashes under certain conditions.

We could make this and option and fix the crashes, but it's better to
implement convex decomposition anyway so just reverting for now.

Fixes [#34353] Ray cast on Triangle mesh bounded Rigid Body Object causes blender crash to desktop without error.

7 years agopatch [#34103] - listbase.patch, insertlinkbefore.patch
Campbell Barton [Fri, 22 Feb 2013 14:12:55 +0000 (14:12 +0000)]
patch [#34103] - listbase.patch, insertlinkbefore.patch
from Lawrence D'Oliveiro (ldo)

notes from tracker:
use bool for return type from BLI_remlink_safe, necessitating including BLI_utildefines.h in BLI_listbase.h
get rid of duplicate BLI_insertlink, use BLI_insertlinkafter instead.

A few places which were using BLI_insertlinkafter (actually BLI_insertlink), when it would be simpler to use BLI_insertlinkbefore instead.

7 years agopatch [#34103] Add explanatory comments to dna_genfile.[ch]
Campbell Barton [Fri, 22 Feb 2013 13:35:32 +0000 (13:35 +0000)]
patch [#34103] Add explanatory comments to dna_genfile.[ch]
from Lawrence D'Oliveiro (ldo)

7 years agoFix for [#34356] Inputs list in file output doesn't appear properly.
Thomas Dinges [Fri, 22 Feb 2013 12:24:08 +0000 (12:24 +0000)]
Fix for [#34356] Inputs list in file output doesn't appear properly.

* This made File Output Node more or less useless in the 2.66 release, as the list did not appear.
Issue caused in r53355.

Should be back ported to "a" release.

7 years agoremove 'register' from drag-toggle operator (so it doesn't show in the redo panel).
Campbell Barton [Fri, 22 Feb 2013 11:06:25 +0000 (11:06 +0000)]
remove 'register' from drag-toggle operator (so it doesn't show in the redo panel).
update credits script.

7 years agoSimple preset function for setting common node sizes based on enum instead of explici...
Lukas Toenne [Fri, 22 Feb 2013 10:46:27 +0000 (10:46 +0000)]
Simple preset function for setting common node sizes based on enum instead of explicit numbers.
Most nodes use the default size now and don't need explicit function calls. Most remaining nodes can also use the preset variant instead of explicit size values, these are only needed for a few special nodes.
Thanks to Sebastian K├Ânig for suggesting this and doing the monkey work of changing node definitions.

7 years agoMotion tracking dopesheet
Sergey Sharybin [Fri, 22 Feb 2013 10:13:15 +0000 (10:13 +0000)]
Motion tracking dopesheet

Highlight background depending on number of tracks existing on frame.

This is not so much mathematically accurate displaying where things
shall be improved, but it's nice feedback about which frames better
be reviewed.

Bad frames are tracks < 8, highlighted with red.
OK-ish frame  are 8 <= tracks < 16, highlighted with yellow.

Could be some artifacts with color region start/end, this is a bit
unclear what exactly expected to be highlighted -- frames are
displayed as dots, but in fact they're quite noticeable segments.

---
svn merge -r54572:54573 ^/branches/soc-2011-tomato

7 years agoRemove extern_ssba workaround
Sergey Sharybin [Fri, 22 Feb 2013 10:06:54 +0000 (10:06 +0000)]
Remove extern_ssba workaround

SSBA seemed to be working OK last time i've checked it
with MSVC and optimization enabled.

Also, we'll likely replace it with own BA soon, which
works fine with MSVC anyway.

7 years agoFix #34351: Displacement map Bake margin does not work
Sergey Sharybin [Fri, 22 Feb 2013 09:57:10 +0000 (09:57 +0000)]
Fix #34351: Displacement map Bake margin does not work

7 years agoFixing typos
Gaia Clary [Fri, 22 Feb 2013 09:31:42 +0000 (09:31 +0000)]
Fixing typos

7 years agoFix #34359: 2.66 crashes when using output node
Sergey Sharybin [Fri, 22 Feb 2013 09:20:22 +0000 (09:20 +0000)]
Fix #34359: 2.66 crashes when using output node

16bit PNG and Jpeg2K exporters were not aware of the simple
fact that float buffer could have only 3 or 1 channels.

7 years agobge bugfix: [#18967] alpha value is never available in the color buffer by Campbell...
Dalai Felinto [Fri, 22 Feb 2013 07:37:17 +0000 (07:37 +0000)]
bge bugfix: [#18967] alpha value is never available in the color buffer by Campbell Barton (X11) and me (Win32)
This is and old patch (June, 2009). The reason it never made into trunk it's that we (me at least) thought that
it should be optional, as a ui or command-line option.

However, it seems that OSX always have the OpenGL context with alpha enabled. So I think it's consistent to
have the other OSs to follow.

The main usage of this is the BGE (or more specifically people using BGE for TV broadcasting) but I think
pydevs can have their share of fun with it in Blender as well.

7 years agochange to drag-toggle don't exit when the mouse is outside the region - its annoying...
Campbell Barton [Fri, 22 Feb 2013 07:28:45 +0000 (07:28 +0000)]
change to drag-toggle don't exit when the mouse is outside the region - its annoying for setting layers in the 3d header.

7 years agocode cleanup: switch argument order for button_activate_exit() but/data args were...
Campbell Barton [Fri, 22 Feb 2013 06:02:52 +0000 (06:02 +0000)]
code cleanup: switch argument order for button_activate_exit() but/data args were flipped compared to other functions.

7 years agoToggle-Drag UI Feature
Campbell Barton [Fri, 22 Feb 2013 05:56:20 +0000 (05:56 +0000)]
Toggle-Drag UI Feature

Dragging on toggle buttons can now be used to press multiple buttons at once, especially useful for layer and outliner buttons.

notes:
- automatically enabled for all toggle buttons
  (may change this if it becomes a problem).
- only buttons of the same type are pressed
  (helps avoid annoyances eg; dragging past layer buttons onto other 3d header buttons and pressing by accident).
- automatic axis locking - dragging will lock to X/Y depending on the initial drag direction,
  makes swipe motions work better, especially with the outliner.

implementation details:
- may re-implement as a region handler (currently its a modal operator).
- checking buttons in-between cursor motion events could be more efficient (but currently works ok).
- button execution needs to be improved
  (currently executing a button thats not under the mouse needed a workaround for passing uiHandleButtonData),
  requires further changes to UI code, will do next.

7 years agonew weight paint draw option to display unweighted vertices with the option to check...
Campbell Barton [Fri, 22 Feb 2013 04:09:04 +0000 (04:09 +0000)]
new weight paint draw option to display unweighted vertices with the option to check on the active group or all groups.

notes:
- vertices with zero weights are considered the same as vertices outside of a group.
- currently these show black but this can be made a theme color.
- multi-paint overrides this option (noted in description)

7 years agoBGE: Fix for bug #34349 "Character walkDirection ADD mode -#INF error" reported by...
Mitchell Stokes [Fri, 22 Feb 2013 02:31:46 +0000 (02:31 +0000)]
BGE: Fix for bug #34349 "Character walkDirection ADD mode -#INF error" reported by Angus Hollands (agoose77). If the walk directions canceled each other out, the actuator would try to normalize a zero vector, which caused the error.

7 years agoExpose a few more operators for curves on the toolbar. Some of these were
Joshua Leung [Fri, 22 Feb 2013 02:10:41 +0000 (02:10 +0000)]
Expose a few more operators for curves on the toolbar. Some of these were
previously not available anywhere.

7 years agoWhitespace fixes
Joshua Leung [Fri, 22 Feb 2013 02:09:54 +0000 (02:09 +0000)]
Whitespace fixes

7 years agoAnimation Editors: Operators to Group/Ungroup Selected F-Curves
Joshua Leung [Fri, 22 Feb 2013 01:49:51 +0000 (01:49 +0000)]
Animation Editors: Operators to Group/Ungroup Selected F-Curves

This commit introduces operators to customise the grouping of F-Curves. As
groups are only available in Actions, these grouping operators only work in the
Dopesheet, Action Editor, and Graph Editor (Animation) modes.

To Use:
* Ctrl-G = Group selected F-Curves
* Alt-G  = Ungroup selected F-Curves
* or find these tools from the Channels menu

Notes:
* When invoking the grouping operator from the Channels menu, the name popup
won't show up. Instead, the group(s) created will be created with the default
name. To fix, you can either use the F6 operator properties edit OR manually
edit the names (Ctrl-LMB on the relevant channel)

7 years agoBGE projection code fix: old patch #28893 (to fix #28753) committed in rev.41131...
Dalai Felinto [Fri, 22 Feb 2013 01:48:53 +0000 (01:48 +0000)]
BGE projection code fix: old patch #28893 (to fix #28753) committed in rev.41131 changed the clipping for ortho camera from -far +far to +near +far. But also introduced this -far +far when using 3dviewport camera (which shouldn't).

7 years agocode cleanup: remove unused arg
Campbell Barton [Fri, 22 Feb 2013 00:51:58 +0000 (00:51 +0000)]
code cleanup: remove unused arg

7 years agoCode cleanup:
Thomas Dinges [Thu, 21 Feb 2013 21:05:31 +0000 (21:05 +0000)]
Code cleanup:
* Cycles: Removed leftover include of "kernel_qbvh.h", which was removed in r51352.

7 years agoDependency Graph: some refactoring which should have no user visible impact
Brecht Van Lommel [Thu, 21 Feb 2013 19:33:04 +0000 (19:33 +0000)]
Dependency Graph: some refactoring which should have no user visible impact
besides performance in some cases.

* DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in
  most cases. This will clear the dependency graph, and only rebuild it right
  before it's needed again when the scene is re-evaluated.

  This is done because DAG_scene_sort is slow when called many times from
  python operators. Further the scene argument is not needed because most
  operations can potentially affect more than the current scene.

* DAG_scene_relations_update will now rebuild the dependency graph if it's not
  there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare
  cases that need it.

* Remove various places where ob->recalc was set manually. This should go
  through DAG_id_tag_update() in nearly all cases instead since this is now
  a fast operation. Also removed DAG_ids_flush_update that goes along with
  such manual tagging of ob->recalc.

7 years agoFix scons compile
Jens Verwiebe [Thu, 21 Feb 2013 19:23:41 +0000 (19:23 +0000)]
Fix scons compile

7 years agorigidbody: Add option to create chanis for the connect operator
Sergej Reich [Thu, 21 Feb 2013 19:04:39 +0000 (19:04 +0000)]
rigidbody: Add option to create chanis for the connect operator

Connects objects based on distance.

Based on a patch by Brandon Hechinger (jaggz), thanks!

7 years agorigidbody: code cleanup
Sergej Reich [Thu, 21 Feb 2013 19:04:36 +0000 (19:04 +0000)]
rigidbody: code cleanup

Use bpy.data.objects.new() instead of the object.add() operator.

7 years agorigidbody: Move "Enabled" checkbox out of rigid body panel header
Sergej Reich [Thu, 21 Feb 2013 19:04:34 +0000 (19:04 +0000)]
rigidbody: Move "Enabled" checkbox out of rigid body panel header

Rename it to "Dynamic" to make it more obvious that it switches between
static and dynamic state.
Also don't show it for passive rigid bodies since it's redundant in that
case.

7 years agoBGE cleanup: Removing the PHY__Vector classes and replacing them with MT_Vectors...
Mitchell Stokes [Thu, 21 Feb 2013 18:30:11 +0000 (18:30 +0000)]
BGE cleanup: Removing the PHY__Vector classes and replacing them with MT_Vectors. The PHY__Vectors didn't offer anything (not even any real abstraction) and they required annoying MT_Vector <-> PHY_Vector conversions all over the place. No functional changes.

7 years agoBlender Internal: optimization to remove sleep() calls from the render threading
Brecht Van Lommel [Thu, 21 Feb 2013 18:08:07 +0000 (18:08 +0000)]
Blender Internal: optimization to remove sleep() calls from the render threading
code. This gives a speedup up to a couple of seconds based only on the image
resolution and tile size. For complex renders a second or two is not so noticeable
but for quick ones it's nice to save some time. On the default cube this gives me
about half a second speedup.

Patch by Johan Walles, based on the render branch implementation by me.

7 years agoObject Select Similar tool now has a Pass Index option.
Brecht Van Lommel [Thu, 21 Feb 2013 18:08:04 +0000 (18:08 +0000)]
Object Select Similar tool now has a Pass Index option.
Patch by Jesse Werner.

7 years agoRemove orthographic camera Scale hard min/max and make them soft limits instead,
Brecht Van Lommel [Thu, 21 Feb 2013 18:08:01 +0000 (18:08 +0000)]
Remove orthographic camera Scale hard min/max and make them soft limits instead,
based on patch by Alexander Trum.

7 years agobf-members.txt encoding changed from Mac Roman to UTF-8 so it displays properly
Brecht Van Lommel [Thu, 21 Feb 2013 18:07:59 +0000 (18:07 +0000)]
bf-members.txt encoding changed from Mac Roman to UTF-8 so it displays properly
cross platform, patch by Lawrence D'Oliveiro.

7 years agoIncrease maximum render resolution from 10000 to 65536.
Brecht Van Lommel [Thu, 21 Feb 2013 18:07:56 +0000 (18:07 +0000)]
Increase maximum render resolution from 10000 to 65536.

7 years agoCode cleanup:
Thomas Dinges [Thu, 21 Feb 2013 17:52:07 +0000 (17:52 +0000)]
Code cleanup:
* Remove some old RNA code for physics engines other than Bullet.

7 years agoCode cleanup:
Thomas Dinges [Thu, 21 Feb 2013 17:46:26 +0000 (17:46 +0000)]
Code cleanup:
* Removed "rotfrom" from particle RNA/DNA, was not used anywhere.

7 years agoCompile fixes for recent code cleanups:
Thomas Dinges [Thu, 21 Feb 2013 17:39:48 +0000 (17:39 +0000)]
Compile fixes for recent code cleanups:
* M_PI was not declared for MSVC.

7 years agoEnable new bevel tool code in bevel modifier.
Howard Trickey [Thu, 21 Feb 2013 17:29:35 +0000 (17:29 +0000)]
Enable new bevel tool code in bevel modifier.

Now modifier takes a segments parameter.
Bevel edge weights will multiply the overall amount.
For vertex-only, you can give a vertex group name,
and the weights in that will multiply the overall amount.

7 years agostyle cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
Campbell Barton [Thu, 21 Feb 2013 17:18:27 +0000 (17:18 +0000)]
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.

7 years agocode cleanup: move 2d bevel list into its own function. (as with 3d bevel)
Campbell Barton [Thu, 21 Feb 2013 17:16:51 +0000 (17:16 +0000)]
code cleanup: move 2d bevel list into its own function. (as with 3d bevel)

7 years agoCycles GPU Rendering:
Thomas Dinges [Thu, 21 Feb 2013 17:16:32 +0000 (17:16 +0000)]
Cycles GPU Rendering:
* Make Cycles aware of sm_35 (Tesla K20, GeForce GTX TITAN).

The CUDA Toolkit 5.0 is needed for that and this is not officially used yet, but people with access to such cards can start testing. (just build sm_35 kernels).

7 years agocode cleanup: rename ScanFillVert.h --> edge_tot, SF_VERT_UNKNOWN --> SF_VERT_AVAILABLE
Campbell Barton [Thu, 21 Feb 2013 17:15:55 +0000 (17:15 +0000)]
code cleanup: rename ScanFillVert.h --> edge_tot, SF_VERT_UNKNOWN --> SF_VERT_AVAILABLE

7 years agouse radians for BLF_rotation
Campbell Barton [Thu, 21 Feb 2013 17:15:19 +0000 (17:15 +0000)]
use radians for BLF_rotation

7 years agocode cleanup: remove ctrl option from FONT_OT_line_break
Campbell Barton [Thu, 21 Feb 2013 17:14:27 +0000 (17:14 +0000)]
code cleanup: remove ctrl option from FONT_OT_line_break
(which in fact      wasn't mapped to ctrl), it would add in a non printable
character '1' / ascii-SOH, traced back to original commit and theres no
comments about this or mentions as to what its supposed to do).

7 years agoCycles GPU rendering:
Thomas Dinges [Thu, 21 Feb 2013 17:14:07 +0000 (17:14 +0000)]
Cycles GPU rendering:
* Deprecate computing capability 1.3 (sm_13)

This commit disables auto build of sm_13 CUDA platform, which means that starting with Blender 2.67, we don't support sm_13 devices anymore. It has become difficult to support that and it was already feature incomplete (no render-passes, AO, Multi Closure etc).

It's still possible to manually enable sm_13 for own tests, but building might break in the future.

7 years agocode cleanup: remove references to old bevel code (which has been removed for a while)
Campbell Barton [Thu, 21 Feb 2013 17:13:25 +0000 (17:13 +0000)]
code cleanup: remove references to old bevel code (which has been removed for a while)

7 years agocode cleanup: no need to use list(range()), just use range()
Campbell Barton [Thu, 21 Feb 2013 17:12:08 +0000 (17:12 +0000)]
code cleanup: no need to use list(range()), just use range()

7 years agocode cleanup: pass mval to ED_view3d_cursor3d_position() rather then event x/y
Campbell Barton [Thu, 21 Feb 2013 17:11:38 +0000 (17:11 +0000)]
code cleanup: pass mval to ED_view3d_cursor3d_position() rather then event x/y

7 years agocode cleanup: remove unused runtime var - World.fastcol
Campbell Barton [Thu, 21 Feb 2013 17:10:27 +0000 (17:10 +0000)]
code cleanup: remove unused runtime var - World.fastcol

7 years agoCycles:
Thomas Dinges [Thu, 21 Feb 2013 17:10:14 +0000 (17:10 +0000)]
Cycles:
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.

7 years agoCycles Addon:
Thomas Dinges [Thu, 21 Feb 2013 17:08:13 +0000 (17:08 +0000)]
Cycles Addon:
* Code cleanup

7 years agoBlender 2.67 release cycles begin:
Thomas Dinges [Thu, 21 Feb 2013 17:07:01 +0000 (17:07 +0000)]
Blender 2.67 release cycles begin:
* BCon1, alpha. New features, extensive breakage...the usual thing. :)

7 years agoGetting ready for the 2.66 release! v2.66
Ton Roosendaal [Wed, 20 Feb 2013 16:05:29 +0000 (16:05 +0000)]
Getting ready for the 2.66 release!

- Version bump to 2.66
- Splash image by Lucas Falcao, selected by Jonathan Williamson, Andrew Price
  and Bart Veldhuizen.

7 years agoincrease openmp limit for release so low poly meshes don't use openmp threads (which...
Campbell Barton [Wed, 20 Feb 2013 15:34:31 +0000 (15:34 +0000)]
increase openmp limit for release so low poly meshes don't use openmp threads (which can be slow)

7 years agoFix visible seams on normal map bake due to clear colour being black:
Antony Riakiotakis [Wed, 20 Feb 2013 15:06:13 +0000 (15:06 +0000)]
Fix visible seams on normal map bake due to clear colour being black:

 This is a special case, tangent space normal maps should be cleared to
0.5, 0.5, 1.0. This is good practice but there's no reason why not to
automate this (for artists whose bump map fu may be a bit shallow).

Thanks to Morten Mikkelsen for reporting.

7 years agoFix DPI not taken into account for header text (e.g. during transform).
Brecht Van Lommel [Wed, 20 Feb 2013 14:53:31 +0000 (14:53 +0000)]
Fix DPI not taken into account for header text (e.g. during transform).

7 years agoedits to document uploading script so the latest release docs can always be found at:
Campbell Barton [Wed, 20 Feb 2013 14:22:36 +0000 (14:22 +0000)]
edits to document uploading script so the latest release docs can always be found at:
http://www.blender.org/documentation/blender_python_api

Easier for linking wiki docs.

7 years agoQuick fix: translating header's string with some languages (complex scripts, like...
Bastien Montagne [Wed, 20 Feb 2013 13:41:29 +0000 (13:41 +0000)]
Quick fix: translating header's string with some languages (complex scripts, like Japanese or Hindi) generates a very odd segfault! Have really no time to fix now, will try in a few hours, but safer to do this for now!

7 years agoRaise a bit Header string fixed length, else some translations (e.g. Japanese) have...
Bastien Montagne [Wed, 20 Feb 2013 13:07:28 +0000 (13:07 +0000)]
Raise a bit Header string fixed length, else some translations (e.g. Japanese) have not enough room!

7 years agoFix for blenderplayer build after recent motrack changes
Sergey Sharybin [Wed, 20 Feb 2013 13:03:14 +0000 (13:03 +0000)]
Fix for blenderplayer build after recent motrack changes

7 years agoFix shadow pass issue with non-progressive render shadow pass with emitting
Brecht Van Lommel [Wed, 20 Feb 2013 12:10:05 +0000 (12:10 +0000)]
Fix shadow pass issue with non-progressive render shadow pass with emitting
meshes and world MIS.

7 years agoMade ldl code a part of extern_ssba library, otherwise gcc fails to
Sergey Sharybin [Wed, 20 Feb 2013 12:07:27 +0000 (12:07 +0000)]
Made ldl code a part of extern_ssba library, otherwise gcc fails to
find ldl symbols because order of libraries seems to be critical
for gcc linker.

A bit stupid, but that's how linker works..

Both CMake and SCons shall work fine on linux now.

7 years agoCorrection to previous release -- scons on linux was broken
Sergey Sharybin [Wed, 20 Feb 2013 11:41:33 +0000 (11:41 +0000)]
Correction to previous release -- scons on linux was broken

7 years agoFix #34299: Motion Tracking 20x slower under Windows
Sergey Sharybin [Wed, 20 Feb 2013 11:29:43 +0000 (11:29 +0000)]
Fix #34299: Motion Tracking 20x slower under Windows

Root of the issue goes to SSBA library which didn't work
properly when using optimization in MSVC. It was worked
around by disabling optimization for libmv, which is in
fact shame and shouldn't have been done.

It seems after some changes optimization does not affect
on SSBA code, but enabling optimization could be risky so
close to release.

For now solved by splitting SSBA to separate CMake/SCons
library, disabling optimization only for this particular
library and enabling optimization for rest of libmv.

Tested on all files which used to fail with optimization
enabled in SSBA and all of them works the same as before.
Tracking speed is significantly higher now.

After release we'll enable optimization for SSBA as well,
so there'll be no crappy build setup. Later we'll replace
old SSBA library with new BA code based on Ceres.

Bundle script would be broken for until then, so better
not to use it.

7 years agoFix drawing of translated strings (can't use _ascii version of BLF_draw in these...
Bastien Montagne [Wed, 20 Feb 2013 08:39:31 +0000 (08:39 +0000)]
Fix drawing of translated strings (can't use _ascii version of BLF_draw in these cases, when WITH_INTERNATIONAL is defined we need unicode support).

7 years agofix [#32294] Navmesh crashed if on creation navmesh is also selected
Campbell Barton [Wed, 20 Feb 2013 01:36:35 +0000 (01:36 +0000)]
fix [#32294] Navmesh crashed if on creation navmesh is also selected
thanks to Sv. Lockal for investigating and providing the fix.

7 years agoremove unneeded call to RNA_property_enum_get(), the icon was always overwritten...
Campbell Barton [Wed, 20 Feb 2013 01:23:34 +0000 (01:23 +0000)]
remove unneeded call to RNA_property_enum_get(), the icon was always overwritten after.

7 years agorigidbody: Properly handle constrained objects not having rigid bodies
Sergej Reich [Wed, 20 Feb 2013 00:45:53 +0000 (00:45 +0000)]
rigidbody: Properly handle constrained objects not having rigid bodies

This is a pretty rare case that can be triggered by switching rigid body
and constraint groups before simulation was validated.
Code checked for existing physics objects but was missing else block.

7 years agochange to proportional editing suggested by Jeroen Hoolmans,
Campbell Barton [Wed, 20 Feb 2013 00:44:18 +0000 (00:44 +0000)]
change to proportional editing suggested by Jeroen Hoolmans,
don't interpolate projection, just project all points within the PET radius.

7 years agofix #34049: Collada importer doesn't import armature. Added some comments to the...
Gaia Clary [Wed, 20 Feb 2013 00:13:34 +0000 (00:13 +0000)]
fix #34049: Collada importer doesn't import armature. Added some comments to the program code for better understanding.

7 years agofix #34049: Collada importer doesn't import armature. Added support for 'rootless...
Gaia Clary [Wed, 20 Feb 2013 00:06:31 +0000 (00:06 +0000)]
fix #34049: Collada importer doesn't import armature. Added support for 'rootless' armature similar to Maya.

7 years agorigidbody: Don't run simulation if cache is baked
Sergej Reich [Tue, 19 Feb 2013 20:04:08 +0000 (20:04 +0000)]
rigidbody: Don't run simulation if cache is baked

In rare cases this would allow the simulation to run before being
initialized (if cache is baked and reading cache fails after undo or
loading a file).

7 years agofix [#34244] Snap to face projection - Entire mesh is affected by projection when...
Campbell Barton [Tue, 19 Feb 2013 16:57:04 +0000 (16:57 +0000)]
fix [#34244] Snap to face projection - Entire mesh is affected by projection when Proportional Editing mode is active, regardless of influence radius

7 years agofix [#34275] Text autocomplete cuts words with accents or special characters
Campbell Barton [Tue, 19 Feb 2013 16:13:41 +0000 (16:13 +0000)]
fix [#34275] Text autocomplete cuts words with accents or special characters

autocomplete is now unicode aware, using python api's checks for now. eventually we should have our own.

7 years agoset unicode conversion errors as UNLIKELY
Campbell Barton [Tue, 19 Feb 2013 15:58:38 +0000 (15:58 +0000)]
set unicode conversion errors as UNLIKELY

7 years agostep over unicode characters with autocomplete (correctly this time).
Campbell Barton [Tue, 19 Feb 2013 15:56:49 +0000 (15:56 +0000)]
step over unicode characters with autocomplete (correctly this time).

7 years agoAdd CTX_wm_operator_poll_msg_set as auto-detected func for translations.
Bastien Montagne [Tue, 19 Feb 2013 15:47:30 +0000 (15:47 +0000)]
Add CTX_wm_operator_poll_msg_set as auto-detected func for translations.

7 years agoAnother huge bunch of new UI translations (some reported by Leon Cheung, thanks!)...
Bastien Montagne [Tue, 19 Feb 2013 15:45:56 +0000 (15:45 +0000)]
Another huge bunch of new UI translations (some reported by Leon Cheung, thanks!)...

7 years agobpy.props.RemoveProperty() py api docs were still incorrect.
Campbell Barton [Tue, 19 Feb 2013 15:21:12 +0000 (15:21 +0000)]
bpy.props.RemoveProperty() py api docs were still incorrect.

7 years agointernal: add include so blender builds against libpng1.6
Campbell Barton [Tue, 19 Feb 2013 15:15:34 +0000 (15:15 +0000)]
internal: add include so blender builds against libpng1.6

7 years agofix [#34033] Mesh customdata settings are missing
Campbell Barton [Tue, 19 Feb 2013 14:36:26 +0000 (14:36 +0000)]
fix [#34033] Mesh customdata settings are missing
Mesh edge number buttons were removed when the custom-data layers weren't present.

More of a usability regression than a bug.

7 years agofix for apply rotation/location failing for surface object types (were recognized...
Campbell Barton [Tue, 19 Feb 2013 14:19:53 +0000 (14:19 +0000)]
fix for apply rotation/location failing for surface object types (were recognized as 2d curves).

7 years agointernal: increase error threshold for normalize assert since normals converted from...
Campbell Barton [Tue, 19 Feb 2013 14:14:37 +0000 (14:14 +0000)]
internal: increase error threshold for normalize assert since normals converted from shorts are not always exactly unit length.