Commit Graph

3788 Commits

Author SHA1 Message Date
Brecht Van Lommel
38298d2c22 Fix memory leak "dist table" in node curve mapping. 2010-02-15 09:13:07 +00:00
Campbell Barton
83fd3fbb43 copy animdata and id-props when copying material node tree's to avoid double memory frees or node trees sharing animdata when they shouldnt. 2010-02-15 08:50:04 +00:00
Campbell Barton
677386e53a initial support for extensions in the user preferences
only one script at the moment:
 [#20848] Blender Gears for 2.5 (for ideasman42)
 from Michel Anders (varkenvarken)
2010-02-14 23:33:18 +00:00
Joerg Mueller
190d84a08b Flac encoding now working. Thanks peter schlaile for the help! 2010-02-14 15:38:05 +00:00
Brecht Van Lommel
cd3c70cca2 Fix #20400: hair particles do not render when in "particle mode"
if children present.
2010-02-14 15:11:39 +00:00
Brecht Van Lommel
32aea49b6d Fix #20171: properties of hair are not animateable. 2010-02-14 14:37:26 +00:00
Brecht Van Lommel
be575aa3a0 Fix #20282: particle normal force can be animated but not driven. 2010-02-14 14:18:23 +00:00
Benoit Bolsee
ce26d457ba Support GPU image auto_refresh also for movie (was for sequence only). 2010-02-13 21:24:13 +00:00
Campbell Barton
39c3ebdc91 fix for memory leak: node animation data wasnt being free'd
also some corrections to memory debug stuff.
2010-02-13 13:38:10 +00:00
Ton Roosendaal
b673f7318c Added support for animated texture draw, GLSL textures.
Note, this is not like GE ffmpg, but Blender Image Texture
display for GLSL materials. Speed can be disappointing,
use smaller images for realtime edits.
2010-02-13 13:09:30 +00:00
Campbell Barton
e92b5292c8 print blend file loading, because...
- Often need to open a file that just crashed/hung in valgrind or gdb
- Sometimes need to commit a blend that was just opened and blender has no fast way to get the blend file in the clipboard.

since libraries also print in the console, dont see any problems with adding this.
2010-02-13 12:41:58 +00:00
Jens Ole Wund
ac7f0ac606 fixing cuckoo bugs
- no i really don't like abusing group indexes (would like to have written indices .. but spell checker complains  SIGH )
anyhow 
lattices and curves do not care for ambiguous vertex group index any more
just take weights as they are set
2010-02-13 00:52:01 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Joshua Leung
b482b8543e Bugfix #21051: Restored 'Playback FPS'
This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View.

The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
2010-02-12 00:44:26 +00:00
Lukas Steiblys
778cac6c54 2010-02-11 21:55:07 +00:00
Campbell Barton
611a5595f9 fix for flag being used in the wrong place with recent ApproxAO option. 2010-02-11 18:36:47 +00:00
Campbell Barton
08d3741980 fix for crash when running in background mode and adjusting materials 2010-02-11 16:54:25 +00:00
Brecht Van Lommel
d98603129c Added an option "Cast Approximate" to control if a material should cast
shadow when using approximate AO, separate from "Traceable".
2010-02-11 15:43:31 +00:00
Campbell Barton
226fb2b377 revert previous commit, this should fix without disabling cases that worked before. 2010-02-10 18:05:52 +00:00
Campbell Barton
bcae5e2e62 fix for crash in sequencer when sequebce data cant be read. 2010-02-10 17:28:46 +00:00
Brecht Van Lommel
5df1bb84d8 Fix crash in copying constraints for proxy. 2010-02-10 14:47:39 +00:00
Campbell Barton
2b857baeca [#20958] API: crash on mesh.update() if I unlink and link meshes with the same name twice 2010-02-10 09:30:22 +00:00
Campbell Barton
4768c33dbb bugfix [#21055] Python: accessing ParticleEdit.hair causes segmentation violation 2010-02-09 20:03:05 +00:00
Brecht Van Lommel
10240261e9 J-key render switching back, now with 10 slots.
Implementation note: this was done by giving each Render a slot number,
and for every slot a new Render will be created. Not sure if this is
ideal, but it ensures that all passes, render info, etc are separate so
you can also compare render layers and passes, in 2.4x only whatever it
was currently displaying was backed up.
2010-02-09 19:37:37 +00:00
Campbell Barton
82825d5c93 [#21067] Weight painting doesn't work with mirror modifier enabled. 2010-02-09 18:06:57 +00:00
Joshua Leung
0e7c973e06 Bugfix #21041: pressing tab, adds spaces depending on the end of the line
The code used to calculate the number of spaces to insert for a tab (so that indention widths were aligned to multiples of the number of spaces to use) was incorrectly assuming that the line that this was to occur on was blank, using text->curl->len (i.e. the length of the current line). 

The code now uses the position of the cursor to determine how many spaces need to be added to it to move it to the next multiple of the tab width.

---

Also, added numpad enter to text-editor keymap for creating new lines for more consistency with user expectations.
2010-02-09 11:18:17 +00:00
Joshua Leung
d359edbc84 Bugfix: Inserting keyframes from the buttons now ensures that the Graph Editor is updated in the process... 2010-02-09 00:02:22 +00:00
Joshua Leung
bc31b2c0f4 Bugfix #21035: PLAYBACK: Consistent crash during playback
Circumvent using RNA path resolution code for finding the volume for sound baking, since this can lead to crashes in some cases.
2010-02-08 23:07:53 +00:00
Campbell Barton
09715e7cce bugfix [#21036] crash with glsl shading
VBO draw cod was assuming a buffer was allocated for drawing.
2010-02-08 21:33:47 +00:00
Joshua Leung
6001508936 2.49 to 2.5 Animation Conversion Bugfixes:
- World Animation was being ignored. Reported on BA
- Particle/Sound/World animation handling were all missing break statements for some reason, which was corrupting path names.
2010-02-08 21:23:17 +00:00
Campbell Barton
9ffe1c58f8 hack, we need a way not to switch some cameras quickly. 2010-02-08 19:52:34 +00:00
Campbell Barton
1cf9493e24 run id_lib_extern on all constraint ID data when copying. solves possible errors when running make proxy on a library object. 2010-02-08 17:30:35 +00:00
Brecht Van Lommel
cbe54bd772 Fix for a memory leak in subsurf code that is using memory arena, temporary
arrays are now allocated with regular guardedalloc.
2010-02-08 15:01:11 +00:00
Brecht Van Lommel
ec7df03c86 Warning fixes, one actual bug found in sequencer sound wave drawing. Also
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-02-08 13:55:31 +00:00
Joerg Mueller
9827a3e9ea 2.5 Audio:
- recode of the whole sequencer audio handling
- encode audio flag removed, instead you choose None as audio codec, added None for video codec too
- ffmpeg formats/codecs: enabled: theora, ogg, vorbis; added: matroska, flac (not working, who can fix?), mp3, wav
- sequencer wave drawing
- volume animation (now also working when mixing down to a file!)
- made sequencer strip position and length values unanimatable
2010-02-07 23:41:17 +00:00
Joshua Leung
2f72b91a54 Operator Execution Contexts Bugfix:
This commit adds a few more execution contexts for operators, given the increasing tendency for some special regiontypes to exist within areas that must have their own set of special operators. 

Examples of these include the "channel" operators in the Animation Editors (i.e. those in the 'Channels' menu), and the "Fit to Preview Window" operator for the Sequencer.

Previously, operators such as these would not function when clicked on from the menus, and they would not show the hotkeys they were mapped to.


Also, fixed a few operator definitions in the Animation Editors which were missing ot->prop defines. This meant that some hotkeys (mainly selection) were shown incorrectly in the menus.
2010-02-07 23:39:44 +00:00
Daniel Genrich
dedbf8608e Smoke: Patch #20955 / fix by Damien Plisson (damien78)
* Smoke got it's own thread loop now and can be esc'ed now
* Apple OpenMP bug workaround until they fix the GCC (couldn't test this one)
* removing some "static" keyword to prevent crashing on frame display
* should also fix problems with wavelet.noise crashing (Bug #20710)

Fluid:
* sleep delay has been reduced to be more responsive
* Fluid progress is displayed in percent using the mouse cursor (like smoke)
2010-02-07 14:25:09 +00:00
Brecht Van Lommel
aea91b97fc Fix #20887: multires sculpt normals not updated correct in solid
textured draw mode.
2010-02-07 13:22:46 +00:00
Brecht Van Lommel
65dc616e10 Fix #20398: smooth brush + multires could still give problems at inner
face edges.
2010-02-07 13:07:12 +00:00
Campbell Barton
3238730e36 group objects were used uninitialized. (copy paste error?) 2010-02-07 12:30:55 +00:00
Brecht Van Lommel
c2122f01ad Fix #20928: difference boolean modifier is not applied during rendering,
fixed by last depsgraph commit and this extra check to avoid unnecessary
free of derivedmesh for sculpt/multires.
2010-02-07 10:16:42 +00:00
Brecht Van Lommel
d8c7f743ab Depsgraph: fix for old problem where dependencies would not get executed
properly on file loading. Some things get preserved on file save/load,
like object matrices and armature poses, but other things need to be remade
like derivedmeshes and displists. The latter were not tagged for recalc on
load causing them to be made on countall or redraw typically, so not in the
right order and dependencies on hidden layer were not done at all.

Now these get tagged for recalc and flags flushed on load. There shouldn't
be much if any slowdown on opening existing files, if there is it should be
fixable.
2010-02-07 10:00:27 +00:00
Brecht Van Lommel
64d9026144 Fix for stamp marker name lookup, was returning wrong incorrect pointer. 2010-02-07 09:52:43 +00:00
Brecht Van Lommel
2cc02cdd9b Fix #20922: image window draw z-buffer wasn't drawing the z-buffer
from the select render layer.
2010-02-07 00:28:49 +00:00
Brecht Van Lommel
7f2b2929ff Fix #20350: particles are offset from emittor in dupli-objects. 2010-02-06 20:59:09 +00:00
Brecht Van Lommel
3be3e84e48 Fix game engine crashing with subsurf modifier, only allow caching
of CCGSubsurf when computing ob/em->derivedFinal.
2010-02-06 18:21:33 +00:00
Brecht Van Lommel
53a3b64601 Fix part of #20468: material changes when switch to sculpt mode. 2010-02-06 17:04:13 +00:00
Campbell Barton
bd0b26f7bb bugfix [#20990] maker name don't show in render stamp 2010-02-06 14:56:25 +00:00
Joshua Leung
ae22d97c45 Constraints API: ID-Loopers
Added a system for running a callback on all the ID-blocks referenced by constraints (like for modifiers). Also, added an API function which calls these on the constraints present in the given list.

These could be used for:
- the proxies + action/pyconstraint fix that campbell committed
- simplification of file loading code
2010-02-06 11:28:22 +00:00
Campbell Barton
61755860ea VBO's face index was incorrect, didnt see this break anything but was giving the triangulated index (always wrong for quads). 2010-02-05 13:40:43 +00:00