Guillermo S. Romero
ea32492dd5
SVN maintenance.
2011-09-22 20:37:22 +00:00
Thomas Dinges
e17ee1b415
2.6 Python UI files:
...
* Moved Operators from bl_ui into bl_operators.
* Renamed HELP_OT_operator_cheat_sheet to WM_OT_operator_cheat_sheet.
2011-09-22 19:50:41 +00:00
Brecht Van Lommel
402f583abd
Fix warnings about operator descriptions ending with "."
2011-09-22 15:44:35 +00:00
Campbell Barton
f1a227cf43
check that descriptions dont end with a '.', for non release builds.
...
this is annoying for translators so rather then correct along the way which gives merge conflicts for branches - print a complaint message.
2011-09-21 17:52:51 +00:00
Campbell Barton
0af633a36c
move message.txt generator out of wm.py (which was loaded with blender always), into it own py script which runs on its own, also added this to 'make translations' target.
2011-09-20 17:44:45 +00:00
Sergey Sharybin
bba54a051a
i18n: fake_gettext is no longer needed for python
2011-09-20 08:38:16 +00:00
Sergey Sharybin
8dbc7a3ba3
Merging r40345 through r40365 from trunk into soc-2011-garlic
2011-09-19 15:47:05 +00:00
Bastien Montagne
712e434a5f
/release/scripts: Removed final points in UI strings and messages.
2011-09-19 14:00:42 +00:00
Sergey Sharybin
0eda51f2ea
Fixing issues with i18n stuff:
...
- Make gettext stuff draw-time. so switching between languages
can happens without restart now.
- Added option to translate visible interface (menus, buttons, labels)
and tooltips. Now it's possible to have english UI and localized tooltips.
- Clean-up sources, do not use gettext stuff for things which can be
collected with RNA.
- Fix issues with windows 64bit and ru_RU locale on my desktop
(it was codepage issue).
- Added operator "Get Messages" which generates new text block with
with all strings collected from RNA.
- Changed script for updating blender.pot so now it appends
messages collected from rna to automatically gathered messages.
To update .pot you have to re-generate messages.txt using "Get Messages"
operator and then run update_pot script.
- Clean up old translation stuff which wasn't used and most probably
wouldn't be used.
- Return back "International Fonts" option, so if it's disabled, no
gettext lookups happens on draw.
- Merged read_homefile function back. No need in splitting it.
TODO:
- Custom fonts and font size.
Current font isn't nice at least for russian locale, it's
difficult to read it.
- Put references to messages.txt so gettext can merge translation when
name/description of some property changes.
2011-09-15 13:20:18 +00:00
Sergey Sharybin
30293dc2ca
svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-15 13:02:37 +00:00
Campbell Barton
7500f4cd48
fix for misc py errors + some pep8 edits.
2011-09-08 05:42:44 +00:00
Xiao Xiangquan
981f7fcd0d
merge with trunk r39834
2011-09-01 15:08:32 +00:00
Campbell Barton
b20c9b0ba3
minor edits, pep8 - also correct float -> double promotion for blf.
2011-08-30 10:49:58 +00:00
Joerg Mueller
43ab8e8624
* Merge trunk up to r39790.
...
* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.
2011-08-30 08:22:03 +00:00
Campbell Barton
d049a722fe
fix [ #28413 ] bpy.ops.nla.bake can't bake from frame 0
2011-08-30 04:13:48 +00:00
Joerg Mueller
f0d5abfcb2
Merging trunk up to r39637.
2011-08-22 20:31:46 +00:00
Campbell Barton
5394cabe24
remove workaround for bug in python 3.2.0 loading web pages on *nix
2011-08-22 11:54:40 +00:00
Campbell Barton
1324173e99
pep8 edits and change '!= None' to 'is not None'
2011-08-22 09:01:49 +00:00
Campbell Barton
aa7545b0ea
patch [ #28320 ] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
...
from Benjy Cook (benjycook)
2011-08-22 08:47:48 +00:00
Campbell Barton
90d19ad883
py style change only - make property definitions consistent
2011-08-19 19:25:20 +00:00
Campbell Barton
feb8318143
fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.
...
- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.
2011-08-18 16:01:11 +00:00
Xiao Xiangquan
ed158eeeb9
update property strings cover. 461 new items
2011-08-18 15:53:30 +00:00
Campbell Barton
aa4d5ccbed
more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes.
2011-08-18 15:25:18 +00:00
Campbell Barton
2bd016fe3f
formatting edits, no functional changes.
2011-08-18 12:20:10 +00:00
Xiao Xiangquan
18d95a8462
fix a small bug , and update language-packs
2011-08-16 16:58:35 +00:00
Joerg Mueller
23807d1fb4
Merging trunk up to r39447.
2011-08-16 14:11:58 +00:00
Campbell Barton
65ca89180a
fix [ #28227 ] join_uv and bake work wrong
...
added back ability to unwrap all selected mesh objects.
2011-08-15 16:25:05 +00:00
Xiao Xiangquan
3a8c7be9e4
code clear, insert blf_gettext.c to blf.c
2011-08-12 13:43:21 +00:00
Campbell Barton
b374ab919a
import common classes from bpy.types, saves ~1000 python getattrs on startup.
2011-08-12 06:57:00 +00:00
Campbell Barton
ef18ec335f
svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-11 05:04:01 +00:00
Xiao Xiangquan
465c3b82fa
merge with trunk r39216
2011-08-10 14:32:03 +00:00
Campbell Barton
0207d9ce27
style change, harmless changes while looking into bug [ #28196 ]
2011-08-09 19:59:01 +00:00
Campbell Barton
22d2764d50
use static sets rather then tuples, python optimizes this case.
...
minor change to lightmap unpack collecting unique meshes.
2011-08-08 05:21:37 +00:00
Campbell Barton
0160901c90
- update X3D and FBX testing checksums
...
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)
2011-08-08 03:31:25 +00:00
Joerg Mueller
29f214f7f3
Merging up to trunk r38834.
2011-07-29 21:28:18 +00:00
Xiao Xiangquan
287b24926f
merge with trunk r38787
2011-07-29 17:42:53 +00:00
Campbell Barton
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
Campbell Barton
722474a7ea
fix [ #28095 ] Select Pattern don't select all the bone in edit mode
...
& some style changes.
2011-07-28 07:55:09 +00:00
Campbell Barton
e2522cead2
report an error when user blender versions other then 2.4x for animation playback.
2011-07-28 05:09:31 +00:00
Campbell Barton
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
Campbell Barton
799714fbc9
minor edits to animation playback operator
...
- remove own copyright from script
- print command before executing (helps troubleshooting)
2011-07-25 07:14:54 +00:00
Campbell Barton
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
Campbell Barton
6065390f4c
fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).
...
now try and execute player, reporting the exception rather then checking the player file exists.
also made some pep8-80 style edits.
2011-07-25 06:38:21 +00:00
Campbell Barton
a07d7edb82
swap vertor multiplication order for add torus.
2011-07-25 06:09:39 +00:00
Campbell Barton
d4552034c6
edits to quick effects scripts
...
- use uv layer data api rather then operator.
- switch vector rotation order.
- made some style changes, use 80 width.
2011-07-25 05:54:32 +00:00
Campbell Barton
3e91de7ffd
External image operators.
...
- use bpy.data.is_saved (was using a workaround from when before this attribute was added)
- fixed a bug where editing relative paths could fail.
2011-07-25 05:10:44 +00:00
Campbell Barton
ced8f1dffc
deprecate multiplication orders:
...
vector * matrix
vector *= matrix
vector * quaternion
vector *= quaternion
Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
Thomas Dinges
39edc53558
2.5 External animation player:
...
* Fixed an error when "Custom" was used and the path was empty (variable reference before assignment)
* The Operator now raises an error if there is no path or the path given is not available.
2011-07-23 21:45:22 +00:00
Joerg Mueller
682cc63161
Merging with trunk up to r38631.
2011-07-23 16:34:30 +00:00
Daniel Salazar
89c062038a
Let's try default High Quality for object align, it's slow but it's simply the correct way, users can disable while tweaking the align modes and then enable again for final result IF they are working on *dense* meshes
2011-07-22 15:54:54 +00:00