8 years
Thomas Dinges [Sun, 24 Feb 2013 11:54:28 +0000 (11:54 +0000)]
* Disable OIIO test and cmd tools per default, they are not needed for Blender.

8 years agofix for own commit r54806 with argument order and multisampling.
Campbell Barton [Sun, 24 Feb 2013 10:50:33 +0000 (10:50 +0000)]
fix for own commit r54806 with argument order and multisampling.

8 years agoBig i18n tools update, I/II.
Bastien Montagne [Sun, 24 Feb 2013 08:50:55 +0000 (08:50 +0000)]
Big i18n tools update, I/II.

* Everything is still a bit raw and sometimes hackish.
* Not every feature implemented yet.
* A bunch of cleanup is still needed.
* Doc needs to be updated too!

8 years agoFix for uiButGetStrInfo: We need a string value here, return BPY_I18NCONTEXT_DEFAULT_...
Bastien Montagne [Sun, 24 Feb 2013 08:46:01 +0000 (08:46 +0000)]
Fix for uiButGetStrInfo: We need a string value here, return BPY_I18NCONTEXT_DEFAULT_BPY when using default NULL label's context.

8 years agoBGE: Removing the source files for the PHY interfaces since they just contained virtu...
Mitchell Stokes [Sun, 24 Feb 2013 07:09:39 +0000 (07:09 +0000)]
BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems.

8 years agofix for fullscreen on X11 (used by the BGE, not blender application),
Campbell Barton [Sun, 24 Feb 2013 05:05:29 +0000 (05:05 +0000)]
fix for fullscreen on X11 (used by the BGE, not blender application),
changing the screen resolution wasn't still allowed for larger virtual desktops.

added an exclusive option to ghost so the fullscreen window is ignored by the window manager and we get all events. (common practice for games on X11).

8 years agorigidbody: Don't abort connect operator if last selected object is active
Sergej Reich [Sat, 23 Feb 2013 23:40:51 +0000 (23:40 +0000)]
rigidbody: Don't abort connect operator if last selected object is active

Was silly logic error.

8 years agoGHOST/X11 - free memory allocated by XF86VidModeGetAllModeLines(),
Campbell Barton [Sat, 23 Feb 2013 23:15:38 +0000 (23:15 +0000)]
GHOST/X11 - free memory allocated by XF86VidModeGetAllModeLines(),
Comment from Zr says this crashes but looks like this was because there was no check if the function failed to allocate to begin with.

8 years agorigidbody: Fix motion paths calculation being incorrect for rigid bodies
Sergej Reich [Sat, 23 Feb 2013 23:04:10 +0000 (23:04 +0000)]
rigidbody: Fix motion paths calculation being incorrect for rigid bodies

For the simulation to work properly the limited update the motion paths
calculation did wasn't enough so you got different results for for
motion paths than for the actual simulation.
Now do full frame update if rigid body sim is active.

TODO investigate if we can still limit this.

8 years agorigidbody: Add motor constraint
Sergej Reich [Sat, 23 Feb 2013 23:04:07 +0000 (23:04 +0000)]
rigidbody: Add motor constraint

It's implemented as a separate constraint instead of adding properties
to the existing constraints.
Motors only apply linear and angular impulses and don't limit the
movement of rigid bodies, so it's best to use them in conjunction with
other constraints to limit the degrees of freedom.

Thanks to Markus Kasten (markus111) for the initial patch.

8 years agorigidbody: Code cleanup
Sergej Reich [Sat, 23 Feb 2013 23:04:03 +0000 (23:04 +0000)]
rigidbody: Code cleanup

Clean up DNA comments.

8 years agoGHOST/X11 support for frequency, from SDL's mode switching.
Campbell Barton [Sat, 23 Feb 2013 22:48:16 +0000 (22:48 +0000)]
GHOST/X11 support for frequency, from SDL's mode switching.
also free the modes when done.

8 years agoRename CMake's Boost_USE_ICU to WITH_BOOST_ICU (update your CMake conf if you make...
Bastien Montagne [Sat, 23 Feb 2013 20:42:15 +0000 (20:42 +0000)]
Rename CMake's Boost_USE_ICU to WITH_BOOST_ICU (update your CMake conf if you make static builds!), and add it as CMake option.

Patch by gdh (Gavin Howard), many thanks!

8 years agoFix for image alpha version patch with library linked files where the image
Brecht Van Lommel [Sat, 23 Feb 2013 20:24:02 +0000 (20:24 +0000)]
Fix for image alpha version patch with library linked files where the image
datablock is in a different library than the texture datablock. Adjusted the
fix in 54790 to check for this case specifically so it keeps working on other
files that have packed images.

The problem is that blo_do_versions_newlibadr will not return a valid datablock
in some cases with linked libraries. This function is used in various places in
the version patching code and would likely cause problems there as well, needs
to be investigated further.

8 years agoFix #34358: shrinkwrap modifier project along normal did not work correctly
Brecht Van Lommel [Sat, 23 Feb 2013 20:23:59 +0000 (20:23 +0000)]
Fix #34358: shrinkwrap modifier project along normal did not work correctly
after other modifiers. It needs normals and those were not calculated.

8 years agoBug fix in 2.66 release, irc submitted.
Ton Roosendaal [Sat, 23 Feb 2013 14:52:40 +0000 (14:52 +0000)]
Bug fix in 2.66 release, irc submitted.

File with packed images crashes on load.

Do-versions now is copying Images, because texture "use alpha" has been removed...
However, it then also copied packaged images, which crashes for some reason.

For now I skip packed image copy, which keeps blender work. This versioning
code needs more checking though.

8 years agoBug fix #34347
Ton Roosendaal [Sat, 23 Feb 2013 14:31:46 +0000 (14:31 +0000)]
Bug fix #34347

If you move (with F5) the properties and tools region in 3d viewport to the same side,
the mini-axis and text overlays were drawing in wrong place.

8 years agoMissed instance of ThemeGeneric.back -> ThemeGradient.gradients.high_gradient
Antony Riakiotakis [Sat, 23 Feb 2013 12:55:19 +0000 (12:55 +0000)]
Missed instance of ThemeGeneric.back -> ThemeGradient.gradients.high_gradient

8 years agoBugfix #34374
Ton Roosendaal [Sat, 23 Feb 2013 11:51:10 +0000 (11:51 +0000)]
Bugfix #34374

Fixed tooltip for checker-select, it works on the active item, not selected ones.

8 years agocode cleanup: confusingly written and named function for BGE materuial conversion...
Campbell Barton [Sat, 23 Feb 2013 07:36:40 +0000 (07:36 +0000)]
code cleanup: confusingly written and named function for BGE materuial conversion: getImageFromMaterial() --> getMTexFromMaterial()

8 years agocode cleanup: bge material conversion was creating STR_String just to check for empty...
Campbell Barton [Sat, 23 Feb 2013 07:15:37 +0000 (07:15 +0000)]
code cleanup: bge material conversion was creating STR_String just to check for empty string for no reason (empty string was assigned irrespective).

8 years agofix [#34378] GLSL materials using multiple UV layers fail in editmode
Campbell Barton [Sat, 23 Feb 2013 06:56:10 +0000 (06:56 +0000)]
fix [#34378] GLSL materials using multiple UV layers fail in editmode
regression since BMesh merge.

8 years agocode cleanup: make editmode PASSATTRIB into static functions.
Campbell Barton [Sat, 23 Feb 2013 05:36:15 +0000 (05:36 +0000)]
code cleanup: make editmode PASSATTRIB into static functions.

8 years agoBGE: fix for uninitialized tangents
Campbell Barton [Sat, 23 Feb 2013 04:49:46 +0000 (04:49 +0000)]
BGE: fix for uninitialized tangents

8 years agoBGE: Fix for bug #34377 "Multi UV mesh's materials not backwards compatible and Odd...
Mitchell Stokes [Sat, 23 Feb 2013 04:15:47 +0000 (04:15 +0000)]
BGE: Fix for bug #34377 "Multi UV mesh's materials not backwards compatible and Odd UV Coord behavior" reported by Alex Mairs (ctbm). The problem was the unused texture slot was still trying to be used. Now unused texture slots' mappings are set to DISABLE so they don't mess up the rest of the conversion process.

8 years agoBGE: Finally moving material IPOs to the 2.60 BGE animation system (BL_Action). It...
Mitchell Stokes [Sat, 23 Feb 2013 02:47:22 +0000 (02:47 +0000)]
BGE: Finally moving material IPOs to the 2.60 BGE animation system (BL_Action). It was kind of a fluke that they worked before.

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

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

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

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

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

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

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

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

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

8 years agoWITH_PYTHON_FRAMEWORK cmake option for OSX
Dalai Felinto [Fri, 22 Feb 2013 22:24:38 +0000 (22:24 +0000)]
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:
as the latter seems to be the norm)

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

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

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

8 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!

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

8 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

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

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

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

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

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

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

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

8 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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

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

8 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

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

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

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

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

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

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

8 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!

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

Use instead of the object.add() operator.

8 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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 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

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

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

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

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

8 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()

8 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

8 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

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

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

8 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. :)

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

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

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

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

8 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:

Easier for linking wiki docs.