blender.git
6 years agoFix [#34444] Curve: Select Nth Number of Points
Bastien Montagne [Tue, 26 Feb 2013 16:39:41 +0000 (16:39 +0000)]
Fix [#34444] Curve: Select Nth Number of Points

Just use default op name, as for meshes!

6 years agoAdd missing select menu for weight, vertex, texture paint modes.
Campbell Barton [Tue, 26 Feb 2013 15:42:33 +0000 (15:42 +0000)]
Add missing select menu for weight, vertex, texture paint modes.

6 years agofix own regression since 2.65 [#34438] Solidify crease bug
Campbell Barton [Tue, 26 Feb 2013 14:32:53 +0000 (14:32 +0000)]
fix own regression since 2.65 [#34438] Solidify crease bug

6 years agoCamera tracking: support refining radial K1, K2 only
Sergey Sharybin [Tue, 26 Feb 2013 11:46:38 +0000 (11:46 +0000)]
Camera tracking: support refining radial K1, K2 only

This commits adds extra refirenment entry in the menu which is
"K1, K2" and which will apparently refine only this distortion
coefficients.

This would be useful in cases when you know for sure focal length
(which could be obtained from lens, EXIF and so) but not sure
about how good you manual calibration is.

Be careful tho, there're no internal constraints on this
coefficients so distortion model could just screw up into insane
values.

6 years agoCamera tracking: switch euclidean intersection code to use Ceres
Sergey Sharybin [Tue, 26 Feb 2013 11:46:27 +0000 (11:46 +0000)]
Camera tracking: switch euclidean intersection code to use Ceres

Would not expect any significant changes in solver behavior, but
it could be more accurate in some cases.

Switching projective intersection to ceres is marked as a TODO
for now.

6 years agofix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()
Campbell Barton [Tue, 26 Feb 2013 09:33:54 +0000 (09:33 +0000)]
fix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()
caused bug [#34391] Window position not saving correctly for next start-up

6 years agopatch [#34437] Fix text editor bug: ctrl+F is not configurable
Campbell Barton [Tue, 26 Feb 2013 05:22:04 +0000 (05:22 +0000)]
patch [#34437] Fix text editor bug: ctrl+F is not configurable
in fact the keymap editor was missing other keymaps so added these too,
also updated keymap checker to make sure there is no mismatch with region/space types.

6 years agoadd ctest for keyconfig_utils to check for missing items.
Campbell Barton [Tue, 26 Feb 2013 04:48:16 +0000 (04:48 +0000)]
add ctest for keyconfig_utils to check for missing items.

6 years agofix [#34415] Edge slide results in segmentation fault on certain mesh
Campbell Barton [Tue, 26 Feb 2013 03:20:10 +0000 (03:20 +0000)]
fix [#34415] Edge slide results in segmentation fault on certain mesh

6 years agoCMake: update cmake.txt documentation to remove some old information and link
Brecht Van Lommel [Tue, 26 Feb 2013 00:49:45 +0000 (00:49 +0000)]
CMake: update cmake.txt documentation to remove some old information and link
to the wiki for detailed cmake build setup instructions.

6 years agoOpenGL: implemenation of fixed function lighting as per pixel GLSL shaders. The
Brecht Van Lommel [Tue, 26 Feb 2013 00:49:42 +0000 (00:49 +0000)]
OpenGL: implemenation of fixed function lighting as per pixel GLSL shaders. The
code is still unused, but the intention is to use this to solve the double sided
lighting problem on NVidia, and to make the materials work on OpenGL ES 2.0
eventually.

The code works and matches the fixed function lighting pretty much exactly, but
still needs optimizations. The actual integration in object draw will be
committed later when more fixing & testing, there's lots of different combinations
and unclear OpenGL state here.

6 years agoFix OS X build error with Quicktime, need <stdio.h> for FILE usage.
Brecht Van Lommel [Tue, 26 Feb 2013 00:49:38 +0000 (00:49 +0000)]
Fix OS X build error with Quicktime, need <stdio.h> for FILE usage.

6 years agofix [#34423] Foreach_get crash for any non existant attribute
Campbell Barton [Tue, 26 Feb 2013 00:31:36 +0000 (00:31 +0000)]
fix [#34423] Foreach_get crash for any non existant attribute
also improve exception messages.

6 years agosimplify drag toggle operator, use BLI_rctf_isect_segment between mouse events rather...
Campbell Barton [Tue, 26 Feb 2013 00:09:26 +0000 (00:09 +0000)]
simplify drag toggle operator, use BLI_rctf_isect_segment between mouse events rather then many calls to ui_but_find_mouse_over().

6 years agoadd define for drag toggle.
Campbell Barton [Mon, 25 Feb 2013 23:27:32 +0000 (23:27 +0000)]
add define for drag toggle.

6 years agorigidbody: Don't set object to rigid body on dummy transform
Sergej Reich [Mon, 25 Feb 2013 22:36:50 +0000 (22:36 +0000)]
rigidbody: Don't set object to rigid body on dummy transform

Fixes [#34420] rigid objects not resetting original properly after running a simulation.

6 years agorevert some changes from own commit r54850 which broke undo for toggle buttons, also...
Campbell Barton [Mon, 25 Feb 2013 21:13:40 +0000 (21:13 +0000)]
revert some changes from own commit r54850 which broke undo for toggle buttons, also make toggle buttons auto-key.

6 years agoBye-bye, SSBA!
Sergey Sharybin [Mon, 25 Feb 2013 20:15:42 +0000 (20:15 +0000)]
Bye-bye, SSBA!

With new bundle adjustment based on Ceres we don't need
SSBA library anymore. This also means we don't need ldl
library and libmv is no longer depends on colamd as well.

6 years agoSwitch motion tracker bundle adjustment to Ceres.
Keir Mierle [Mon, 25 Feb 2013 20:00:48 +0000 (20:00 +0000)]
Switch motion tracker bundle adjustment to Ceres.

Patch originally written by me, then finished by Sergey. Big
thanks to Sergey for troopering through and fixing the many issues
with my original (not compilable) patch.

The Ceres implementation uses 2 parameter blocks for each camera
(1 for rotation and 1 for translation), 1 parameter block for
common intrinsics (focal length etc) and 1 parameter block for
each track (e.g. bundle or 3D point).

We turn on some fancy optimizer options to get better performance,
in particular:

  options.preconditioner_type = ceres::SCHUR_JACOBI;
  options.linear_solver_type = ceres::ITERATIVE_SCHUR;
  options.use_inner_iterations = true;
  options.use_nonmonotonic_steps = true;
  options.max_num_iterations = 100;

Special thanks to Sameer Agarwal of Ceres fame for splitting out
the SCHUR_JACOBI preconditioner so that it didn't depend on
CHOLMOD.  Previously we could not use that preconditioner in
Blender because CHOLMOD is too large of a dependency for Blender.

BundleIntrinsicsLogMessage:
- Moved bunch of if(foo) LG << "bar" into this function, to make
  EuclideanBundleCommonIntrinsics a little bit easier to follow.

EuclideanBundle:
- Fix RMSE logging.

6 years agoSome minor UI messages fixes.
Bastien Montagne [Mon, 25 Feb 2013 19:16:04 +0000 (19:16 +0000)]
Some minor UI messages fixes.

6 years agoTame that stupid py code not to eat existing fuzzies in po’s when updating from POT...
Bastien Montagne [Mon, 25 Feb 2013 16:06:59 +0000 (16:06 +0000)]
Tame that stupid py code not to eat existing fuzzies in po’s when updating from POT file!

6 years agofix: #34427: Collada export crash with armature
Gaia Clary [Mon, 25 Feb 2013 16:02:40 +0000 (16:02 +0000)]
fix: #34427: Collada export crash with armature

6 years agorigidbody: Don't embed collision margin if object has no volume
Sergej Reich [Mon, 25 Feb 2013 15:51:53 +0000 (15:51 +0000)]
rigidbody: Don't embed collision margin if object has no volume

While it's not a good idea to create convex hull shapes from objects
with no volume, this makes them behave a little nicer.

Fixes [#34410] Planes with Rigid Body always keep distance to colliding objects

6 years agoFix compilation error with libmv disabled
Sergey Sharybin [Mon, 25 Feb 2013 13:15:42 +0000 (13:15 +0000)]
Fix compilation error with libmv disabled

6 years agoonly apply workaround for [#33223] when using intel cards on windows.
Campbell Barton [Mon, 25 Feb 2013 12:19:38 +0000 (12:19 +0000)]
only apply workaround for [#33223] when using intel cards on windows.

6 years agoCheck if the variable is a string and split nicely, so compile command stays intact...
Nathan Letwory [Mon, 25 Feb 2013 12:03:55 +0000 (12:03 +0000)]
Check if the variable is a string and split nicely, so compile command stays intact with proper include options.

6 years agois_crappy_intel_card() was checking strstr(glGetString(GL_VENDOR), "Intel") every...
Campbell Barton [Mon, 25 Feb 2013 12:03:26 +0000 (12:03 +0000)]
is_crappy_intel_card() was checking strstr(glGetString(GL_VENDOR), "Intel") every call,
better store in static var.

6 years agofix for toggle buttons not taking effect on mousedown.
Campbell Barton [Mon, 25 Feb 2013 11:52:18 +0000 (11:52 +0000)]
fix for toggle buttons not taking effect on mousedown.

6 years agoUpdate Carve to newest upstream version with some assorted fixes
Sergey Sharybin [Mon, 25 Feb 2013 10:02:43 +0000 (10:02 +0000)]
Update Carve to newest upstream version with some assorted fixes

Perhaps some warnings could be silenced, but not in mood of writing
local patches at this moment. They're all harmless anyway.

6 years agoCamera tracking, minor changes:
Sergey Sharybin [Mon, 25 Feb 2013 09:46:47 +0000 (09:46 +0000)]
Camera tracking, minor changes:

- Fill in image dimension for camera intrinsics used for
  solution refirement.
- Retrieve K3 from camera intrinsics after refining.

Shall be no functional changes, just makes things clear
and robust for further improvements.

6 years agocode cleanup: remove unused and unsupported functions from libmv-capi
Sergey Sharybin [Mon, 25 Feb 2013 09:38:59 +0000 (09:38 +0000)]
code cleanup: remove unused and unsupported functions from libmv-capi

---
svn merge -r52855:52856 ^/branches/soc-2011-tomato

6 years agoCamera tracking: libmv distortion API now also uses camera intrinsics
Sergey Sharybin [Mon, 25 Feb 2013 09:36:52 +0000 (09:36 +0000)]
Camera tracking: libmv distortion API now also uses camera intrinsics
structure instead of passing all the parameters to every function.

Makes it much easier to tweak distortion model.

---
svn merge -r52854:52855 ^/branches/soc-2011-tomato

6 years agoSynchronize libmv with own branch
Sergey Sharybin [Mon, 25 Feb 2013 09:27:57 +0000 (09:27 +0000)]
Synchronize libmv with own branch

Should be no functional changes, just would help a lot
checking on which stuff was/shall be merged from tomato
and which is not.

6 years agocode cleanup: camera tracking
Sergey Sharybin [Mon, 25 Feb 2013 09:24:31 +0000 (09:24 +0000)]
code cleanup: camera tracking

- Moved keyframes and refirement flags into reconstruction options structure
- Moved distortion coefficients and other camera intrinsics into own structure
- Cleaned up reconstruction functions in libmv c-api

---
svn merge -r52853:52854 ^/branches/soc-2011-tomato

6 years agoUpgrade Ceres library to current master which is current 1.5RC
Sergey Sharybin [Mon, 25 Feb 2013 08:59:26 +0000 (08:59 +0000)]
Upgrade Ceres library to current master which is current 1.5RC

This is helpful because it brings CHOLMOB-free ITERATIVE_SCHUR and
SCHUR_JACOBI which is really nice for new upcoming bundle adjustment.

If also includes all the local fixes we made locally.

There're lots of other improvements/fixed which are not currently
would be so much visible in Blender, but which opens doors for some
great improvements in future.

6 years agoUpdate bundled version of minilzo
Sergey Sharybin [Mon, 25 Feb 2013 08:16:28 +0000 (08:16 +0000)]
Update bundled version of minilzo

This updates minilzo from version 2.03 to version 2.06 which
is like 3 years newer.

The main reason of this update is that older minilzo had some
strange valgrind warnings. Likely they're harmless, but it was
still annoying to troubleshot bakes with valgrind.

6 years agoBGE: Fixing a crash reported by Ace Dragon on BA. It looks like Object->totcol can...
Mitchell Stokes [Mon, 25 Feb 2013 05:55:37 +0000 (05:55 +0000)]
BGE: Fixing a crash reported by Ace Dragon on BA. It looks like Object->totcol can give a number higher than the number of materials, so I've added some NULL checks.

6 years agofix for python exception getting the ID from an operator button:
Campbell Barton [Mon, 25 Feb 2013 04:19:28 +0000 (04:19 +0000)]
fix for python exception getting the ID from an operator button:
  attempting to select 'Online Manual' or 'Python Reference' from the UI of a running operator would give an error popup.

6 years agofix for regression in 'object.shape_key_transfer' operator since BMesh merge, using...
Campbell Barton [Mon, 25 Feb 2013 03:54:16 +0000 (03:54 +0000)]
fix for regression in 'object.shape_key_transfer' operator since BMesh merge, using the RELATIVE_FACE method failed.

6 years agofix for weight paint using values over 1.0 when blending,
Campbell Barton [Mon, 25 Feb 2013 03:45:56 +0000 (03:45 +0000)]
fix for weight paint using values over 1.0 when blending,
since its possible to have a brush strength over 1.0, it was possible to paint weights which would over-shoot the intended weight.

6 years agofix for own error r54703, the event->mval was relative to a different region.
Campbell Barton [Mon, 25 Feb 2013 00:45:20 +0000 (00:45 +0000)]
fix for own error r54703, the event->mval was relative to a different region.
also make recent image dnd patch add the new object at the mouse cursor.

6 years agoHidding the append: already linked message if G.debug is false. This gets rid of...
Mitchell Stokes [Mon, 25 Feb 2013 00:03:58 +0000 (00:03 +0000)]
Hidding the append: already linked message if G.debug is false. This gets rid of some noise in the console for BGE games that run into this case a lot.

6 years agoFix for collapse-edges crash in dyntopo
Nicholas Bishop [Mon, 25 Feb 2013 00:02:25 +0000 (00:02 +0000)]
Fix for collapse-edges crash in dyntopo

Was incorrectly testing for a vertex in a set with BLI_ghash_lookup
rather than BLI_ghash_haskey; the key in this case is always null so
the test failed.

This could leave the PBVH in an inconsistent state, since the
top-level map of BMesh vertices to PBVH nodes would indicate the
vertex was in a node, but that node wouldn't actually have any faces
using the vertex. That inconsistent state would eventually lead to a
crash in pbvh_bmesh_vert_remove().

Fixes
http://projects.blender.org/tracker/?func=detail&atid=498&aid=34370&group_id=9

6 years agopatch [#34411] Patch for image drag and drop to create Empty rather than BG image
Campbell Barton [Sun, 24 Feb 2013 23:18:21 +0000 (23:18 +0000)]
patch [#34411] Patch for image drag and drop to create Empty rather than BG image
from Kevin Mackay (yakca)

6 years agopatch [#34380] Fix Python console bug: "autocomplete" doesn't advance cursor properly...
Campbell Barton [Sun, 24 Feb 2013 21:51:48 +0000 (21:51 +0000)]
patch [#34380] Fix Python console bug: "autocomplete" doesn't advance cursor properly when completion includes UTF8 characters
from Shinsuke Irie (irie)

6 years agostyle cleanup
Campbell Barton [Sun, 24 Feb 2013 20:33:21 +0000 (20:33 +0000)]
style cleanup

6 years agopointcache: Fix freeing all bakes in particle mode
Sergej Reich [Sun, 24 Feb 2013 19:33:10 +0000 (19:33 +0000)]
pointcache: Fix freeing all bakes in particle mode

Freeing all bakes didn't free edited cache in particle mode, this lead
to unresponsive ui and crashes.

Now use same logic as for freeing single bake.

6 years agoBGE: Adding back the virtual destructor to PHY_IPhysicsController, which was accident...
Mitchell Stokes [Sun, 24 Feb 2013 18:48:57 +0000 (18:48 +0000)]
BGE: Adding back the virtual destructor to PHY_IPhysicsController, which was accidentally removed in r54807.

6 years agoSome UI messages fixes...
Bastien Montagne [Sun, 24 Feb 2013 18:04:10 +0000 (18:04 +0000)]
Some UI messages fixes...

6 years agoFix scons building...
Bastien Montagne [Sun, 24 Feb 2013 16:01:30 +0000 (16:01 +0000)]
Fix scons building...

6 years agorigidbody: Allow collision groups to be animated
Sergej Reich [Sun, 24 Feb 2013 15:53:30 +0000 (15:53 +0000)]
rigidbody: Allow collision groups to be animated

6 years agoAnother bunch of UI translation fixes, thanks to Leon Cheung, Gabriel Gazzán and...
Bastien Montagne [Sun, 24 Feb 2013 15:40:28 +0000 (15:40 +0000)]
Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel Gazzán and S. Lockal for spotting them!

6 years agoBug fix #34384
Ton Roosendaal [Sun, 24 Feb 2013 14:42:21 +0000 (14:42 +0000)]
Bug fix #34384

Border select in UV Image window crashed, if used when Image Window shows a render.
Made operators for UV vertex manipulations having a more strict check for this mode.
(Similar to other UV tools there).

6 years agoHopefully last round of fixes for all OSes
Antony Riakiotakis [Sun, 24 Feb 2013 14:27:59 +0000 (14:27 +0000)]
Hopefully last round of fixes for all OSes

6 years agoCompile fix round 2. Still trying to do this from linux :p
Antony Riakiotakis [Sun, 24 Feb 2013 14:02:45 +0000 (14:02 +0000)]
Compile fix round 2. Still trying to do this from linux :p

6 years agoAdd bogus stabs for fullscreen window mode for BGE in GHOST. Platform maintainers...
Antony Riakiotakis [Sun, 24 Feb 2013 13:51:12 +0000 (13:51 +0000)]
Add bogus stabs for fullscreen window mode for BGE in GHOST. Platform maintainers should change these to replicate X11 behaviour. Also moved X11 implementation to public methods, just like the IWindow interface. Should fix compilation

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

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

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

Notes:
* 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!

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

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

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

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

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

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

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

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

Clean up DNA comments.

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

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

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

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

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

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

6 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 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

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

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