Commit Graph

27274 Commits

Author SHA1 Message Date
Campbell Barton
617d3cb852 pass -noaudio when running blender for various utilities - doc-gen and tests. 2011-10-19 21:55:27 +00:00
Jens Verwiebe
f6f9288f35 replace former applescript with an editable one 2011-10-19 19:15:35 +00:00
Jens Verwiebe
c661a4b1ab OSX: set at least initial OMP_NUM_THREADS value to avoid warnings in log, remove applescript for now 2011-10-19 19:12:41 +00:00
Peter Schlaile
c97aa671f4 == Sequencer ==
do_versions fix: hd audio tracks within metastrips were not properly
upgraded from 2.49 files, resulting in broken unusable tracks, which were 
rendered as black strips as a bonus.
2011-10-19 18:21:08 +00:00
Lukas Toenne
0d7bd0f9b6 Adds an update flag to the bNode struct (similar to bNodeTree->update).
This prevents access to non-existent typeinfo during type initialization,
when node types have been removed and such nodes are deleted from older files.
All blenkernel functions now only set the node->update flag instead of directly
calling the update function.  All operators, etc. calling blenkernel functions
to modify nodes should make a ntreeUpdate call afterward (they already did that
anyway).

Editor/RNA/renderer/etc. high-level functions still can do immediate updates by
using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged
respectively). These old functions were previously used only for setting
compositor node needexec flags and clearing cached data, but have become generic
update functions that require type-specific functionality (i.e. a valid typeinfo
struct).
2011-10-19 17:08:35 +00:00
Campbell Barton
408a2c62b9 fix for armatures in wire draw mode not displaying in solid mode.
note, this isn't a showstopper bugfix.
2011-10-19 00:41:48 +00:00
Thomas Dinges
d795b55b73 BLENDER_VERSION_CYCLE:
rc > release
2011-10-17 15:09:23 +00:00
Ton Roosendaal
b8da571036 Blender 2.60 release commit!
New splash: thanks to Kent Trammell!
And thanks to judges committee: Beorn Leonard, Pratik Solanki
and Brandon Phoenix.

Next: tag & build!
2011-10-17 15:07:08 +00:00
Jens Verwiebe
3335cf41f6 OSX: omp script rework part2 2011-10-17 10:43:32 +00:00
Jens Verwiebe
70abd2a304 OSX: omp script rework part1 2011-10-17 10:41:47 +00:00
Jens Verwiebe
9a5921883e OSX: Start with OMP_NUM_THREADS default unchanged, to let the user decide about optimized value, default == all cores used 2011-10-17 10:30:08 +00:00
Campbell Barton
61389bba41 fix spelling mistakes in comments (and in some python error messages), nothing to effect translations. 2011-10-17 06:39:13 +00:00
Campbell Barton
67c15da97d docs / clenup (no functional code changes)
- added API examples for mathutils.Color/Euler/Quaternion/Matrix.
- corrected own bad spelling matricies --> matrices.
- minor pep8 edits.
- update CMake ignore file list.
2011-10-17 02:20:53 +00:00
Janne Karhu
8fae0c6d7e Particle dupliobject rotation changes:
There has been quite a bit of fuss about particle dupliobject rotation in 2.59, so here are some changes to make things work a bit more consistently and predictably in 2.60.

Much of the confusion has been about what the "Initial rotation" for particles actually means. Simply put it's just a vector that that the particles (and the dupliobjects) are aligned to and around which they can be rotated with the phase controls. I've now renamed these controls under a label "Rotation axis".

In 2.59 and previous versions the dupliobject's global x-axis was aligned to the particle rotation axis for non-hair particles. This meant that the object's own rotation (in addition to the particle rotation) could effect the dupliobjects' rotations. This old behavior can still be used with the "Rotation" option in the particle render panel when object/group is set as the visualization. This option is also activated automatically for old files to maintain backwards compatibility.

Now the default dupliobject rotations ignore the object's own rotation completely and align the object's tracking axis to the particle rotation axis. The tracking axis can be found under the Object tab -> Animation Hacks panel.

In 2.58 the way of calculating the rotation for hair didn't work as intended and enabled many non-functional combinations of options. For this reason I removed most of the rotation options for hair in 2.59. Now the options have been reimplemented better and the dupliobject's tracking axis is aligned to the hair direction by default (Rotation axis = Velocity / Hair). All the other axis options work too along with the phase controls.
2011-10-16 16:14:36 +00:00
Campbell Barton
b6d0daa9cb utf8 editing for UI text input, this means backspace, delete, arrow keys properly move the cursor with multi-byte chars.
Note that this is only for the interface, text editor and python console still miss this feature.
2011-10-16 12:25:42 +00:00
Daniel Salazar
3fd8a914b8 ID Mask node was limmited at 10000 while OB and Mat IDs reach 32767. Set this limit and it's working fine here in my comps 2011-10-16 09:51:23 +00:00
Dalai Felinto
2bba8ad861 Set the correct char for Persian name (using \ufbfd instead of the arabic yeh one) 2011-10-15 23:50:05 +00:00
Jens Verwiebe
1c8a91d4df OSX: add editable applescript to not have the script a blackbox 2011-10-15 14:21:03 +00:00
Campbell Barton
7f4bb1f71b spelling corrections in comments and quiet warning 2011-10-15 14:14:22 +00:00
Jens Verwiebe
08f8fbbd30 OSX:recommit applescript, added errorhandling 2011-10-15 14:04:33 +00:00
Jens Verwiebe
843193e4d1 Delete applescript for recommit 2011-10-15 14:03:23 +00:00
Campbell Barton
58eb0d7967 keep particle system names unique 2011-10-15 11:55:09 +00:00
Campbell Barton
f5f8292461 ensure BoneGroup names are kept unique. 2011-10-15 11:07:18 +00:00
Campbell Barton
9613de6248 make sure render layer names are unique when setting through rna. 2011-10-15 09:59:31 +00:00
Campbell Barton
f8317ed450 fix UI jump in normal buttons for buttons which didnt start out normalized. 2011-10-15 09:43:42 +00:00
Campbell Barton
febcb91b82 - add template for defining custom driver functions.
- comment unused assignments.
2011-10-15 07:19:34 +00:00
Campbell Barton
5da894b1fe misc edits
- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled.
- file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'.
- use const char for extension checking funcs.
- minor pep8 edits
2011-10-15 05:01:47 +00:00
Campbell Barton
317b649bb2 fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
Add max dir and file length args.
2011-10-15 03:56:05 +00:00
Janne Karhu
f9c41eaaf8 Fix for [#28823] Boids use uninitialized memory.
* Boids need the random velocity vector always.
2011-10-15 01:42:26 +00:00
Campbell Barton
cae655f81f fix for weight paint vertex select, it broke vertex paint when left on. 2011-10-15 01:32:49 +00:00
Jens Verwiebe
e7b0ccbb0b OSX:recommit applescript, fixed an issue 2011-10-14 20:12:34 +00:00
Jens Verwiebe
c963edeb9e Delete applescript for recommit 2011-10-14 20:11:19 +00:00
Jens Verwiebe
e7095450e7 OSX: commit the omp_set_simulation_threads applescript and copy-routines 2011-10-14 17:54:37 +00:00
Jens Verwiebe
afcf581fb0 OSX: commit the needed steps for compiling with gcc 4.6.1 and OMP_NUM_THREADS env variable setting 2011-10-14 17:27:55 +00:00
Sergey Sharybin
f66cbcb1ad Remove final e from Francaise 2011-10-14 13:13:13 +00:00
Sergey Sharybin
fdc0edefce Split language menu into two columns:
- Nearly done for languages with >80% strings translated
- In progress for languages which aren't translated enough still.
2011-10-14 13:10:11 +00:00
Brecht Van Lommel
22e4f9e3bb Fix #28914: crash loading file saved with cycles builds in trunk.
The cause is an unknown node socket type in node groups. Ideally the node system
should handle this better and remove the unknown sockets from groups, but this
is a bit of a risky fix to do now, so instead the shader socket type has been
added, since this is a simple change and the code has been tested well.
2011-10-14 12:20:58 +00:00
Sergey Sharybin
e5e201ccd8 Fix for first part of #28911: driver not working properly since 2.594
Missed id type set for driver target when setting target id.

Patch by me and Campbell.
2011-10-14 11:24:20 +00:00
Andrew Wiggin
309721c2e4 Other part of the MSVC build fix (need definition for "finite" macro from BLI_math.h) 2011-10-14 08:06:59 +00:00
Joerg Mueller
8868f9455c Hopefully fixing windows build problems with this hack now. :-) 2011-10-14 07:56:33 +00:00
Andrew Wiggin
eaff9a1c1b Reverting my windows build fix because it breaks the bug fix committed in r40995 2011-10-14 07:41:45 +00:00
Andrew Wiggin
13490b1ac3 Fix MSVC build ( .0f/.0f fires a compiler error ) 2011-10-14 05:07:53 +00:00
Campbell Barton
0c0259d931 fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import. 2011-10-14 02:31:04 +00:00
Joerg Mueller
9e17ecf010 Fixing [#28907] Frozen playback.
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.
2011-10-13 22:19:29 +00:00
Campbell Barton
d893ac690c rename confusing constants (no functional change)
- OB_BOUND_POLYT --> OB_BOUND_CONVEX_HULL
- OB_BOUND_POLYH --> OB_BOUND_TRIANGLE_MESH
2011-10-13 22:14:41 +00:00
Campbell Barton
818c098004 comment own recent memory leak fix since it broke edge slide. 2011-10-13 14:32:45 +00:00
Campbell Barton
fa3b4e1830 correct collada lib linking order (wasnt building for me), and sphinx doc syntax warning. 2011-10-13 14:10:38 +00:00
Sergey Sharybin
05b47c28fa Revert part of recent fix for movie resolution.
It helped to make things works better for some movies but it
didn't help proxies to work properly. Correct fix seems a bit larger
and better not be made atm, so to keep behavior of proxies and
original movie consistent keep resolution behaves like it was before
recent changes,
2011-10-13 08:56:21 +00:00
Campbell Barton
19b9329885 fix for leak when switching between transform rotation modes. 2011-10-13 04:44:39 +00:00
Campbell Barton
03c72a5ba0 ensure grease pencil layer names are unique when set through rna. 2011-10-13 04:06:32 +00:00