Commit Graph

47594 Commits

Author SHA1 Message Date
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
051c6e999f partial fix for [#21036] crash with glsl shading
copying UVs was doing a buffer overrun.
2010-02-08 21:19:15 +00:00
Tamito Kajiyama
ed266e868c Merged changes in the trunk up to revision 26719. 2010-02-08 21:13:33 +00:00
Campbell Barton
616af4fa52 [#20973] Fly Navigation does not center cursor on commence 2010-02-08 20:14:44 +00:00
Joerg Mueller
21e08dc2b2 Make it possible to raise volume up to 200 %. Danger as this can cause clamping and as such awful sound and clicks. 2010-02-08 20:03:59 +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
f00906b630 [#20987] A small bug in logic editor
string was used, uninitialized.
2010-02-08 19:24:13 +00:00
Campbell Barton
2aa028e77d Graph editor, when 'Only Selected Handles' is enabled, dont allow selecting a handle unless they key is alredy partially selected. 2010-02-08 18:00:27 +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
Campbell Barton
54d7a7c26f grab the mouse when dragging markers 2010-02-08 15:28:28 +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
Campbell Barton
03bdfb6f31 fix for segfault when setting handle type 2010-02-08 14:34:23 +00:00
Campbell Barton
12f6c667d9 debug print was making it take > 20sec to open blender with some complex files. 2010-02-08 14:12:18 +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
Joshua Leung
0ee97518e1 Armature selection operators now all use context iterators where applicable, reducing the number of places to fix visibility checks. 2010-02-08 11:15:22 +00:00
Joshua Leung
2adf6c977f Bugfix: Toggle Select All behaviour in PoseMode was not correctly taking the active bone into account 2010-02-08 11:00:43 +00:00
Joshua Leung
5e9b5ddfc1 Durian Bugreport - Animation channel visiblity (upwards) flushing
When the visiblity of a F-Curve in an expanded group was enabled using VKEY, the visibility of all groups above the expanded groups were also turned on.
2010-02-08 10:47:34 +00:00
Joshua Leung
23c070dd41 Small assorted harmless code cleanup tweaks before a round of cleanups aimed at fixing a few bugs in animation editor filtering. 2010-02-08 10:27:10 +00:00
Campbell Barton
7f3e8b6da8 [#21018] Lasso select fails [26694]
fix for #20936 broke lasso and border select whe not in wire view.
2010-02-08 10:12:02 +00:00
Joshua Leung
46c0caf7c6 RNA - Added reset to defaults support for Strings too
Many string properties need tweaks to work correctly with this, since many don't have any reasonable defaults set (especially name fields, which often get cleared with these changes).
2010-02-08 09:22:17 +00:00
Joerg Mueller
3a12f37880 Adding support for the FFmpeg video codec #1 as requested on the mailing list. 2010-02-08 08:31:06 +00:00
Joshua Leung
28238ead51 Hid some debug prints for clicking on animation channels. 2010-02-08 02:51:02 +00:00
Tamito Kajiyama
4ec75badf8 Added support for transparent stroke colors.
In Freestyle, strokes are represented with triangle strips, and stroke
colors are realized using vertex colors in order to enable variable
stroke colors (i.e., each triangle has a different color).  Stroke
colors in Freestyle are in the RGBA format, while vertex colors in
Blender do not have an alpha component.  Therefore, we here employ a
2-pass rendering approach as follows.  First, the alpha component of
an image is rendered by using the red component of vertex colors as
the alpha component of stroke colors (1st pass).  The render result is
saved into a temporary buffer.  Then, the vertex colors of stroke
meshes are replaced with RGB values, and the RGB components of the
image is rendered (2nd pass).  Finally, the RGB and alpha components
are merged to produce the render result in the RGBA format.
2010-02-08 02:19:17 +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
Benoit Bolsee
a8a99a628f BGE: add audio/video synchronization capability to VideoTexture
Add optional parameter to VideoTexture.Texture refresh() method
to specify timestamp (in seconds from start of movie) of the frame
to be loaded. This value is passed down to image source and for
VideoFFmpeg source, it is used instead of current time to load
the frame from the video file.

When combined with an audio actuator, it can be used to synchronize
the sound and the image: specify the same video file in the sound
actuator and use the KX_SoundActuator time attribute as timestamp
to refresh: the frame corresponding to the sound will be loaded:

GameLogic.video.refresh(True, soundAct.time)
2010-02-07 19:18:00 +00:00
Andrea Weikert
064345ad8c Partial fix for [#20567] SEQUENCER: Image Preview completely unusable
* Zoom and Pan should work now (thanks Aligorith for reviewing)
* mostly removed ancient drawing code
* Fit preview in Window still has issue, HOME key in preview area should be working though
2010-02-07 19:07:56 +00:00
Campbell Barton
8b0c6a14f9 while info wont sho in the menu, use this. 2010-02-07 18:14:38 +00:00
Martin Poirier
5882355a56 Patch by matd (on irc).
Disables save buffers and full sample when render border is turned on (render doesn't work otherwise because save buffers doesn't support border rendering).
2010-02-07 18:06:12 +00:00
Martin Poirier
3944cda193 Adjust priorities so game engine will link (VideoTex after Ketsji) 2010-02-07 17:56:55 +00:00
Tom Musgrove
056a13ac6c get GE compiling 2010-02-07 17:15:20 +00:00
Ton Roosendaal
120d3e03d8 Fix for not being able to click on icons in Fileselect.
For some reason I thought I committed this like 10 days ago...
2010-02-07 17:10:51 +00:00
Benoit Bolsee
3e598e7468 BGE: Fix typo in SConscript preventing to import VideoTexture module. 2010-02-07 16:52:19 +00:00
Martin Poirier
60bf5465a4 Fun stuff: conflict detection in argument parsing library (could have been useful to detect a previous bug, prevents further bugs).
Prints a warning in the console at runtime when filling in the arguments if conflicts exist.
2010-02-07 15:36:20 +00:00
Brecht Van Lommel
f9917af00b Fix #20914: non-normalized AO baking was not working anymore. 2010-02-07 15:24:10 +00:00
Martin Poirier
3bd78cf8f6 Wrong argument name for scons 2010-02-07 14:59:00 +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
Benoit Bolsee
81fd89c8e0 BGE: VideoTexture was not included, missing WITH_FFMEG defined. Fixed in all building system. 2010-02-07 14:12:39 +00:00
Campbell Barton
6d38010cc5 sunsky presets
* Mountain: low turbidity, well-defined sun, blue-ish (high sun energy)
* Desert: high turbidity (dust), big, diluted sun, red-ish
* Classic: average turbidity (water vapor), small, diluted sun.

also fixed a bug with saving string presets
2010-02-07 13:56:36 +00:00
Brecht Van Lommel
7f64e23068 Fix #21008: text editor scrollbar overlapping text, code here was not
fully updated when the scrollbar was moved from left the right.
2010-02-07 13:49:43 +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
Tamito Kajiyama
3f1920f3f2 Merged changes in the trunk up to revision 26669. 2010-02-07 13:19:44 +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
bb571c67cb mat/lamp/world.textures -> texture_slots
object.materials -> material_slots

since neither contain textures or materials directly.
2010-02-07 12:51:47 +00:00
Campbell Barton
3238730e36 group objects were used uninitialized. (copy paste error?) 2010-02-07 12:30:55 +00:00
Joshua Leung
20fb4e3367 DopeSheet and Graph Editors: Select More/Less Operators
This commit introduces the Select More/Less Operators (Ctrl +/-) for keyframes. This works like the ones for curves, by only selecting/deselecting keyframes lying in the same F-Curve. Inter F-Curve selection is not done by this operator. That is the job for another one. 

This is especially useful for F-Curves set in the 0-1-0 pattern (i.e. 3 keyframes forming localised peaks), where the peaks can be selected by clicking on them individually, and immediately surrounding '0' values are selected too using "Select More".
2010-02-07 11:50:03 +00:00
Brecht Van Lommel
7d2c4384e2 Fix #20147: AO + onlyshadow wasn't being done right, also updated this
code to work with new ao/env separation.
2010-02-07 11:17:19 +00:00
Brecht Van Lommel
65d05fca0d Fix #20488: fields render was crashing. 2010-02-07 10:42:45 +00:00
Brecht Van Lommel
d61f5451c0 Fix #21006: ring select in face mode does loop select again, on second
thought, it makes sense since it's basically the same with flushed
selection to faces.
2010-02-07 10:30:28 +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