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
Sergej Reich
bd9a7ab768
rigidbody: Add missing updates for rigidbody operators
...
Fixes cache not being invalidated when using change collision shape and
calculate mass operators.
2013-02-09 10:04:29 +00:00
Sergej Reich
4479d13236
rigidbody: Fix force field changes not invalidating cache
2013-02-09 10:04:27 +00:00
Sergej Reich
6738c941ff
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.
2013-02-09 10:04:25 +00:00
Sergej Reich
777fb934a7
rigidbody: Don't use icons for constraint type
...
We don't have proper icons yet.
2013-02-09 10:04:23 +00:00
Campbell Barton
5e05d67436
improve beauty-fill tool for non-flat triangles.
...
Project the triangle pair into 2d coords before measuring.
before/after - http://www.graphicall.org/ftp/ideasman42/beauty_fill_fix.png
2013-02-09 08:16:13 +00:00
Campbell Barton
d03befd0db
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.
2013-02-09 07:59:56 +00:00
Campbell Barton
2eab18dc32
code cleanup: use const for matrix functions vector args.
2013-02-09 07:14:42 +00:00
Mitchell Stokes
8eabdad3aa
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).
2013-02-09 06:32:17 +00:00
Gaia Clary
e3488af838
fixed: [ #34080 ] import of COLLADA breaks on '#' in filepath
2013-02-09 00:23:59 +00:00
Gaia Clary
deeeaed3d8
[ #33955 ] Collada Model Import Hangs Blender. Optimized Object import for better performance. Added logging messages
2013-02-08 19:52:02 +00:00
Campbell Barton
d26c063121
disable translations for some python buttons.
2013-02-08 16:41:02 +00:00