8 years agoBuildbot: switch to using native toolkit again
Sergey Sharybin [Mon, 11 Feb 2013 13:39:22 +0000 (13:39 +0000)]
Buildbot: switch to using native toolkit again

Crosscompiling of cubins doesn't work on linux with toolkit 4.2,
so use native toolkit for now. Disabled sm_13 for 32bit platform
for now.

Would keep cudakernels build target for a while. It doesn't hurt
being in the code and it could be helpful again once we'll switch
to toolkit 5.x where crosscompilation works fine.

Some further tweaks could probably be needed still, let's see how
building goes on buildbot now :)

8 years agoFix: smoke simulator flow sometimes produced NaN values, causing fire to disappear...
Miika Hamalainen [Mon, 11 Feb 2013 13:28:18 +0000 (13:28 +0000)]
Fix: smoke simulator flow sometimes produced NaN values, causing fire to disappear from the simulation.

8 years agoImplemented delayed partial rect update for image buffers
Sergey Sharybin [Mon, 11 Feb 2013 13:24:35 +0000 (13:24 +0000)]
Implemented delayed partial rect update for image buffers

Used by image painting mode, so every brush step would mark area
if affected on, but actual color space conversion would happen
later when actually displaying image.

Implemented as a rcti stored in ImBuf which is getting merged with
partial rect passed to IMB_partial_display_buffer_update_delayed.

This makes painting as fast as it currently possible and finally
solves #33935: Texture painting slow down with mouse, but not with tablet

8 years agofix [#34200] Metaball Tessellate error
Campbell Barton [Mon, 11 Feb 2013 13:07:26 +0000 (13:07 +0000)]
fix [#34200] Metaball Tessellate error

8 years agoFix building with blenderplayer
Sergej Reich [Mon, 11 Feb 2013 12:41:57 +0000 (12:41 +0000)]
Fix building with blenderplayer

Add ED_mball_transform() to stubs.

8 years agoFix #34194: Render Layer node didn't initialize color management flag properly
Sergey Sharybin [Mon, 11 Feb 2013 12:25:54 +0000 (12:25 +0000)]
Fix #34194: Render Layer node didn't initialize color management flag properly

Bang! How we didn't notice this for so long -- seems scenes came from render
layer node were rendering as if color management disabled (byte image wouldn't
be linearized).

8 years agoCollada Importer: Some code cleanup and optimization of the rescale function
Gaia Clary [Mon, 11 Feb 2013 11:12:44 +0000 (11:12 +0000)]
Collada Importer: Some code cleanup and optimization of the rescale function

8 years agopatch [#33697] Apply transformation added to metaballs.
Campbell Barton [Mon, 11 Feb 2013 10:56:21 +0000 (10:56 +0000)]
patch [#33697] Apply transformation added to metaballs.
from Jesse Werner (vidjogamer), with own addition of RNA function, scale and rotation support.

8 years agoreplace MEM_callocN with MEM_mallocN for events since their overwritten right after.
Campbell Barton [Mon, 11 Feb 2013 10:01:32 +0000 (10:01 +0000)]
replace MEM_callocN with MEM_mallocN for events since their overwritten right after.

8 years agopatch [#34192] UTF-8 input in Python interactive console
Campbell Barton [Mon, 11 Feb 2013 09:40:33 +0000 (09:40 +0000)]
patch [#34192] UTF-8 input in Python interactive console
from Shinsuke Irie (irie)

8 years agomove atoms into their own struct and make all names match the original atom names...
Campbell Barton [Mon, 11 Feb 2013 09:30:04 +0000 (09:30 +0000)]
move atoms into their own struct and make all names match the original atom names, there were too many and mixed in with the classes namespace.

8 years agopatch [#31636] no pressure with Genius Mousepen i608X tablet
Campbell Barton [Mon, 11 Feb 2013 08:16:32 +0000 (08:16 +0000)]
patch [#31636] no pressure with Genius Mousepen i608X tablet
from Viktoria S. (viktorias)

8 years agofix [#34143] Can't Select Bones in Weight paint mode with Left mouse Selection enabled
Campbell Barton [Mon, 11 Feb 2013 07:27:20 +0000 (07:27 +0000)]
fix [#34143] Can't Select Bones in Weight paint mode with Left mouse Selection enabled
use action-mouse for weight-sample and weight-sample-group rather then left mouse.

Alt+Left-Mouse more or less worked by accident, changing these keymaps makes it so Ctrl+LMB can be used for selection instead.

8 years agoSuppress more uncommon units.
Sergej Reich [Mon, 11 Feb 2013 07:12:15 +0000 (07:12 +0000)]
Suppress more uncommon units.

8 years agofix for weight gradient crashing on redo (wasn't possible to redo this initially).
Campbell Barton [Mon, 11 Feb 2013 06:58:38 +0000 (06:58 +0000)]
fix for weight gradient crashing on redo (wasn't possible to redo this initially).

8 years agofix for modifier keys held before a window was activated being ignored.
Campbell Barton [Mon, 11 Feb 2013 05:55:11 +0000 (05:55 +0000)]
fix for modifier keys held before a window was activated being ignored.

8 years agofix for own bug - memory leak when cancelling weight gradient tool
Campbell Barton [Mon, 11 Feb 2013 04:43:49 +0000 (04:43 +0000)]
fix for own bug - memory leak when cancelling weight gradient tool

8 years agoCommand line argument '--python' wasn't working as documented since a long time,...
Campbell Barton [Mon, 11 Feb 2013 03:01:50 +0000 (03:01 +0000)]
Command line argument '--python' wasn't working as documented since a long time, It wasnt checking for text-blocks.
Rather then be ambiguous, add --python-text argument for executing text-blocks.

8 years agofix for memory leak in transform when changing transform modes within transform
Campbell Barton [Mon, 11 Feb 2013 02:06:19 +0000 (02:06 +0000)]
fix for memory leak in transform when changing transform modes within transform
(if you held down the R-key for example).

8 years agofix [#34152] Vertex Slide - misleading description
Campbell Barton [Mon, 11 Feb 2013 01:55:58 +0000 (01:55 +0000)]
fix [#34152] Vertex Slide - misleading description
also use C key to toggle clamping rather then alt (reported in [#33949]).

8 years agosupress Hectograms from being used when displaying weight units since they are not...
Campbell Barton [Mon, 11 Feb 2013 01:14:45 +0000 (01:14 +0000)]
supress Hectograms from being used when displaying weight units since they are not so common.

8 years agostyle cleanup: also some typos
Campbell Barton [Mon, 11 Feb 2013 00:49:00 +0000 (00:49 +0000)]
style cleanup: also some typos

8 years agoFix #33437 Collada: Added scale matching for Scene imports.
Gaia Clary [Sun, 10 Feb 2013 22:14:56 +0000 (22:14 +0000)]
Fix #33437 Collada: Added scale matching for Scene imports.

8 years ago[#34013] [video sequence editor] Offset and crop of strips are wrong
Peter Schlaile [Sun, 10 Feb 2013 21:01:30 +0000 (21:01 +0000)]
[#34013] [video sequence editor] Offset and crop of strips are wrong

Applied patch by jehan after confirming the issue.

Thanks for the patch!

8 years agoFix scons win32 link error with OSL, also fix a GLEW linker warning
Brecht Van Lommel [Sun, 10 Feb 2013 20:47:44 +0000 (20:47 +0000)]
Fix scons win32 link error with OSL, also fix a GLEW linker warning

8 years agoFix themes for gradient. For other (contrib) theme maintainers: back property is...
Antony Riakiotakis [Sun, 10 Feb 2013 20:17:50 +0000 (20:17 +0000)]
Fix themes for gradient. For other (contrib) theme maintainers: back property is not used for 3D viewport back colour anymore, instead use the gradient high colour, as done in this commit

8 years agoShow/hide Render View should not raise temp user preferences windows
Sv. Lockal [Sun, 10 Feb 2013 18:08:51 +0000 (18:08 +0000)]
Show/hide Render View should not raise temp user preferences windows

8 years agoFix a few DPI / retina draw issues:
Brecht Van Lommel [Sun, 10 Feb 2013 18:03:01 +0000 (18:03 +0000)]
Fix a few DPI / retina draw issues:

* Color picker cursor was too small, and color cirle was not smooth enough.
* Border select gesture cross before first click did not reach to the border
  of the window.
* Buttons were not drawing emboss properly (also for non-retina actually).
  Note it doesn't draw entirely right for aligned buttons, but this was also
  the case before it got broken.

8 years agoFix #34184: cycles speed vector pass should be zero when using motion blur,
Brecht Van Lommel [Sun, 10 Feb 2013 18:02:59 +0000 (18:02 +0000)]
Fix #34184: cycles speed vector pass should be zero when using motion blur,
instead it had value 10000.

8 years agostyle cleanup
Campbell Barton [Sun, 10 Feb 2013 17:06:05 +0000 (17:06 +0000)]
style cleanup

8 years agoEnsure that mask layer exists in sculpt mode after multires subdivide
Nicholas Bishop [Sun, 10 Feb 2013 15:59:29 +0000 (15:59 +0000)]
Ensure that mask layer exists in sculpt mode after multires subdivide

Sculpt mode requires mask customdata layer for multires and ensures it
exists on entering sculpt mode. However, sculpt mode only considers
multires to be active if the level of subdivision is not zero, so it
does not add mask for unsubdivided multires meshes. If the multires
mesh is subdivided while in sculpt mode, no mask was present leading
to weird drawing and crash on use of the mask brush.

Fixed by doing the same thing in multires_subdivide_exec() that is
done in ED_object_modifier_add(), which is to check if sculpt mode is
active and add mask layer if so.

Fixes [#34190] Viewport artifacts when using Multiresolution modifier

8 years agoScroller initialize for Image Window regions too.
Ton Roosendaal [Sun, 10 Feb 2013 14:59:38 +0000 (14:59 +0000)]
Scroller initialize for Image Window regions too.

8 years agoAdded initializer in channel region for file window, makes it draw on first use
Ton Roosendaal [Sun, 10 Feb 2013 14:52:08 +0000 (14:52 +0000)]
Added initializer in channel region for file window, makes it draw on first use
better (error was visible for factory startup on small screens)

8 years agoadd option not to calculate tessellation faces when converting an object to a mesh...
Campbell Barton [Sun, 10 Feb 2013 13:44:18 +0000 (13:44 +0000)]
add option not to calculate tessellation faces when converting an object to a mesh. (OBJ export no longer needs, so save some CPU cycles and skip tessellation)

8 years agoWe've reconsidered previous patch in IRC.
Sergey Sharybin [Sun, 10 Feb 2013 13:14:51 +0000 (13:14 +0000)]
We've reconsidered previous patch in IRC.

It's more useful to completely ignore alpha for display of straight

Supporting straight pipeline is possible, but not a topic for bcon4.

8 years agoAdded option to composite/viewer nodes which specifys whether alpha input
Sergey Sharybin [Sun, 10 Feb 2013 12:20:10 +0000 (12:20 +0000)]
Added option to composite/viewer nodes which specifys whether alpha input
is straight or not (premultiplied is default).

This is useful in cases when you want to check on output of such nodes
as keying which does have straight alpha output.

Also added missing do_version code to previous compo do_versions.

8 years agoActually, UI scripts should not use directly pgettext, but rather the iface or toolti...
Bastien Montagne [Sun, 10 Feb 2013 10:29:38 +0000 (10:29 +0000)]
Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to, and used pgettext_iface.

(Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong).

Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.

8 years agouse import rather then assignment for loading '_' into scripts.
Campbell Barton [Sun, 10 Feb 2013 09:56:05 +0000 (09:56 +0000)]
use import rather then assignment for loading '_' into scripts.

8 years agoFix #34186: VSE: Incorrect movie output when scene strip is muted by keyframe
Sergey Sharybin [Sun, 10 Feb 2013 09:27:25 +0000 (09:27 +0000)]
Fix #34186: VSE: Incorrect movie output when scene strip is muted by keyframe

8 years agoAnother fix for r54414 (cleaner to "import" pgettext once at top of files, also now...
Bastien Montagne [Sun, 10 Feb 2013 09:09:26 +0000 (09:09 +0000)]
Another fix for r54414 (cleaner to "import" pgettext once at top of files, also now using usual '_' shortcut).

8 years agopep8 cleanup
Campbell Barton [Sun, 10 Feb 2013 08:54:10 +0000 (08:54 +0000)]
pep8 cleanup

8 years agoBGE: Make sure we are writting to the depth buffer when rendering alpha polygons...
Mitchell Stokes [Sun, 10 Feb 2013 08:28:47 +0000 (08:28 +0000)]
BGE: Make sure we are writting to the depth buffer when rendering alpha polygons for shadows. Otherwise alpha shadows won't work\!

8 years agorevert removal of ternary operators from r54414
Campbell Barton [Sun, 10 Feb 2013 08:26:48 +0000 (08:26 +0000)]
revert removal of ternary operators from r54414

8 years agocorrect arg order in header for isect_point_tri_v2(), Made for confusing calltips.
Campbell Barton [Sun, 10 Feb 2013 08:21:39 +0000 (08:21 +0000)]
correct arg order in header for isect_point_tri_v2(), Made for confusing calltips.

8 years agoUpdate translation extractor so ternary expressions are not merged.
Campbell Barton [Sun, 10 Feb 2013 07:11:32 +0000 (07:11 +0000)]
Update translation extractor so ternary expressions are not merged.
eg: ("A" if test else "B")

8 years agoBGE: Splitting up the bge.types docs so they are not all on the same page. This shoul...
Mitchell Stokes [Sun, 10 Feb 2013 06:13:26 +0000 (06:13 +0000)]
BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.

8 years agoBetter to return default op context when we can't find a given operator (e.g. console...
Bastien Montagne [Sat, 9 Feb 2013 18:47:40 +0000 (18:47 +0000)]
Better to return default op context when we can't find a given operator (e.g. console toggling under linux does not exists).

8 years agoUpdated py ui message extraction, to find out contexts as much as possible...
Bastien Montagne [Sat, 9 Feb 2013 18:32:00 +0000 (18:32 +0000)]
Updated py ui message extraction, to find out contexts as much as possible...

8 years agoBunch of fixes for py ui messages (all those using 'formating' were not translated...
Bastien Montagne [Sat, 9 Feb 2013 18:26:40 +0000 (18:26 +0000)]
Bunch of fixes for py ui messages (all those using 'formating' were not translated previously, now they use Also pleas avoid complex py statements in 'text' values (like 'text="foo" if cond else "bar"'), thes make message extraction script fails!

And another "final point in UI message" removal!

8 years agoTranslation of 'text' parameter of UI functions: disables context search in RNA prope...
Bastien Montagne [Sat, 9 Feb 2013 18:17:20 +0000 (18:17 +0000)]
Translation of 'text' parameter of UI functions: disables context search in RNA property (see comment in code for details).

Also made some minor optimization.

8 years agoBug fix #34174
Ton Roosendaal [Sat, 9 Feb 2013 16:54:10 +0000 (16:54 +0000)]
Bug fix #34174

Multilayer files saved from Maya (and I bet others) store the 'primary' layer without
layer or pass name, just as R G B A. Allows viewers to show stuff too, I guess.

Blender now reads this as well, just allowing an empty string for the layer and pass.

8 years ago[#33437](partial fix) Collada: importing a scene changes units. Added an option to...
Gaia Clary [Sat, 9 Feb 2013 16:19:30 +0000 (16:19 +0000)]
[#33437](partial fix) Collada: importing a scene changes units. Added an option to disable unit settings during import.

8 years agoadd beauty option for triangle fill since you might want to use the initial scanfill...
Campbell Barton [Sat, 9 Feb 2013 15:49:20 +0000 (15:49 +0000)]
add beauty option for triangle fill since you might want to use the initial scanfill result.

8 years agoomit warning about startup.blend being missing when loading with '--factory-startup'
Campbell Barton [Sat, 9 Feb 2013 13:58:37 +0000 (13:58 +0000)]
omit warning about startup.blend being missing when loading with '--factory-startup'

8 years agoBug fix #34157
Ton Roosendaal [Sat, 9 Feb 2013 12:30:42 +0000 (12:30 +0000)]
Bug fix #34157

Tss tss! :)
This bug (since Jan 26) made Material options get cleared on using GE once.

8 years agorigidbody: Add missing updates for rigidbody operators
Sergej Reich [Sat, 9 Feb 2013 10:04:29 +0000 (10:04 +0000)]
rigidbody: Add missing updates for rigidbody operators

Fixes cache not being invalidated when using change collision shape and
calculate mass operators.

8 years agorigidbody: Fix force field changes not invalidating cache
Sergej Reich [Sat, 9 Feb 2013 10:04:27 +0000 (10:04 +0000)]
rigidbody: Fix force field changes not invalidating cache

8 years agorigidbody: Relink constraints when duplicating objects
Sergej Reich [Sat, 9 Feb 2013 10:04:25 +0000 (10:04 +0000)]
rigidbody: Relink constraints when duplicating objects

This will preserve constraint <-> rigid body realationships so
constraint setups aren't broken after duplication.

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

8 years agorigidbody: Don't use icons for constraint type
Sergej Reich [Sat, 9 Feb 2013 10:04:23 +0000 (10:04 +0000)]
rigidbody: Don't use icons for constraint type

We don't have proper icons yet.

8 years agoimprove beauty-fill tool for non-flat triangles.
Campbell Barton [Sat, 9 Feb 2013 08:16:13 +0000 (08:16 +0000)]
improve beauty-fill tool for non-flat triangles.
Project the triangle pair into 2d coords before measuring.

before/after -

8 years agofix for is_quad_convex_v3(), getting the dominant axis wasn't accurate enough in...
Campbell Barton [Sat, 9 Feb 2013 07:59:56 +0000 (07:59 +0000)]
fix for is_quad_convex_v3(), getting the dominant axis wasn't accurate enough in some cases and would make beauty fill fail.
now rotate the coords before calculation.

8 years agocode cleanup: use const for matrix functions vector args.
Campbell Barton [Sat, 9 Feb 2013 07:14:42 +0000 (07:14 +0000)]
code cleanup: use const for matrix functions vector args.

8 years agoBGE: Fix to make KX_CharacterWrapper.jumpCount work a bit smoother. Previously jumpCo...
Mitchell Stokes [Sat, 9 Feb 2013 06:32:17 +0000 (06:32 +0000)]
BGE: Fix to make KX_CharacterWrapper.jumpCount work a bit smoother. Previously jumpCount was only getting reset to 0 if the character was on the ground while jump() was being called. This works alright internally for double jumping, but it made things awkward if a user wanted to check jumpCount before calling jump() (i.e., before jumpCount was updated).

8 years agofixed: [#34080] import of COLLADA breaks on '#' in filepath
Gaia Clary [Sat, 9 Feb 2013 00:23:59 +0000 (00:23 +0000)]
fixed: [#34080] import of COLLADA breaks on '#' in filepath

8 years ago[#33955] Collada Model Import Hangs Blender. Optimized Object import for better perfo...
Gaia Clary [Fri, 8 Feb 2013 19:52:02 +0000 (19:52 +0000)]
[#33955] Collada Model Import Hangs Blender. Optimized Object import for better performance. Added logging messages

8 years agodisable translations for some python buttons.
Campbell Barton [Fri, 8 Feb 2013 16:41:02 +0000 (16:41 +0000)]
disable translations for some python buttons.

8 years agoCorrections to alpha pipeline do_versions
Sergey Sharybin [Fri, 8 Feb 2013 16:25:35 +0000 (16:25 +0000)]
Corrections to alpha pipeline do_versions

Basically they're aimed to solve issues when scene with sky
was used for compositing. If compo used alpha output result
of current trunk would be completely different form hwo it
was before.

Two heuristics here:
- If there's no world or world color is black, it completely
  equals to straight alpha mode, no further magic is needed
  to preserve compatibility

- If scene is used as Render Layer node and something is
  connected to Alpha output of this node, ensure alpha mode
  for this scene is set to Premultiplied.

Basically it shall give better compatibility and make
4K mango project just happy! :)

8 years agoFix build (some code before var declaration... thought my compiler checked that???).
Bastien Montagne [Fri, 8 Feb 2013 16:18:24 +0000 (16:18 +0000)]
Fix build (some code before var declaration... thought my compiler checked that???).

8 years agoFix uilists showing data names translated (reported on bf-translations ML by Satoshi...
Bastien Montagne [Fri, 8 Feb 2013 16:01:21 +0000 (16:01 +0000)]
Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!).

8 years agoFix #33747: do better backwards compatibility for image transparency changes.
Brecht Van Lommel [Fri, 8 Feb 2013 15:56:14 +0000 (15:56 +0000)]
Fix #33747: do better backwards compatibility for image transparency changes.
The use alpha option moved from the texture datablock to the image, and now it
will duplicate the image datablock in case you have one texture using alpha and
the other not.

8 years agoCleanup: happily remove no-more-used PY_TRANSLATE RNA prop flag, and related code...
Bastien Montagne [Fri, 8 Feb 2013 15:16:57 +0000 (15:16 +0000)]
Cleanup: happily remove no-more-used PY_TRANSLATE RNA prop flag, and related code (just realized that flag value was wrong, probably own typo in a previous commit :/ ).

That "trick" was nice when introduced, but it became kind of a pita since we added translation contexts...

8 years agoRNA ui API: fix long-standing annoying glitches when using 'text' property of UI...
Bastien Montagne [Fri, 8 Feb 2013 14:29:38 +0000 (14:29 +0000)]
RNA ui API: fix long-standing annoying glitches when using 'text' property of UI functions:
    * No context-aware at all.
    * Always translated (when i18n was enabled).

Now, it will try tu use RNA struct/property context if available, unless you specify a context within optional "text_ctxt" parameter.

And you can prevent translation by setting 'translate' parameter to False (is True by default).

Will clean up code in a later commit (remove PROP_STRING_PY_TRANSLATE flag and related code), and also fix uilist templates to translate no more materials/textures/etc. names!

8 years agoFix Knife cut-through bug #34072.
Howard Trickey [Fri, 8 Feb 2013 13:51:29 +0000 (13:51 +0000)]
Fix Knife cut-through bug #34072.

8 years agoAdded warning below MultiSample User Preference option for Linux systems.
Ton Roosendaal [Fri, 8 Feb 2013 13:15:30 +0000 (13:15 +0000)]
Added warning below MultiSample User Preference option for Linux systems.

(All 8 reports in tracker for selection failures were linux...)

8 years agofix: #34051 Collada export crashes
Gaia Clary [Fri, 8 Feb 2013 12:31:47 +0000 (12:31 +0000)]
fix: #34051 Collada export crashes

8 years agofixed collada import for objects which have NO children
Gaia Clary [Fri, 8 Feb 2013 12:23:36 +0000 (12:23 +0000)]
fixed collada import for objects which have NO children

8 years agoRelease todo: added userpref for Mac users having "Natural Scroll" set.
Ton Roosendaal [Fri, 8 Feb 2013 12:12:57 +0000 (12:12 +0000)]
Release todo: added userpref for Mac users having "Natural Scroll" set.

As per discussion and analysis of all trackpad usage, we now
follow this convention:

- Blender follows system setting for trackpad direction preference.

- If you set your system to "natural" scroll, we need to invert a couple
  of cases in Blender we do "natural" already. Like:

   - view rotate (the inversed option just never feels ok)
   - scroll active items in list or pulldown menu (up/down is absolute)
   - ALT+scroll values in buttons (up/down is absolute)

The new User Preference setting "Trackpad Natural" handles this.

For 2.66 we only have trackpad handling for OS X... so this isn't
affecting trackpad usage in Windows and Linux, which stick to be mapped
to Scroll Wheel still.

(Note: viewrotate now is "natural" always, changing how it worked in the
past weeks).

8 years agouse sys.platform for checking the OS.
Campbell Barton [Fri, 8 Feb 2013 11:23:22 +0000 (11:23 +0000)]
use sys.platform for checking the OS.

8 years agopatch [#34163] "Zoom" in Python console startup message
Campbell Barton [Fri, 8 Feb 2013 10:15:44 +0000 (10:15 +0000)]
patch [#34163] "Zoom" in Python console startup message
from Shinsuke Irie (irie)

8 years agoFix #34165: Disappearing active marker label in timeline window
Sergey Sharybin [Fri, 8 Feb 2013 09:05:45 +0000 (09:05 +0000)]
Fix #34165: Disappearing active marker label in timeline window

Simply clamp label position from bottom.

8 years agoFix part #33935: Texture painting slow down with mouse, but not with tablet
Sergey Sharybin [Fri, 8 Feb 2013 08:18:44 +0000 (08:18 +0000)]
Fix part #33935: Texture painting slow down with mouse, but not with tablet

Issue is solved for painting on byte buffer with default sRGB display enabled.
In this case it is possible to skip any color space transform and just apply
dither if needed.

Still not sure if there's a regression in painting on flaots or not, will
continue investigation.

8 years agobuilding ghost-sdl works again.
Campbell Barton [Fri, 8 Feb 2013 08:02:05 +0000 (08:02 +0000)]
building ghost-sdl works again.

8 years agofix for error in own recent commit, null check before assignment.
Campbell Barton [Fri, 8 Feb 2013 04:43:36 +0000 (04:43 +0000)]
fix for error in own recent commit, null check before assignment.

8 years agofix null pointer issue when child nodes reference to unknown/invalid mesh
Gaia Clary [Fri, 8 Feb 2013 00:28:58 +0000 (00:28 +0000)]
fix null pointer issue when child nodes reference to unknown/invalid mesh

8 years agofix warning message when imported Collada nodes have < 3 edges.
Gaia Clary [Fri, 8 Feb 2013 00:27:35 +0000 (00:27 +0000)]
fix warning message when imported Collada nodes have < 3 edges.

8 years agoFix part of #34083: crash trying to play surround .wav file in the game engine
Brecht Van Lommel [Thu, 7 Feb 2013 21:29:31 +0000 (21:29 +0000)]
Fix part of #34083: crash trying to play surround .wav file in the game engine
on Windows, it still doesn't play but it doesn't crash at least.

8 years agoFix #34156: Spec. and Alpha Intensity OpenGL issue
Sergey Sharybin [Thu, 7 Feb 2013 15:36:59 +0000 (15:36 +0000)]
Fix #34156: Spec. and Alpha Intensity OpenGL issue

Issue was caused by alpha pipeline cleanup: apparently depending on
use_alpha flag different channels for spec/alpha would be used.

Made it so talpha is computed from Image->ignore_alpha instead of
always considering to be TRUTH.

This is not so much trivial to understand what's going on here, but
it's not new issue. Anyway, if someone have got ideas how to improve
feedback here -- ideas are welcome! For now only regression is fixed.

8 years agostart blender maximized on X11 - finding screen limits taking window borders, title...
Campbell Barton [Thu, 7 Feb 2013 14:41:08 +0000 (14:41 +0000)]
start blender maximized on X11 - finding screen limits taking window borders, title bar, panels & multi-monitor is quite involved - without this size if often wrong.
For sizes outside the screen bounds many window managers will ignore the requested size.

Also opening maximized was default with 2.49.

8 years agoSmall UI annoyance: proxy build progress could is incorrect in some cases
Sergey Sharybin [Thu, 7 Feb 2013 14:15:30 +0000 (14:15 +0000)]
Small UI annoyance: proxy build progress could is incorrect in some cases

8 years agoremoving xinerama on X11 dependency, this wasn't working very usefully.
Campbell Barton [Thu, 7 Feb 2013 14:10:01 +0000 (14:10 +0000)]
removing xinerama on X11 dependency, this wasn't working very usefully.

8 years agofix for [#34133] Creation of an RGBA buffer from an RGB color and an alpha channel...
Jeroen Bakker [Thu, 7 Feb 2013 07:24:22 +0000 (07:24 +0000)]
fix for [#34133] Creation of an RGBA buffer from an RGB color and an alpha channel not possible.

8 years agoFix #34145: 'Save Image' incorrect file type.
Sergey Sharybin [Thu, 7 Feb 2013 07:24:02 +0000 (07:24 +0000)]
Fix #34145: 'Save Image' incorrect file type.

Own mistake in 16bit PNG support, wrong bitmask for custom flags

ftype really needs cleanup..

8 years agofix for regression in bpy-api, python context passed to operators couldn't override...
Campbell Barton [Thu, 7 Feb 2013 04:04:12 +0000 (04:04 +0000)]
fix for regression in bpy-api, python context passed to operators couldn't override collections.

8 years agocode cleanup: use exist_ok keyword arg to os.makedirs() rather then checking if the...
Campbell Barton [Thu, 7 Feb 2013 04:02:24 +0000 (04:02 +0000)]
code cleanup: use exist_ok keyword arg to os.makedirs() rather then checking if the dir exists first.

8 years agowhen using blender as a python module, force factory-startup
Campbell Barton [Thu, 7 Feb 2013 02:50:35 +0000 (02:50 +0000)]
when using blender as a python module, force factory-startup

8 years agofix for annoyance where header menus would get scroller arrows added because it would...
Campbell Barton [Thu, 7 Feb 2013 02:03:31 +0000 (02:03 +0000)]
fix for annoyance where header menus would get scroller arrows added because it would be clamped within the screen a few pixels.

This was caused from using theme shadow setting to clip the popups and a hard-coded value to translate the popup within screen bounds - these values should be the same.

8 years agominor glitch in file selector, when opening with an operator sort wasn't set.
Campbell Barton [Thu, 7 Feb 2013 00:46:53 +0000 (00:46 +0000)]
minor glitch in file selector, when opening with an operator sort wasn't set.

8 years agoCUDA / sm_20:
Thomas Dinges [Wed, 6 Feb 2013 23:19:14 +0000 (23:19 +0000)]
CUDA / sm_20:
* Enable Lamp MIS again, it works on a GTX 570 (which is sm_20) with latest SVN. Tested by vitos1k in IRC:.
Feedback from GTX 580 users would be appreciated on this.

8 years agoFix small memory leak in cycles tile render, a few bytes for each tile.
Brecht Van Lommel [Wed, 6 Feb 2013 21:32:34 +0000 (21:32 +0000)]
Fix small memory leak in cycles tile render, a few bytes for each tile.
Reported by "aquo" on IRC.

8 years agoFix #34139: render display did not convert to straight alpha when dithering was enabled.
Brecht Van Lommel [Wed, 6 Feb 2013 20:49:33 +0000 (20:49 +0000)]
Fix #34139: render display did not convert to straight alpha when dithering was enabled.