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.

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

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

8 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

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

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

8 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

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

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

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

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

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

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

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

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

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

8 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

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

8 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

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

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

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

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

8 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

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

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

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

8 years agoSmall correction to make strict compiler setup be happy
Sergey Sharybin [Tue, 19 Feb 2013 13:41:58 +0000 (13:41 +0000)]
Small correction to make strict compiler setup be happy

8 years agorevert own commit r54625, broke autocomplete.
Campbell Barton [Tue, 19 Feb 2013 13:41:53 +0000 (13:41 +0000)]
revert own commit r54625, broke autocomplete.

8 years agoRemove define which is not actually needed and could have been
Sergey Sharybin [Tue, 19 Feb 2013 13:38:36 +0000 (13:38 +0000)]
Remove define which is not actually needed and could have been
conflicted with one from IMB_colormanagement.h

8 years agoFix #34315: memory leak cancelling move to layer operator, after change to make
Brecht Van Lommel [Tue, 19 Feb 2013 13:37:48 +0000 (13:37 +0000)]
Fix #34315: memory leak cancelling move to layer operator, after change to make
it not execute immediately when opening the popup.

8 years agomake asserts that check for unit length vectors into a macro.
Campbell Barton [Tue, 19 Feb 2013 13:15:34 +0000 (13:15 +0000)]
make asserts that check for unit length vectors into a macro.
this was really not nice logic to try to fit into an assert.

8 years agopatch [#34320] Cross compiling with mingw-w64 on ubuntu
Campbell Barton [Tue, 19 Feb 2013 12:05:38 +0000 (12:05 +0000)]
patch [#34320] Cross compiling with mingw-w64 on ubuntu
from Martijn Berger (juicyfruit)

applying since this is only corrects header case which is ignored on windows anyway.

8 years agoStyle tweak - missing braces
Joshua Leung [Tue, 19 Feb 2013 10:31:29 +0000 (10:31 +0000)]
Style tweak - missing braces

8 years agoRemove ztrans_hack. Looks like just keeping the angles compatible works well
Joshua Leung [Tue, 19 Feb 2013 10:10:09 +0000 (10:10 +0000)]
Remove ztrans_hack. Looks like just keeping the angles compatible works well

8 years agoFix #34249: collapse edges crash blender with a specific mesh
Sergey Sharybin [Tue, 19 Feb 2013 09:51:32 +0000 (09:51 +0000)]
Fix #34249: collapse edges crash blender with a specific mesh

OpenMP block was using shared variable, which for sure leads to
threading issues.

8 years agofix [#34295] Color picker brightness to infinity
Campbell Barton [Tue, 19 Feb 2013 09:41:48 +0000 (09:41 +0000)]
fix [#34295] Color picker brightness to infinity
simply clamp the color to the buttons softrange since color conversion can cause the value to scale outside the intended button limits.

8 years agoFixes for alpha mode do_versions code
Sergey Sharybin [Tue, 19 Feb 2013 08:37:08 +0000 (08:37 +0000)]
Fixes for alpha mode do_versions code

Before this change only old flag "Premultiply" was used to
detect alpha mode, which is not enough actually.

Now the logic here is:

- If "Premultiply" was enabled it is likely float image with
  straight alpha, which shall be premultiplied before usage.

  In this case image/sequence Alpha Mode is set to Straight.

- Otherwise use default alpha mode for image format based on
  an extension. This could fail in some cases like TIFF, but
  this wasn't handled fully correct in older blender anyway.

Initial discovered issue was that EXR images saved in older
Blender versions were set to Straight alpha mode, which is
obviously a straight way to lots of headache.

8 years agofix for [#34283] wasn't working in my tests (attached to original report),
Campbell Barton [Tue, 19 Feb 2013 04:37:28 +0000 (04:37 +0000)]
fix for [#34283] wasn't working in my tests (attached to original report),
made bone roll get compatible angle values with the original roll.

8 years agoBugfix [#34283] armature bones losing their roll setting upon translation in
Joshua Leung [Tue, 19 Feb 2013 03:26:18 +0000 (03:26 +0000)]
Bugfix [#34283] armature bones losing their roll setting upon translation in
edit mode

My earlier fix for [#33974] (in r.54061) was causing some problems where
manually specified roll values on horizontal or angled bones were getting reset.
This could be nasty as you might not notice the changes for a while (especially
when using stick bones without axes displayed).

I've now put in place a hacky compromise solution which should catch both of
these situations nicely. For z-axis (i.e. vertical) movements, the r.54061 fix
is used, while for everything else (moving or just touch-n-go), the old setting
is used.

8 years agobpy.props.RemoveProperty() had incorrect docstring.
Campbell Barton [Tue, 19 Feb 2013 02:48:14 +0000 (02:48 +0000)]
bpy.props.RemoveProperty() had incorrect docstring.

8 years agominor change to own recent commit with transform fcurve centers and some style edits...
Campbell Barton [Tue, 19 Feb 2013 02:30:02 +0000 (02:30 +0000)]
minor change to own recent commit with transform fcurve centers and some style edits and typo corrections.

8 years agoFix for [#34099] Particles leaking from moving meshes
Alex Fraser [Tue, 19 Feb 2013 02:24:52 +0000 (02:24 +0000)]
Fix for [#34099] Particles leaking from moving meshes

This was caused by a floating point precision error. During collision detection, Newton-Raphson iteration is used to find the exact time of the collision. But when using subframes, the initial Newton step was too small. Now the initial step is given in absolute units. When subframes = 0, this should behave almost the same as before.

Thanks to Janne Karhu, Lukas Toenne and Ton Roosendaal for their help with this patch, and to AutoCRC for funding.

8 years agoFix for [#34308] only half width of material list row is used for material name.
Thomas Dinges [Mon, 18 Feb 2013 23:41:28 +0000 (23:41 +0000)]
Fix for [#34308] only half width of material list row is used for material name.

* Issue was caused in r54393.

8 years agoThemes: disabled items on menus were using a color mix of text and text_selected...
Pablo Vazquez [Mon, 18 Feb 2013 21:19:43 +0000 (21:19 +0000)]
Themes: disabled items on menus were using a color mix of text and text_selected, this didn't work nice with dark themes and text shadows and overall didn't make much sense.
Now, disabled items use a mix of text and menu item background (inner) color. Same results, but allows dark themes with bright selected text to use shadows.

Example case:

8 years agoForce movie clips always use default alpha mode, before this straight
Sergey Sharybin [Mon, 18 Feb 2013 19:34:14 +0000 (19:34 +0000)]
Force movie clips always use default alpha mode, before this straight
alpha was used for them which doesn't work for cleaned footage stored
in EXR file format.

Perhaps we need to support configurable alpha mode for clips, but
that's for later (maybe even after release),

8 years agoCorrection to own r44749 -- layers from view were always used,
Sergey Sharybin [Mon, 18 Feb 2013 17:51:07 +0000 (17:51 +0000)]
Correction to own r44749 -- layers from view were always used,
shall use active layer now for real.

8 years agoFix wrong alpha channel for OpenGL render results with transparent textures or
Brecht Van Lommel [Mon, 18 Feb 2013 17:39:44 +0000 (17:39 +0000)]
Fix wrong alpha channel for OpenGL render results with transparent textures or
materials, the typical glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); blend
function does not give correct destination alpha.

8 years agofix [#34303] Rotation fcurves don't work with transforming with individual centers
Campbell Barton [Mon, 18 Feb 2013 16:35:13 +0000 (16:35 +0000)]
fix [#34303] Rotation fcurves don't work with transforming with individual centers

8 years agochecking for V3D_LOCAL was duplicated in transform.c, and both checks not quite correct.
Campbell Barton [Mon, 18 Feb 2013 15:47:13 +0000 (15:47 +0000)]
checking for V3D_LOCAL was duplicated in transform.c, and both checks not quite correct.
- When checking edimode, make sure its mesh editmode.
- Graph editor supports this option but wasn't being checked.

8 years agoBug fix #34292
Ton Roosendaal [Mon, 18 Feb 2013 15:14:34 +0000 (15:14 +0000)]
Bug fix #34292

CTRL + MMB zoom in 2d editors now depends on 'max zoom' level. This makes
zooms in UI (very limited) go smoother, but for fcurve or timeline it's same.

8 years agoFix some popups being too small on retina display, among them the new image dialog.
Brecht Van Lommel [Mon, 18 Feb 2013 15:08:27 +0000 (15:08 +0000)]
Fix some popups being too small on retina display, among them the new image dialog.

8 years agoFix #34290: backface culling option in 3d view was not interacting well with the
Brecht Van Lommel [Mon, 18 Feb 2013 15:08:23 +0000 (15:08 +0000)]
Fix #34290: backface culling option in 3d view was not interacting well with the
option in the material in texture draw mode, now it always overrides the material.

8 years agofix bpy_extras.mesh_utils.edge_face_count_dict() helper api function.
Campbell Barton [Mon, 18 Feb 2013 14:52:49 +0000 (14:52 +0000)]
fix bpy_extras.mesh_utils.edge_face_count_dict() helper api function.
it was using tessfaces when theres no need to.

8 years agoFix #34276: OpenGL render not doing color space conversion to linear correctly
Brecht Van Lommel [Mon, 18 Feb 2013 14:03:50 +0000 (14:03 +0000)]
Fix #34276: OpenGL render not doing color space conversion to linear correctly
with transparency, would show as too dark colors on edges.

Found a strange issue here though, the alpha value in the OpenGL render result
is not the same as the one specified in the material. It's not clear to me why
this happens, color space conversions should not influence the alpha channel.

8 years agoMake list_id mandatory when using default UI_UL_list class for a template_list.
Bastien Montagne [Mon, 18 Feb 2013 14:03:26 +0000 (14:03 +0000)]
Make list_id mandatory when using default UI_UL_list class for a template_list.

8 years agopointcache: Set start frame soft limit to 1
Sergej Reich [Mon, 18 Feb 2013 13:51:01 +0000 (13:51 +0000)]
pointcache: Set start frame soft limit to 1

Right now most simulations can't handle cache start frame < 1

There are two main problems:
1. frame 0 is a special case so some simulations will just pop back to
their initial state on frame 0.
2. blender doesn't allow playing the animation starting from negative
start frames, so most simulations only work when baked and not during
regular playback.

Just change soft limit since sart frame < 1 can work in some cases, but
this needs to be fixed properly in the individual simulations if we
really want to allow it.

8 years agoFix #34289: Wrong grid color on light background
Sergey Sharybin [Mon, 18 Feb 2013 13:43:18 +0000 (13:43 +0000)]
Fix #34289: Wrong grid color on light background

Grid was blending with wrong theme color.

Since r53636 TH_HIGH_GRAD is used as a background and this
color shall be used for blending.

This is possible other usages of TH_BACK are wrong here as
well, but would want Antony to check on this.

8 years agoMinor precision in template_list doc, to always use a custom list_id when using defau...
Bastien Montagne [Mon, 18 Feb 2013 13:34:26 +0000 (13:34 +0000)]
Minor precision in template_list doc, to always use a custom list_id when using default UI_UL_list class.

8 years agoFix [#34300] Slider for list of particle systems (keyed particles) is not doing anyth...
Bastien Montagne [Mon, 18 Feb 2013 13:30:40 +0000 (13:30 +0000)]
Fix [#34300] Slider for list of particle systems (keyed particles) is not doing anything. Navigating a list of more than 5 elements requires keyboard.

Systematically adding some custom id to template_list using default UI_UL_list class, this one is commoly used more than once in an area, yielding collision issues if they do not have a custom id...

8 years agomake autocomplete use unicode character stepping (needed for bugfix).
Campbell Barton [Mon, 18 Feb 2013 12:00:17 +0000 (12:00 +0000)]
make autocomplete use unicode character stepping (needed for bugfix).

8 years agoCorrection to previous commit, needed to tweak some include
Sergey Sharybin [Mon, 18 Feb 2013 11:50:03 +0000 (11:50 +0000)]
Correction to previous commit, needed to tweak some include
directories after shuffling order of subdirectories and
compiler flags tweaks.

8 years agoCorrection to cmake rules for libmv/ceres
Sergey Sharybin [Mon, 18 Feb 2013 10:45:46 +0000 (10:45 +0000)]
Correction to cmake rules for libmv/ceres

libmv still requires optimization switched off because
of some incompatibility of SSBA and MSVC optimizer which
makes bundle adjustment work just wrong.

This shall not be an issue for Ceres and no need to
disable optimization for extern_ceres

8 years agoCorrection to r54600
Sergey Sharybin [Mon, 18 Feb 2013 10:12:44 +0000 (10:12 +0000)]
Correction to r54600

Calculate dependent area based on distortion model rather than
using 15% of image resolution for this.

Some assumptions here:

- We're assuming real-life camera calibration is used here
- Maximal undistortion delta would be achieved on frame boundary
- Distortion fully goes inside frame

This makes it possible to approximate margin for distortion by
checking undistortion delta across frame boundary and use it
for dependent area of interest.

We do not use any formula-based equation here because we're likely
support other distortion models and in that case it'll be stupid
to try detecting formula here.

8 years agoresolve build error in MSVC, was using a GNU C extension for ternary conditional.
Campbell Barton [Mon, 18 Feb 2013 03:36:10 +0000 (03:36 +0000)]
resolve build error in MSVC, was using a GNU C extension for ternary conditional.

8 years agofix [#34279] Python console: Selected region is not highlighted when using white...
Campbell Barton [Mon, 18 Feb 2013 02:36:36 +0000 (02:36 +0000)]
fix [#34279] Python console: Selected region is not highlighted when using white background color

8 years ago== Sequencer ==
Peter Schlaile [Sun, 17 Feb 2013 22:13:00 +0000 (22:13 +0000)]
== Sequencer ==

Made my last fix a little bit faster and more elegant by not playing around
with seq->tmp (only reseting it to NULL, like the old code).

8 years ago== Sequencer ==
Peter Schlaile [Sun, 17 Feb 2013 21:44:13 +0000 (21:44 +0000)]
== Sequencer ==

This fixes a bug in sequencer cut tool:

* if you cut two strips of the same name class (MVI_XXXX.MOV and MVI_XXXX.001)
  the two new generated strips will end up with the same name.
  (easy test case: add a MOV file with it's accompanying audio track to the
  timeline and then cut both strips at once into two pieces)

* visible problem: your animation data will get messed up on the way, since
  the animation system doesn't know, which strip it should assign the

Problem was caused by generating a new list of sequences within the
cut_seq_list() function:

Since dupli_seq() can't see the members of the new list of sequences, it
won't be able to assign unique names in all cases.

8 years agorigidbody: Fix regression in background scene fix
Sergej Reich [Sun, 17 Feb 2013 19:38:08 +0000 (19:38 +0000)]
rigidbody: Fix regression in background scene fix

Since BKE_object_where_is_calc() might be called outside of
scene_update_tagged_recursive(), we need to fall back to the scene's
rigid body world.

8 years agoBug fix #34281
Ton Roosendaal [Sun, 17 Feb 2013 18:46:50 +0000 (18:46 +0000)]
Bug fix #34281

The RNA path interpretor code was using a function to get the portion between quotes,
this function was not even checking if there *are* quotes at all! Causing bad
memory allocs or crashes.

8 years agofix #34284 Collada: update problem for vertex weights directly after import.
Gaia Clary [Sun, 17 Feb 2013 18:33:10 +0000 (18:33 +0000)]
fix #34284 Collada: update problem for vertex weights directly after import.

8 years agoribidbody: Fix setting "Bake to Keyframes" start frame above 2
Sergej Reich [Sun, 17 Feb 2013 18:13:22 +0000 (18:13 +0000)]
ribidbody: Fix setting "Bake to Keyframes" start frame above 2

Simulation needs to run from the beginning to work properly.

8 years agoMinor fix...
Bastien Montagne [Sun, 17 Feb 2013 15:04:56 +0000 (15:04 +0000)]
Minor fix...

8 years agoFix #34285: sculpt/paint radial control F key operators did not adjust brush size
Brecht Van Lommel [Sun, 17 Feb 2013 14:53:29 +0000 (14:53 +0000)]
Fix #34285: sculpt/paint radial control F key operators did not adjust brush size
to retina pixel size correctly.

8 years agoremove stipple from console selection drawing.
Campbell Barton [Sun, 17 Feb 2013 14:38:35 +0000 (14:38 +0000)]
remove stipple from console selection drawing.

8 years agoFixes for BMO_error_raise extraction regex, and add hindi to "active" translations.
Bastien Montagne [Sun, 17 Feb 2013 14:00:40 +0000 (14:00 +0000)]
Fixes for BMO_error_raise extraction regex, and add hindi to "active" translations.
Also enhanced the ugly py ast parsing code, so that it now can handle (up to some extent) "name" function nodes, and add func familly to extracted ones...

This ast py parsing becomes more and more ugly, should probably try to refactor it a bit. :/

8 years agoAnother huge bunch of UI translation fixes, mostly reported by Leon Cheung, Sv.Lockal...
Bastien Montagne [Sun, 17 Feb 2013 13:56:49 +0000 (13:56 +0000)]
Another huge bunch of UI translation fixes, mostly reported by Leon Cheung, Sv.Lockal, Gabriel Gazzán and Satoshi Yamasaki, thanks!

8 years agocode cleanup: operator/function mismatch
Campbell Barton [Sun, 17 Feb 2013 07:17:04 +0000 (07:17 +0000)]
code cleanup: operator/function mismatch

8 years agovertex slide: dont write clamped value back into TransInfo.values,
Campbell Barton [Sun, 17 Feb 2013 05:58:18 +0000 (05:58 +0000)]
vertex slide: dont write clamped value back into TransInfo.values,
this meant toggling clamp didn't take any effect until the mouse was moved. (annoying glitch)

8 years agoallow alt or Ckey to toggle clamping for vertex slide.
Campbell Barton [Sun, 17 Feb 2013 05:39:55 +0000 (05:39 +0000)]
allow alt or Ckey to toggle clamping for vertex slide.

8 years agoBLI_mempool totalloc was being used un-initialized, normally this would cause bugs...
Campbell Barton [Sun, 17 Feb 2013 05:16:48 +0000 (05:16 +0000)]
BLI_mempool totalloc was being used un-initialized, normally this would cause bugs but turns out its not used,
ifdef'd it out but keep in the struct in BLI_mempool for now.

8 years agocode cleanup: missed r54603, arg reordering.
Campbell Barton [Sun, 17 Feb 2013 04:35:50 +0000 (04:35 +0000)]
code cleanup: missed r54603, arg reordering.

8 years agocode cleanup: change order of args in void BKE_object_where_is_calc_time_ex() so...
Campbell Barton [Sun, 17 Feb 2013 03:57:20 +0000 (03:57 +0000)]
code cleanup: change order of args in void BKE_object_where_is_calc_time_ex() so extra arg is at the end (loose convention for *_ex() funcs). also some style cleanup.

8 years agoFix for harmless uninitialized-variable warning
Nicholas Bishop [Sat, 16 Feb 2013 21:36:26 +0000 (21:36 +0000)]
Fix for harmless uninitialized-variable warning

8 years agoFix performance regression with anchor brush in sculpt mode
Nicholas Bishop [Sat, 16 Feb 2013 21:32:05 +0000 (21:32 +0000)]
Fix performance regression with anchor brush in sculpt mode

When restoring coordinates in sculpt mode (used for several brushes
including anchor brush), can use sculpt_undo_get_node() for
non-dyntopo sculpting instead of sculpt_undo_push_node().

This should bring speed of anchor brush back to 2.65 level for regular
mesh/multires sculpting.


8 years agoFix for [#34182] Movie Distortion and Bilateral Blur doesn't work together
Jeroen Bakker [Sat, 16 Feb 2013 21:21:04 +0000 (21:21 +0000)]
Fix for [#34182] Movie Distortion and Bilateral Blur doesn't work together

 * added area of interest based on a radius around the input tile.
If someone can implement a correct formula (based on K1, K2 and K3) and send it to me, I will be happy to apply it!

 - At Mind -

8 years agoAdded option for group node buffering in the compositor.
Monique Dewanchand [Sat, 16 Feb 2013 20:21:41 +0000 (20:21 +0000)]
Added option for group node buffering in the compositor.

Justa cluster did not have enough memory to handle all Mango 4k scenes.
Option is default disabled and can be enabled in the performance panel.

 - At Mind -

8 years agorigidbody: Fix [#34277] Deleting a copied bullet scene crashes blender.
Sergej Reich [Sat, 16 Feb 2013 19:24:52 +0000 (19:24 +0000)]
rigidbody: Fix [#34277] Deleting a copied bullet scene crashes blender.

Copying scenes didn't handle rigid body worlds previously.

Since we use groups to keep track of objecs in the rigid body sim it's
tricky to do the right thing here since groups aren't duplicated.
One option would be to create new groups and add the duplicated objects
into those but that has other drawbacks.
So the rigid body world isn't copied for now.

TODO find a better way of handling this.