Commit Graph

32230 Commits

Author SHA1 Message Date
Guillermo S. Romero
e21e789507 SVN maintenance. 2011-09-29 18:37:09 +00:00
Campbell Barton
ff74afc45f remove the pot and messages file, they change too much with only minor changes to the source and can be regenerated. 2011-09-29 17:19:51 +00:00
Campbell Barton
9a0776c54a improvements to translation message generator
- for rna stringsinclude the path as comment, eg:
  #~ bpy.types.VertexGroup.name

- skip strings like %dx%d or -X.

- for strings extracted from python scripts include file:line reference as with C files.

- have messages in order they appear in the file, files and classes sorted so it reads more logically.

- extract these comments from the messages.txt file into the pot file.
2011-09-29 17:15:58 +00:00
Jens Verwiebe
6f9636b800 OSX: another non-ASCII char, sorry 2011-09-29 17:02:19 +00:00
Bastien Montagne
fe63d07883 Minor: Other UI strings typos and tweaks. 2011-09-29 15:58:15 +00:00
Bastien Montagne
f65c72afaf Commented and tagged some unused vars, added some var init (gcc warnings...).
Won’t go further, most other warnings are from GE or intern/extern lib code...
2011-09-29 15:28:22 +00:00
Bastien Montagne
add77842d9 Minor: Other UI strings typos and tweaks. Also updated french po & mo.
(grrr... That update created tons of new things... back to ~40% done...)
2011-09-29 14:41:11 +00:00
Brecht Van Lommel
9520295ade Fix #28416: setting fluid simulation start time to anything other than zero
gave wrong results. Note how in this code it already incremented to the start
time and then incorrectly added it again. Patch by Chris Foster, thanks!
2011-09-29 14:18:01 +00:00
Brecht Van Lommel
e276855e60 Fix #28769 & #28768: problem with duplicated keymap items after fix yesterday. 2011-09-29 13:52:58 +00:00
Campbell Barton
081543fee8 fix for error generating docs, write all files as utf-8 2011-09-29 12:11:58 +00:00
Sergey Sharybin
a81b37e252 Pedantic changes to description for recently added select grouped operator 2011-09-29 10:17:34 +00:00
Sergey Sharybin
3f5b15c512 i18n: update font to solve squares in arabic glyphs recently reported in ML 2011-09-29 10:08:45 +00:00
Campbell Barton
bfbfe16570 take 2 at fixing the crash... 2011-09-29 09:29:46 +00:00
Campbell Barton
e5078f196f Attempt to fix error reported by yafaray devs from my commit r40660 2011-09-29 09:19:15 +00:00
Campbell Barton
4b2b8fe9bd rna function:
vecs = Camera.view_frame(scene)

returns 4 points for the camera frame, without this its very hard to know if a point is in the camera view or not, without rewriting blenders internal logic in python.
2011-09-29 08:23:52 +00:00
Campbell Barton
4b325a938e make drawobject.c's code for getting the camera view frame into its own function. (no functional changes) 2011-09-29 07:59:33 +00:00
Dalai Felinto
9701a58fec making PO/POT/... update scripts py3.2 compatible + making it almost win compatible
Adding from codecs import open + the encoding in update_pot.py so it works for python 3.2.
Now it should be easier to replace the executable folders in the first lines of the file.
It now also works if you are in the same folder as the .po files (i.e. os.path.dirname(__FILE__) is empty)

It's still not working for me on Mingw because I need gettext 1.8 and so far I found only the 1.7
(in 1.7 msgmerge --lang is not supported)
2011-09-29 06:34:58 +00:00
Campbell Barton
9465efd401 use math functions for curve handle calculation. 2011-09-29 06:15:33 +00:00
Campbell Barton
ceb81b1960 no-longer select handles when transforming in the dopesheet since now the dope sheet acts as if handles are hidden.
also remove invalid comment.
2011-09-29 06:13:25 +00:00
Campbell Barton
5bbd0decfd fix [#28765] keyframe handles do not move with curves in graph editor when hidden, resulting in bad curves.
hide handles wasn't properly respected by transform function testhandles_fcurve().
2011-09-29 05:03:21 +00:00
Joshua Leung
45b74dcf2c Reverting part of r.40659
The output of an automated tool is not a valid excuse for clobbering
code to increase maintenance headaches later on.
2011-09-28 23:43:48 +00:00
Brecht Van Lommel
f05b6bb7c1 Fix #28728: volume precaching took a long time with many objects, changed
threading to no longer sleep 50ms for each object, using work queue now.

Also it was showing SSS preprocessing while actually doing Volume precaching,
fixed as well.
2011-09-28 19:18:29 +00:00
Brecht Van Lommel
e54bfda0f3 Fix autosave trying to write to / if no userpref temp directory was set,
like other code in blender it should write to the one actually verified
to exist.

Also fixes wrong temp directory when loading user preferences with no
temp directory from a state where one was specified.
2011-09-28 19:11:59 +00:00
Brecht Van Lommel
a52ac47305 Fix #28726: maya key configuration lost after file > new. 2011-09-28 19:05:47 +00:00
Campbell Barton
2ad45b5c4f fix 2 bugs with reset-default failing on operators redo panel.
- The operator its self was registered so resetting the defaults would unhelpfully replace the toolbar with the reset to defaults operator panel.
- The callback for the operator wasnt being used so the settings were changed but the operator didnt re-run.
2011-09-28 18:45:17 +00:00
Dalai Felinto
4ea3f1cc29 using Blender 2.49 as playback for Ctrl+F11 doesn't take 'frame step' into consideration
... now it does ;) -- self-reported bug, not in tracker. Sorry statics people.
2011-09-28 17:57:12 +00:00
Jens Verwiebe
47ca7e23c0 Now in proper english, hehe 2011-09-28 17:52:07 +00:00
Jens Verwiebe
ce714341b9 Using non ASCII-conform char in comment broke compile 2011-09-28 17:45:32 +00:00
Jens Verwiebe
6088d460ef OSX: Give clear commenting and more up-to-date defaults 2011-09-28 17:28:37 +00:00
Jens Verwiebe
eb2c89ab87 OSX: change omp default True gor gcc-4.6.1 only atm 2011-09-28 17:21:08 +00:00
Jens Verwiebe
416885aad4 OSX: always compile GHOST and Quicktime with Apple-gcc-4.2, simplifies for non-apple compilers 2011-09-28 17:15:28 +00:00
Campbell Barton
bee8e456f6 dont give an error on when texface conversion fails on load. give a warning instead.
this is needed because python converts report errors to exceptions (as if the file load operator couldn't complete), but infact it does load the file so rather then stopping the script, just report this as a warning.
2011-09-28 16:25:50 +00:00
Sergey Sharybin
a403268331 Fix #28185: Regression test: outlinertest blend
Added notifier handler to outliner.
2011-09-28 16:13:36 +00:00
Campbell Barton
b88776ba5a fix for crash with demo mode addon, modal operator loading a blend file would free all window data which was then accessed, causing a crash. 2011-09-28 15:42:55 +00:00
Bastien Montagne
35f881b44d Commented and tagged some unused vars, added some var init (gcc warnings...) 2011-09-28 15:22:13 +00:00
Campbell Barton
113d556295 patch [#28571]
from Bastien Montagne (mont29)

Only applied Sequencer Select Grouped functionality - similar to the one in object mode, select strips based on type, time, data etc.
2011-09-28 14:12:27 +00:00
Bastien Montagne
c0a89e48cc Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-28 14:08:56 +00:00
Jens Verwiebe
d0e7be242b OSX: solve weaklinking for non-apple compilers by using Xlinker, build also QTKit with apple gcc, to be more compatible to distributed gnu-gcc compilers without objC, objC++ capabilities 2011-09-28 11:56:50 +00:00
Campbell Barton
c8b0d25794 fix [#28158] Image crop keyframes/fcurves do not 'stick' to strip 2011-09-28 10:05:56 +00:00
Campbell Barton
450ea01002 transform sequencer update was checking against the wrong transform mode. 2011-09-28 09:47:30 +00:00
Joerg Mueller
c2323749ff Bugfix for wrong playback reported by Sergey Sharybin in IRC. 2011-09-28 09:37:50 +00:00
Campbell Barton
5e3110af05 add support for a 4th item for rna property enums in python so the numeric value can be passed, this is so you can animate the enum and keep the values even if you add items in the middle of the enum. - request from ZanQdo. 2011-09-28 09:18:20 +00:00
Sergey Sharybin
3a4b6da674 Fix #28601: SEGFAULT: Regression in free_imbuf_seq
Actually, it's NULL-pointer dereference in rna_Sequence_update caused by RNA cache.

Discussed with Joshua and he thought it's acceptable for now to add
extra NULL-check here.
2011-09-28 08:56:40 +00:00
Sergey Sharybin
2d151cda1c Fix crash when starting baking fluid when baking thread is already started. 2011-09-28 08:31:02 +00:00
Sergey Sharybin
c941403bc3 i18n: wrote small instruction for translators
- Added po/README.txt file with translation instructions
- If update_po and update_mo scripts now allows to provide list
  of languages which should be handled only, i.e.

	./update_mo.py ru

- Removed obsolete file from POTFILES.in
2011-09-28 08:13:06 +00:00
Campbell Barton
4158cee688 color strip was showing image crop and and offset twice, also made 'Make Metastrip' key shortcut Ctrl+G (so shift+G can be used for select group like object mode) 2011-09-28 08:03:02 +00:00
Campbell Barton
bc593cac23 fix for incorrect use of strlen() with the sequencer rna (no need for strlen()+1) 2011-09-28 06:48:17 +00:00
Campbell Barton
ba58bc51fd fix [#28725] No way to control fluid simulator from Python API?
now exec() blocks while doing fluid bake, invoke starts a background job (texture bake also works this way).
2011-09-28 06:26:46 +00:00
Campbell Barton
018fa1540e whitespace edits, make formatting for functions consustent at least within the file. 2011-09-28 05:53:40 +00:00
Campbell Barton
4208eed25b use __func__ rather than function names in rna prints, some were incorrect.
also replace use of strlen() where checking first char is enough.
2011-09-28 05:20:14 +00:00