Sergey Sharybin
c4d248cc76
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).
2013-02-11 12:25:54 +00:00
Gaia Clary
9d6210c0ed
Collada Importer: Some code cleanup and optimization of the rescale function
2013-02-11 11:12:44 +00:00
Campbell Barton
3a192ca359
patch [ #33697 ] Apply transformation added to metaballs.
...
from Jesse Werner (vidjogamer), with own addition of RNA function, scale and rotation support.
2013-02-11 10:56:21 +00:00
Campbell Barton
c1ca09b8c8
replace MEM_callocN with MEM_mallocN for events since their overwritten right after.
2013-02-11 10:01:32 +00:00
Campbell Barton
934fa91f75
patch [ #34192 ] UTF-8 input in Python interactive console
...
from Shinsuke Irie (irie)
2013-02-11 09:40:33 +00:00
Campbell Barton
fb01dcea5f
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.
2013-02-11 09:30:04 +00:00
Campbell Barton
53bce285ab
patch [ #31636 ] no pressure with Genius Mousepen i608X tablet
...
from Viktoria S. (viktorias)
2013-02-11 08:16:32 +00:00
Campbell Barton
8f0f7197a1
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.
2013-02-11 07:27:20 +00:00
Sergej Reich
25c9b56c5a
Suppress more uncommon units.
2013-02-11 07:12:15 +00:00
Campbell Barton
7687109c59
fix for weight gradient crashing on redo (wasn't possible to redo this initially).
2013-02-11 06:58:38 +00:00
Campbell Barton
48f905d806
fix for modifier keys held before a window was activated being ignored.
2013-02-11 05:55:11 +00:00
Campbell Barton
0ac2f6e7d7
fix for own bug - memory leak when cancelling weight gradient tool
2013-02-11 04:43:49 +00:00
Campbell Barton
2013934878
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.
2013-02-11 03:01:50 +00:00
Campbell Barton
b2feb19c02
fix for memory leak in transform when changing transform modes within transform
...
(if you held down the R-key for example).
2013-02-11 02:06:19 +00:00
Campbell Barton
b59ba34c37
fix [ #34152 ] Vertex Slide - misleading description
...
also use C key to toggle clamping rather then alt (reported in [#33949 ]).
2013-02-11 01:55:58 +00:00
Campbell Barton
971fca48ca
supress Hectograms from being used when displaying weight units since they are not so common.
2013-02-11 01:14:45 +00:00
Campbell Barton
2005f7c6c0
style cleanup: also some typos
2013-02-11 00:49:00 +00:00
Gaia Clary
22dbb675c1
Fix #33437 Collada: Added scale matching for Scene imports.
2013-02-10 22:14:56 +00:00
Peter Schlaile
1ba194aedd
[ #34013 ] [video sequence editor] Offset and crop of strips are wrong
...
Applied patch by jehan after confirming the issue.
Thanks for the patch!
2013-02-10 21:01:30 +00:00
Brecht Van Lommel
50f7328fb6
Fix scons win32 link error with OSL, also fix a GLEW linker warning
2013-02-10 20:47:44 +00:00
Antony Riakiotakis
41500e2824
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
2013-02-10 20:17:50 +00:00
Sv. Lockal
ba12c5eaeb
Show/hide Render View should not raise temp user preferences windows
2013-02-10 18:08:51 +00:00
Brecht Van Lommel
14a0ff90bc
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.
2013-02-10 18:03:01 +00:00
Brecht Van Lommel
8d4d27de9f
Fix #34184 : cycles speed vector pass should be zero when using motion blur,
...
instead it had value 10000.
2013-02-10 18:02:59 +00:00
Campbell Barton
942ad6d9cd
style cleanup
2013-02-10 17:06:05 +00:00
Nicholas Bishop
809e37bf15
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
projects.blender.org/tracker/index.php?func=detail&aid=34190&group_id=9&atid=498
2013-02-10 15:59:29 +00:00
Ton Roosendaal
6b2b55c453
Scroller initialize for Image Window regions too.
2013-02-10 14:59:38 +00:00
Ton Roosendaal
3778b45829
Added initializer in channel region for file window, makes it draw on first use
...
better (error was visible for factory startup on small screens)
2013-02-10 14:52:08 +00:00
Campbell Barton
1994ed00a3
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)
2013-02-10 13:44:18 +00:00
Sergey Sharybin
9a6c5d8b3e
We've reconsidered previous patch in IRC.
...
It's more useful to completely ignore alpha for display of straight
colors.
Supporting straight pipeline is possible, but not a topic for bcon4.
2013-02-10 13:14:51 +00:00
Sergey Sharybin
75cbb07507
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.
2013-02-10 12:20:10 +00:00
Bastien Montagne
d0f4a2396b
Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to bpy.app.translations, 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!.
2013-02-10 10:29:38 +00:00
Campbell Barton
3b8a0f3d67
use import rather then assignment for loading '_' into scripts.
2013-02-10 09:56:05 +00:00
Sergey Sharybin
b5962b7ccd
Fix #34186 : VSE: Incorrect movie output when scene strip is muted by keyframe
2013-02-10 09:27:25 +00:00
Bastien Montagne
c0fa16f2c9
Another fix for r54414 (cleaner to "import" pgettext once at top of files, also now using usual '_' shortcut).
2013-02-10 09:09:26 +00:00
Campbell Barton
5d4df1a999
pep8 cleanup
2013-02-10 08:54:10 +00:00
Mitchell Stokes
f75ca60a1c
BGE: Make sure we are writting to the depth buffer when rendering alpha polygons for shadows. Otherwise alpha shadows won't work\!
2013-02-10 08:28:47 +00:00
Campbell Barton
63af7068ad
revert removal of ternary operators from r54414
2013-02-10 08:26:48 +00:00
Campbell Barton
d65135ed93
correct arg order in header for isect_point_tri_v2(), Made for confusing calltips.
2013-02-10 08:21:39 +00:00
Campbell Barton
a643d28446
Update translation extractor so ternary expressions are not merged.
...
eg: ("A" if test else "B")
2013-02-10 07:11:32 +00:00
Mitchell Stokes
372cf93309
BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.
2013-02-10 06:13:26 +00:00
Bastien Montagne
a4a1c66725
Better to return default op context when we can't find a given operator (e.g. console toggling under linux does not exists).
2013-02-09 18:47:40 +00:00
Bastien Montagne
e14b21dd6d
Updated py ui message extraction, to find out contexts as much as possible...
2013-02-09 18:32:00 +00:00
Bastien Montagne
82c86af7f7
Bunch of fixes for py ui messages (all those using 'formating' were not translated previously, now they use bpy.app.translations.pgettext). 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!
2013-02-09 18:26:40 +00:00
Bastien Montagne
1083a06900
Translation of 'text' parameter of UI functions: disables context search in RNA property (see comment in code for details).
...
Also made some minor optimization.
2013-02-09 18:17:20 +00:00
Ton Roosendaal
d1136ba2ef
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.
2013-02-09 16:54:10 +00:00
Gaia Clary
f34d1d5585
[ #33437 ](partial fix) Collada: importing a scene changes units. Added an option to disable unit settings during import.
2013-02-09 16:19:30 +00:00
Campbell Barton
555bcc3298
add beauty option for triangle fill since you might want to use the initial scanfill result.
2013-02-09 15:49:20 +00:00
Campbell Barton
fd145b4df1
omit warning about startup.blend being missing when loading with '--factory-startup'
2013-02-09 13:58:37 +00:00
Ton Roosendaal
00212f2b1f
Bug fix #34157
...
Tss tss! :)
This bug (since Jan 26) made Material options get cleared on using GE once.
2013-02-09 12:30:42 +00:00