Commit Graph

32257 Commits

Author SHA1 Message Date
Campbell Barton
077fd13416 cmake:
- fix for cmake's SSE detection which would fail because of strict warnings and also had redundant cache setting.
- was incorrectly initializing variables (own bad)
- python was searching for libs on every run, now only do this if there not cached.
2011-10-01 19:52:33 +00:00
Campbell Barton
622e8ee363 cmake: sse flags were being defined in 2 different places 2011-10-01 18:29:40 +00:00
Campbell Barton
9a88524f68 support for object data material assignment in python
eg:
 bpy.context.object.data.materials[0] = bpy.data.materials["SomeMaterial"]
2011-10-01 17:54:33 +00:00
Campbell Barton
738491555d BKE material api function: assign_material_id, like assign_material but takes the object data rather then the object. 2011-10-01 17:51:47 +00:00
Campbell Barton
975c4e7177 fix for msvc, I thought this was only needed for mingw. 2011-10-01 15:54:36 +00:00
Campbell Barton
646a397297 add a collection function slot for assignment (not used yet). 2011-10-01 15:40:32 +00:00
Campbell Barton
7b398f271e fix for mingw 2011-10-01 15:02:55 +00:00
Sergey Sharybin
ca5871c26f reverting part of rev40594.
Pardoon, looks like i've forgot to revert current work before
commiting actual patch i wanted to send to the svn.
2011-10-01 13:46:20 +00:00
Thomas Dinges
fdcfb9a4a0 * Updating readme.html and link to release logs for 2.60, now that we approach the RC state. 2011-10-01 11:21:47 +00:00
Joshua Leung
b062056c05 Bugfixes for: [#28525] [#28690] [#28774] [#28777]
This commit basically disables the RNA update caches for now, and
introduces a workaround/hack to ensure that modifier properties still
work when animated/driven. The whole way that updates currently get
handled needs reviewing in future.

Fix provided by Brecht.
2011-10-01 01:27:44 +00:00
Joshua Leung
471ea617b2 Bugfix [#28781] Grease pencil segfaults when deleting or duplicating
frames in dopesheet
2011-10-01 00:56:36 +00:00
Jens Verwiebe
b05a3f7e42 Cgange compile cindition for gcc-4.6-objC++ workaround 2011-09-30 20:26:14 +00:00
Campbell Barton
7b9f3eac42 fix for odd linking error with ffmpeg. 2011-09-30 16:54:11 +00:00
Campbell Barton
7ef5464236 sse flags for intel c++ compiler 2011-09-30 16:37:46 +00:00
Campbell Barton
cf3956f450 formatting edits only 2011-09-30 15:51:58 +00:00
Sergey Sharybin
2bb59bc273 Fix #28432: Scrolling lists respond incorrectly if mouse is not moved
Copy hardmin for LISTROW and ROW buttons when updating button
from old block due to list item index is stored in this value.
2011-09-30 15:42:04 +00:00
Campbell Barton
f3ae228c9d minor changes, dont append with cmake platform flags which is a string and use enum values rather then ints in a few places. 2011-09-30 15:22:13 +00:00
Campbell Barton
ca2528d551 removing duplicate library linking from cmake, fingers crossed that this wont break on other systems (works here). 2011-09-30 15:21:10 +00:00
Bastien Montagne
31363c3324 Fix [#28773] Auto Set Preview Range Does not work on selection in DopeSheet
(viewall was also broken for DopeSheet, btw, same cause).
2011-09-30 12:33:52 +00:00
Sergey Sharybin
8182a017d9 Whitespace clean-up 2011-09-30 12:24:17 +00:00
Sergey Sharybin
79307369fe Bump maps flip: now white means salience, black means concavity
Files created in blender before this revision should be rendered in
exactly the same way they used to render before.

Patch by Morten Mikkelsen, finished by Ton and me.
2011-09-30 09:55:21 +00:00
Sergey Sharybin
a92cfcd74e i18n: fixed mistage in message generator which lead to some messages disappeared.
Also, cleaned up po files from unused messages.
2011-09-30 09:25:53 +00:00
Campbell Barton
fb58270a6c add bevel weight to editmode buttons, patch from Psy-Fi or IRC. 2011-09-30 08:27:38 +00:00
Bastien Montagne
43e72dfa3a Minor: Other UI strings typos and tweaks. 2011-09-30 08:10:53 +00:00
Campbell Barton
265c113820 fix for crash generating messages.txt, I wasn't getting this crash because I had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default.
made headless and no-python configurations work again and added --factory-startup to doc building command.
2011-09-30 07:47:45 +00:00
Dalai Felinto
ad8df4843e po : adding note for windows translators/devs + remove backup function in update_po.py
(no more tons of *.po~ in the folder)
2011-09-30 05:36:56 +00:00
Benoit Bolsee
e6a9b68c79 Recast: upgrade library.
- Upgrade Recast library to latest portable version
- Implement recast_qsort based on FreeBSD qsort.c to have 
  portable thread safe quick sort for use in conversion routine.
- Better default value for the Build Navigation Mesh operator
2011-09-29 21:38:57 +00:00
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