Janne Karhu
6480ab10db
Fix for [ #27461 ] Particle Instance modifier doesn't work correctly with Hair Dynamics.
...
* Wrong matrix used for dynamic hair.
2011-06-03 05:51:39 +00:00
Campbell Barton
7ee9becfa3
disable python/string enum duplication from last commit because the array of duplicated strings can be freed and the pointers to the strings referenced still, the problem with python freeing strings that RNA references remains.
2011-06-03 04:39:18 +00:00
Campbell Barton
089d997cbc
when making the C/RNA copy of the python enum, duplicate all strings since theres no guarantee python wont free them immediately after, though in practice this isn't so common.
2011-06-03 04:21:41 +00:00
Campbell Barton
5332c602c9
pre-allocate the array when converting py/rna enums, also fix for memory leak with bad values.
2011-06-03 03:19:22 +00:00
Joerg Mueller
60f5b51484
Fix for [ #27562 ] audaspace not playing files in blenderplayer
...
blenderplayer wasn't initialising ffmpeg
This might also fix [#27558 ] GE Sound works in Blender but not in runtimes
2011-06-02 23:25:38 +00:00
Campbell Barton
45093f50bc
Quiet warnings for picky compilers.
2011-06-02 23:10:05 +00:00
Brecht Van Lommel
83609edd51
Fix related to #27309 : group nodes with a linked datablock that was missing would crash.
2011-06-02 17:34:01 +00:00
Brecht Van Lommel
32368aac43
Fix #27241 : crash with point density texture when using particle age/velocity
...
fallof for object vertices.
2011-06-02 16:59:12 +00:00
Campbell Barton
dd0522242a
addons now show expanded list again (since Brecht's commit now makes it fast)
...
also add utility function for getting cleaned, unique names from python: bpy_extras.io_utils.unique_name(...)
2011-06-02 15:21:47 +00:00
Brecht Van Lommel
7138fef58a
UI: fix two issues with expanded enum property buttons:
...
* they were too slow for dynamic python enums, calling the callback
to list the items for each button, to get a tooltip
* enum tooltips sometimes were showing the same description twice
2011-06-02 14:18:51 +00:00
Andrea Weikert
b4872b84c8
fix for [ #27410 ] Manual save kills actual .blend file if disk space is low
...
- moved do_history into WM_write_file after successful write of .blend@ temporary file
- Added new file flag, to avoid writing history on writing the startup.blend, autosave files and undo.
Thanks Campbell, Brecht for review!
2011-06-02 12:44:59 +00:00
Campbell Barton
1ba4550d27
committed this by mistake.
2011-06-02 09:04:07 +00:00
Campbell Barton
ab2450a58d
fix [ #27557 ] Linked object (camera) should not be able to set position by using camera to view operator
2011-06-02 08:55:26 +00:00
Campbell Barton
dbe1f07c76
fix [ #27553 ] Weird resulsts when animating opacity on (color) strip
2011-06-02 08:45:28 +00:00
Campbell Barton
d46da5a09d
mathutils support for color arithmetic, also some minor whitespace edits.
2011-06-02 08:29:16 +00:00
Sergey Sharybin
211cd99cbc
Fix #27539 : Sculpt data is lost after editing base mesh
...
Face's totdisp was set to correct value, but memory hasn't been
allocated for disps. Handle this in multires_topology_changed(),
so the whole MDISPS layer wouldn't be totally re-allocated when
applying displacement.
2011-06-02 04:58:27 +00:00
Campbell Barton
97d7496c96
update to glew 1.6 from 1.5.8
2011-06-02 00:05:54 +00:00
Campbell Barton
22ca037c58
uninitialized variable was used when ensuring mirrored vertex groups.
2011-06-01 23:55:49 +00:00
Brecht Van Lommel
81982140b8
Fix #27550 : texture node editor header was still showing texture datablock
...
selector even if there is no active texture slot or node, now it's disabled
in that case.
2011-06-01 16:17:38 +00:00
Brecht Van Lommel
f50fb549db
UI: template_ID now takes into account if the property is editable.
2011-06-01 16:13:48 +00:00
Brecht Van Lommel
36cbd78bc3
Fix #27490 : export key configuration gave error when trying to export
...
properties from an unknown (e.g. removed) operator.
2011-06-01 14:35:14 +00:00
Brecht Van Lommel
7b4aac3e34
Fix #27481 : windows uninstaller could remove files unrelated to blender
...
when installing to a folder that already existed. Now the uninstaller
will remove only the files it has installed, and leave any other files
in the installation directory intact.
2011-06-01 13:13:55 +00:00
Brecht Van Lommel
a180bfe267
Fix #27541 : f-curve generator modifier file read missed endian switch,
...
found by Guillaume Roguez.
2011-06-01 13:10:37 +00:00
Lukas Toenne
cc7a154fac
Material nodes were checking the nodestack->hasinput flag to determin whether the original material settings or the node input data would be used. This causes trouble when the input data is not the direct input constant of the node nor a direct link in the same tree (i.e. a group socket). Just checks if sockets are linked now (not very nice, but not hackier than the rest of that node).
...
Fixes bug #27511 .
2011-05-31 17:54:48 +00:00
Campbell Barton
8d2e4cf42f
fix [ #27514 ] Fix Bug 27510 Color key hue flipping error (composite node)
2011-05-31 14:06:29 +00:00
Brecht Van Lommel
a8a36f31bd
Button value reset:
...
* shortcut key changed from numpad 0 to delete.
* fix missing undo push, now it calls the operator.
Patch by Damir Prebeg, thanks!
2011-05-31 09:56:38 +00:00
Campbell Barton
f51c9fa496
fix for mistake in case insensitive image load.
2011-05-31 09:55:50 +00:00
Campbell Barton
b434550edc
fix for recent cmake changes
2011-05-31 09:27:33 +00:00
Nathan Letwory
90d3a3eac8
Make sure correct path separator is used.
2011-05-31 08:50:20 +00:00
Campbell Barton
348f947d80
tag unused rna args.
2011-05-31 02:14:25 +00:00
Campbell Barton
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00
Brecht Van Lommel
dcd55cef86
startup.blend: default ffmpeg output audio bitrate changed to 192.
2011-05-30 18:57:28 +00:00
Benoit Bolsee
884b9d1557
BGE: fix bug #26775 , crash when physics constraint is defined on non-active objects. Patch provided by Sergey Sharybin, verified and applied.
2011-05-30 15:40:01 +00:00
Campbell Barton
c141ed0aa9
missed this import when moving load image function.
2011-05-30 12:19:30 +00:00
Brecht Van Lommel
337e74963b
Fix #27522 : crash when closing new render window with render error message
...
showing in the main window.
2011-05-30 11:44:28 +00:00
Campbell Barton
5a3aaf1fd1
cmake formatting adjustment, no functional change.
2011-05-30 10:51:37 +00:00
Campbell Barton
b92e6985cf
fix for cmakes windows install target, was extracting python 4 times, note install(CODE... doesnt support CONFIGURATIONS setting.
2011-05-30 10:39:18 +00:00
Mitchell Stokes
221472f7b5
Moving the letterbox clear for the embedded player so it only clears when it needs to. Thanks to Juha Mäki-Kanto for the tip.
2011-05-29 18:09:38 +00:00
Martin Poirier
a72f101ac8
[ #25886 ] Skeleton Sketching - Unclear UI for converting sketches into bones
...
Thanks Ronan Ducluzeau for the fix and Jason van Gumster for the report.
2011-05-29 16:04:09 +00:00
Sergey Sharybin
e1466b8ca2
Fix #27392 : boolean intersect's
...
It was lag of optimization logic, which always retuns object's derivedMesh
if one of of boolean operation's meshes has got no faces.
Actually, result depends on operation and which mesh has got no faces.
Added small utility function to handle this.
2011-05-29 15:53:38 +00:00
Campbell Barton
11014aa34b
access pythons code object directly rather than attribute access.
2011-05-29 11:05:52 +00:00
Mitchell Stokes
ebdca474b5
Fixing the initglobals leak in the Blenderplayer (G.main reference was being reassigned before it was freed).
2011-05-29 04:15:35 +00:00
Daniel Salazar
fc3904d7b3
General error in coderivative for orthogonal camera. Culprit of new bump failing on orthogonal cameras; bug #27492
...
Commiting bug kill by Sparky
2011-05-28 21:53:07 +00:00
Campbell Barton
d635a2b143
Disabling xinput wasn't done completely.
2011-05-28 15:34:02 +00:00
Sergey Sharybin
5ca36915a6
Silence some unused-but-set-variable warnings.
...
And small optimization for text search function :)
2011-05-28 14:52:28 +00:00
Sergey Sharybin
628a8151da
Fix #27505 : Text Editor always indent next line when a " is found (which is not always correct)
...
Do not indent if there's any non-space character after colon.
This only makes life a bit easier, but it's still not 100% correct indentation
strategy. For example when colon is inside non-closed string or so.
Also there's not indentation for { and un-indentation for }.
Handling such cases would require much smarter strategy..
2011-05-28 14:40:42 +00:00
Peter Schlaile
ce8467ffd3
== FFMPEG ==
...
Did some fine-tuning for AVOption -> AVOption2 crazyness
2011-05-28 14:16:56 +00:00
M.G. Kishalmi
9b5800bcd7
fixed "rather then" -> "rather than" typos all over the place
2011-05-28 13:11:24 +00:00
Jason Wilkins
844d6f0ac0
rearranged previous patch to compile with C89
...
conversion to double probably not needed
better comments
2011-05-28 12:33:53 +00:00
Nathan Letwory
43385394ed
Introduce vars before using them, otherwise compile fails (reminder: with C, present all
...
your vars at the begin of the scope _before any other statement_).
2011-05-28 12:11:39 +00:00