Commit Graph

19279 Commits

Author SHA1 Message Date
4768c33dbb bugfix [#21055] Python: accessing ParticleEdit.hair causes segmentation violation 2010-02-09 20:03:05 +00:00
0d2b080358 Forgot to commit this file. 2010-02-09 19:59:07 +00:00
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
52b1c37645 [#21039] OBJ import Clamp Scale limited to .01 as lowest Value. Used to be Zero
[#21053] 2.5alpha0 export obj problem
+ some minor changes.
2010-02-09 19:22:57 +00:00
f577c4bb7f bugfix [#21057] Python: accessing DriverVariable targets causes segmentation violation
collections were detected as arrays.
2010-02-09 19:20:12 +00:00
82825d5c93 [#21067] Weight painting doesn't work with mirror modifier enabled. 2010-02-09 18:06:57 +00:00
4520bc6edd Tooltips tweaks 3d to 3D 2010-02-09 17:50:56 +00:00
346e45d6af wkey - weld in UV window 2010-02-09 16:36:44 +00:00
72f44ee2a5 Soft limits and better hard limits to particle properties 2010-02-09 16:28:00 +00:00
d5b3db4deb Adding soft limits and better hard limits to relevant camera properties
wohooo first commit! :D
2010-02-09 16:05:12 +00:00
f082c7be05 add access to edge select tagging from mesh toolbar (tagging seams on Ctrl+RMB) 2010-02-09 15:48:34 +00:00
ce38137449 Shadow Buffers:
* Bugfix, rasterization was shifted half a pixel.
* Remove scaling of bias by render size, there is something to be
  said for doing to compensate for lower shadow buffer xy resolution,
  however the z-resolution does not change and this seems to have a
  larger effect.
* Remove clamping of filter size by soft factor. Now it is clamped to
  1 pixel instead to ensure there is some AA. Why this was done this
  way is not clear to me, however on decreasing shadow buffer resolution
  this would change the softness by increasing the filter size.
2010-02-09 13:58:07 +00:00
7d2d5c990f fix for uninitialized mempool variable. 2010-02-09 12:06:04 +00:00
3f529256eb More bugfixes for setting visibility of anim channels using VKEY:
* Fixed problem where selecting an individual F-Curve would not set the selection correctly. 
Group channels still needed a separate selection check before they get included in the filtered list. I had removed this in an earlier fixing commit today, but overlooked that expanded groups wouldn't get this check. Therefore, group channels would also be flushed on, turning all channels of group on.

* Removed the 'curvesonly' test from deciding whether the selection status + collapsed group fix, from the earlier commit, since this was making a few cases get overlooked (namely for setting visibility toggles, where selected F-Curves in closed and deselected groups still managed to get through)

* Added a debugging print API call for helping with debugging this sort of error in future. It just prints the types of channels being operated on, to easily see what's going on...
2010-02-09 11:59:02 +00:00
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
945a126170 Warning fixes 2010-02-09 11:01:31 +00:00
720d26f4b0 Bugfix #20964: Loopcut with X-Ray draw mode draws no cuts
Moved the special region "post draw" callback execution stuff to after XRay and Transp object drawing.
2010-02-09 09:56:04 +00:00
7dee0e2540 Bugfix #21032: sound strips could not be drag-n-dropped from filebrowser to sequencer 2010-02-09 09:31:45 +00:00
35996857b8 Adding a field for debug type-names to animation channel types to facilitate easier debugging on channel errors. 2010-02-09 09:23:29 +00:00
3563118ae4 Bugfix #21029: Animation editor's channel-group check boxes behave oddly
This commit fixes the first issue in the report - deselecting unselected channels does not flush the change in state - which resulted in the channels of collapsed and unselected groups not getting unselected too (a consistency issue).
2010-02-09 08:38:45 +00:00
ab6c82521c More AnimChannel Filtering Fixes - Groups + Selection Status:
For operators that depended on working on the data of 'selected' channels, but which needed to get F-Curves only, collapsed groups posed a problem (these operators included inserting keyframes on selected channels only, pasting keyframes, and ghosting curves). 

When these groups were selected, all their F-Curves should get included regardless of selection since it's too confusing otherwise. However, inside the F-Curve filtering code, selection was still being considered. This problem has now been avoided by not filtering the F-Curves for selection status in these cases.
2010-02-09 06:40:54 +00:00
3467980b8a Bugfix #21030: Non-visible animation channel-groups can get deleted
Bugfix #21031: Non-visible animation channels affected by fcurve visibility toggle hotkeys

Removed a bad check for the selection filtering check from animation editor filtering for groups+fcurves. This check meant that groups that were not visible due to not having any visible F-Curves would end up being shown too.
2010-02-09 05:45:02 +00:00
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
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
f8455a8d40 filebrowser
* after renaming, the file name and highlight are drawn immediately.
2010-02-08 22:44:55 +00:00
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
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
051c6e999f partial fix for [#21036] crash with glsl shading
copying UVs was doing a buffer overrun.
2010-02-08 21:19:15 +00:00
616af4fa52 [#20973] Fly Navigation does not center cursor on commence 2010-02-08 20:14:44 +00:00
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
9ffe1c58f8 hack, we need a way not to switch some cameras quickly. 2010-02-08 19:52:34 +00:00
f00906b630 [#20987] A small bug in logic editor
string was used, uninitialized.
2010-02-08 19:24:13 +00:00
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
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
54d7a7c26f grab the mouse when dragging markers 2010-02-08 15:28:28 +00:00
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
03bdfb6f31 fix for segfault when setting handle type 2010-02-08 14:34:23 +00:00
12f6c667d9 debug print was making it take > 20sec to open blender with some complex files. 2010-02-08 14:12:18 +00:00
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
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
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
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
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
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
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
3a12f37880 Adding support for the FFmpeg video codec #1 as requested on the mailing list. 2010-02-08 08:31:06 +00:00
28238ead51 Hid some debug prints for clicking on animation channels. 2010-02-08 02:51:02 +00:00
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
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
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