11 years agoMerged changes in the trunk up to revision 26719.
Tamito Kajiyama [Mon, 8 Feb 2010 21:13:33 +0000 (21:13 +0000)]
Merged changes in the trunk up to revision 26719.

11 years ago[#20973] Fly Navigation does not center cursor on commence
Campbell Barton [Mon, 8 Feb 2010 20:14:44 +0000 (20:14 +0000)]
[#20973] Fly Navigation does not center cursor on commence

11 years agoMake it possible to raise volume up to 200 %. Danger as this can cause clamping and...
Joerg Mueller [Mon, 8 Feb 2010 20:03:59 +0000 (20:03 +0000)]
Make it possible to raise volume up to 200 %. Danger as this can cause clamping and as such awful sound and clicks.

11 years agohack, we need a way not to switch some cameras quickly.
Campbell Barton [Mon, 8 Feb 2010 19:52:34 +0000 (19:52 +0000)]
hack, we need a way not to switch some cameras quickly.

11 years agoMSVC projectfiles
Andrea Weikert [Mon, 8 Feb 2010 19:26:13 +0000 (19:26 +0000)]
MSVC projectfiles
* quick update for audaspace

11 years ago[#20987] A small bug in logic editor
Campbell Barton [Mon, 8 Feb 2010 19:24:13 +0000 (19:24 +0000)]
[#20987] A small bug in logic editor
string was used, uninitialized.

11 years agoGraph editor, when 'Only Selected Handles' is enabled, dont allow selecting a handle...
Campbell Barton [Mon, 8 Feb 2010 18:00:27 +0000 (18:00 +0000)]
Graph editor, when 'Only Selected Handles' is enabled, dont allow selecting a handle unless they key is alredy partially selected.

11 years agorun id_lib_extern on all constraint ID data when copying. solves possible errors...
Campbell Barton [Mon, 8 Feb 2010 17:30:35 +0000 (17:30 +0000)]
run id_lib_extern on all constraint ID data when copying. solves possible errors when running make proxy on a library object.

11 years ago2.5 Audio:
Joerg Mueller [Mon, 8 Feb 2010 15:37:38 +0000 (15:37 +0000)]
2.5 Audio:

- Using libsamplerate again, doesn't seem to be the bug source.
- Changed sequencer audio to work with 2 channels and 44.1 kHz fixed.

11 years agograb the mouse when dragging markers
Campbell Barton [Mon, 8 Feb 2010 15:28:28 +0000 (15:28 +0000)]
grab the mouse when dragging markers

11 years agoFix for a memory leak in subsurf code that is using memory arena, temporary
Brecht Van Lommel [Mon, 8 Feb 2010 15:01:11 +0000 (15:01 +0000)]
Fix for a memory leak in subsurf code that is using memory arena, temporary
arrays are now allocated with regular guardedalloc.

11 years agoGuardedalloc: added MEM_reallocN function to do simple alloc/memcpy/free,
Brecht Van Lommel [Mon, 8 Feb 2010 14:59:59 +0000 (14:59 +0000)]
Guardedalloc: added MEM_reallocN function to do simple alloc/memcpy/free,
not as optimized as a system realloc but I've had to do this often enough
manually to justify a utility function.

11 years ago2.5 Audio:
Joerg Mueller [Mon, 8 Feb 2010 14:43:44 +0000 (14:43 +0000)]
2.5 Audio:

- Python script to crossfade two sound strips in the sequencer
- Fix for the libsamplerate code producing awful audio when resampling sequencer strips
- Changed default resampler to a linear one (as temporary workaround for a bug that seems to be in the samplerate code)
- Fix for the OpenAL device to return a more accurate playback position

11 years agofix for segfault when setting handle type
Campbell Barton [Mon, 8 Feb 2010 14:34:23 +0000 (14:34 +0000)]
fix for segfault when setting handle type

11 years agodebug print was making it take > 20sec to open blender with some complex files.
Campbell Barton [Mon, 8 Feb 2010 14:12:18 +0000 (14:12 +0000)]
debug print was making it take > 20sec to open blender with some complex files.

11 years agoWarning fixes, one actual bug found in sequencer sound wave drawing. Also
Brecht Van Lommel [Mon, 8 Feb 2010 13:55:31 +0000 (13:55 +0000)]
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.

11 years agoNULL check if file cant be read.
Campbell Barton [Mon, 8 Feb 2010 12:37:09 +0000 (12:37 +0000)]
NULL check if file cant be read.

11 years agoArmature selection operators now all use context iterators where applicable, reducing...
Joshua Leung [Mon, 8 Feb 2010 11:15:22 +0000 (11:15 +0000)]
Armature selection operators now all use context iterators where applicable, reducing the number of places to fix visibility checks.

11 years agoBugfix: Toggle Select All behaviour in PoseMode was not correctly taking the active...
Joshua Leung [Mon, 8 Feb 2010 11:00:43 +0000 (11:00 +0000)]
Bugfix: Toggle Select All behaviour in PoseMode was not correctly taking the active bone into account

11 years agoDurian Bugreport - Animation channel visiblity (upwards) flushing
Joshua Leung [Mon, 8 Feb 2010 10:47:34 +0000 (10:47 +0000)]
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.

11 years agoSmall assorted harmless code cleanup tweaks before a round of cleanups aimed at fixin...
Joshua Leung [Mon, 8 Feb 2010 10:27:10 +0000 (10:27 +0000)]
Small assorted harmless code cleanup tweaks before a round of cleanups aimed at fixing a few bugs in animation editor filtering.

11 years ago[#21018] Lasso select fails [26694]
Campbell Barton [Mon, 8 Feb 2010 10:12:02 +0000 (10:12 +0000)]
[#21018] Lasso select fails [26694]

fix for #20936 broke lasso and border select whe not in wire view.

11 years agoRNA - Added reset to defaults support for Strings too
Joshua Leung [Mon, 8 Feb 2010 09:22:17 +0000 (09:22 +0000)]
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).

11 years agoAdding support for the FFmpeg video codec #1 as requested on the mailing list.
Joerg Mueller [Mon, 8 Feb 2010 08:31:06 +0000 (08:31 +0000)]
Adding support for the FFmpeg video codec #1 as requested on the mailing list.

11 years agoHid some debug prints for clicking on animation channels.
Joshua Leung [Mon, 8 Feb 2010 02:51:02 +0000 (02:51 +0000)]
Hid some debug prints for clicking on animation channels.

11 years agoAdded support for transparent stroke colors.
Tamito Kajiyama [Mon, 8 Feb 2010 02:19:17 +0000 (02:19 +0000)]
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.

11 years ago2.5 Audio:
Joerg Mueller [Sun, 7 Feb 2010 23:41:17 +0000 (23:41 +0000)]
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

11 years agoOperator Execution Contexts Bugfix:
Joshua Leung [Sun, 7 Feb 2010 23:39:44 +0000 (23:39 +0000)]
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.

11 years agoPatch #21011: Tweaks to Sky/Atmosphere presets
Joshua Leung [Sun, 7 Feb 2010 22:26:37 +0000 (22:26 +0000)]
Patch #21011: Tweaks to Sky/Atmosphere presets
Patch by Daniel Salazar - ZanQdo

- Do not change save the distance factor since this is not relevant as a preset, it should stay at what ever the user
set it to work with that particular scene
- fixed a tooltip

11 years agoBGE: add audio/video synchronization capability to VideoTexture
Benoit Bolsee [Sun, 7 Feb 2010 19:18:00 +0000 (19:18 +0000)]
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:, soundAct.time)

11 years agoPartial fix for [#20567] SEQUENCER: Image Preview completely unusable
Andrea Weikert [Sun, 7 Feb 2010 19:07:56 +0000 (19:07 +0000)]
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

11 years agowhile info wont sho in the menu, use this.
Campbell Barton [Sun, 7 Feb 2010 18:14:38 +0000 (18:14 +0000)]
while info wont sho in the menu, use this.

11 years agoPatch by matd (on irc).
Martin Poirier [Sun, 7 Feb 2010 18:06:12 +0000 (18:06 +0000)]
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).

11 years agoAdjust priorities so game engine will link (VideoTex after Ketsji)
Martin Poirier [Sun, 7 Feb 2010 17:56:55 +0000 (17:56 +0000)]
Adjust priorities so game engine will link (VideoTex after Ketsji)

11 years agoget GE compiling
Tom Musgrove [Sun, 7 Feb 2010 17:15:20 +0000 (17:15 +0000)]
get GE compiling

11 years agoFix for not being able to click on icons in Fileselect.
Ton Roosendaal [Sun, 7 Feb 2010 17:10:51 +0000 (17:10 +0000)]
Fix for not being able to click on icons in Fileselect.
For some reason I thought I committed this like 10 days ago...

11 years agoBGE: Fix typo in SConscript preventing to import VideoTexture module.
Benoit Bolsee [Sun, 7 Feb 2010 16:52:19 +0000 (16:52 +0000)]
BGE: Fix typo in SConscript preventing to import VideoTexture module.

11 years agoFun stuff: conflict detection in argument parsing library (could have been useful...
Martin Poirier [Sun, 7 Feb 2010 15:36:20 +0000 (15:36 +0000)]
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.

11 years agoFix #20914: non-normalized AO baking was not working anymore.
Brecht Van Lommel [Sun, 7 Feb 2010 15:24:10 +0000 (15:24 +0000)]
Fix #20914: non-normalized AO baking was not working anymore.

11 years agoWrong argument name for scons
Martin Poirier [Sun, 7 Feb 2010 14:59:00 +0000 (14:59 +0000)]
Wrong argument name for scons

11 years agoSmoke: Patch #20955 / fix by Damien Plisson (damien78)
Daniel Genrich [Sun, 7 Feb 2010 14:25:09 +0000 (14:25 +0000)]
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)

* sleep delay has been reduced to be more responsive
* Fluid progress is displayed in percent using the mouse cursor (like smoke)

11 years agoBGE: VideoTexture was not included, missing WITH_FFMEG defined. Fixed in all building...
Benoit Bolsee [Sun, 7 Feb 2010 14:12:39 +0000 (14:12 +0000)]
BGE: VideoTexture was not included, missing WITH_FFMEG defined. Fixed in all building system.

11 years agosunsky presets
Campbell Barton [Sun, 7 Feb 2010 13:56:36 +0000 (13:56 +0000)]
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

11 years agoFix #21008: text editor scrollbar overlapping text, code here was not
Brecht Van Lommel [Sun, 7 Feb 2010 13:49:43 +0000 (13:49 +0000)]
Fix #21008: text editor scrollbar overlapping text, code here was not
fully updated when the scrollbar was moved from left the right.

11 years agoFix #20887: multires sculpt normals not updated correct in solid
Brecht Van Lommel [Sun, 7 Feb 2010 13:22:46 +0000 (13:22 +0000)]
Fix #20887: multires sculpt normals not updated correct in solid
textured draw mode.

11 years agoMerged changes in the trunk up to revision 26669.
Tamito Kajiyama [Sun, 7 Feb 2010 13:19:44 +0000 (13:19 +0000)]
Merged changes in the trunk up to revision 26669.

11 years agoFix #20398: smooth brush + multires could still give problems at inner
Brecht Van Lommel [Sun, 7 Feb 2010 13:07:12 +0000 (13:07 +0000)]
Fix #20398: smooth brush + multires could still give problems at inner
face edges.

11 years agomat/lamp/world.textures -> texture_slots
Campbell Barton [Sun, 7 Feb 2010 12:51:47 +0000 (12:51 +0000)]
mat/lamp/world.textures -> texture_slots
object.materials -> material_slots

since neither contain textures or materials directly.

11 years agogroup objects were used uninitialized. (copy paste error?)
Campbell Barton [Sun, 7 Feb 2010 12:30:55 +0000 (12:30 +0000)]
group objects were used uninitialized. (copy paste error?)

11 years agoPatch/Bugfix #20997: Recent commit to by Cam added...
Joshua Leung [Sun, 7 Feb 2010 11:53:00 +0000 (11:53 +0000)]
Patch/Bugfix #20997: Recent commit to by Cam added some garbage to a variable name making the script fail

Patch by Daniel Salazar (ZanQdo)

11 years agoDopeSheet and Graph Editors: Select More/Less Operators
Joshua Leung [Sun, 7 Feb 2010 11:50:03 +0000 (11:50 +0000)]
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".

11 years agoFix #20147: AO + onlyshadow wasn't being done right, also updated this
Brecht Van Lommel [Sun, 7 Feb 2010 11:17:19 +0000 (11:17 +0000)]
Fix #20147: AO + onlyshadow wasn't being done right, also updated this
code to work with new ao/env separation.

11 years agoFix #20488: fields render was crashing.
Brecht Van Lommel [Sun, 7 Feb 2010 10:42:45 +0000 (10:42 +0000)]
Fix #20488: fields render was crashing.

11 years agoFix #21006: ring select in face mode does loop select again, on second
Brecht Van Lommel [Sun, 7 Feb 2010 10:30:28 +0000 (10:30 +0000)]
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.

11 years agoFix #20928: difference boolean modifier is not applied during rendering,
Brecht Van Lommel [Sun, 7 Feb 2010 10:16:42 +0000 (10:16 +0000)]
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.

11 years agoOutliner:
Thomas Dinges [Sun, 7 Feb 2010 10:04:18 +0000 (10:04 +0000)]
Modifier Icons for Smoke and Solidify were missing.

11 years agoDepsgraph: fix for old problem where dependencies would not get executed
Brecht Van Lommel [Sun, 7 Feb 2010 10:00:27 +0000 (10:00 +0000)]
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

11 years agoFix for stamp marker name lookup, was returning wrong incorrect pointer.
Brecht Van Lommel [Sun, 7 Feb 2010 09:52:43 +0000 (09:52 +0000)]
Fix for stamp marker name lookup, was returning wrong incorrect pointer.

11 years agoFixed display of IK DOF limits for bones. The old rotations were using M_PI/360 inste...
Joshua Leung [Sun, 7 Feb 2010 04:38:45 +0000 (04:38 +0000)]
Fixed display of IK DOF limits for bones. The old rotations were using M_PI/360 instead of M_PI/180 in many places, which I overlooked when porting this over to using radians only.

11 years agoPatch + Bugfix #20999: Node Header icons drawn wrong
Joshua Leung [Sun, 7 Feb 2010 02:54:41 +0000 (02:54 +0000)]
Patch + Bugfix #20999: Node Header icons drawn wrong

Thanks to Thomas Raab (fando) for this patch.

This patch fixes the arrow showing whether nodes are expanded or not, and includes a fix for the other icons getting scaled twice.

11 years agoFix jumping panels when opening a new properties area or area containing
Brecht Van Lommel [Sun, 7 Feb 2010 01:11:02 +0000 (01:11 +0000)]
Fix jumping panels when opening a new properties area or area containing
a region with panels (e.g. file browser).

11 years agoFix #21000: normal size button increment too small to see, also fixed
Brecht Van Lommel [Sun, 7 Feb 2010 01:09:12 +0000 (01:09 +0000)]
Fix #21000: normal size button increment too small to see, also fixed
increment for lamp energy.

11 years agoFix #20220: edge ring select confusing
Brecht Van Lommel [Sun, 7 Feb 2010 01:01:32 +0000 (01:01 +0000)]
Fix #20220: edge ring select confusing

* no longer a modal operator now, that was useful when it was part of
  the loopcut macro but is no longer the case, and should have not
  affected regular edge ring selection.
* don't fall through to loop select in face mode, that is bad 2.4
  behavior, just use alt+rmb if you want to loop select.
* fix error number of cuts error print, missing select mode flush, and
  use more accurate notifier.

11 years agoFix #20922: image window draw z-buffer wasn't drawing the z-buffer
Brecht Van Lommel [Sun, 7 Feb 2010 00:28:49 +0000 (00:28 +0000)]
Fix #20922: image window draw z-buffer wasn't drawing the z-buffer
from the select render layer.

11 years agoFix #20350: particles are offset from emittor in dupli-objects.
Brecht Van Lommel [Sat, 6 Feb 2010 20:59:09 +0000 (20:59 +0000)]
Fix #20350: particles are offset from emittor in dupli-objects.

11 years agoFix compiling when GameEngine is disabled.
Joshua Leung [Sat, 6 Feb 2010 20:59:08 +0000 (20:59 +0000)]
Fix compiling when GameEngine is disabled.

11 years agoFix #20452: motion blur buttons were missing. Motion blur samples
Brecht Van Lommel [Sat, 6 Feb 2010 20:25:17 +0000 (20:25 +0000)]
Fix #20452: motion blur buttons were missing. Motion blur samples
are now also decoupled from antialiasing samples. Implemented by
Matt, I'm just committing the patch.

11 years agoFix game engine crashing with subsurf modifier, only allow caching
Brecht Van Lommel [Sat, 6 Feb 2010 18:21:33 +0000 (18:21 +0000)]
Fix game engine crashing with subsurf modifier, only allow caching
of CCGSubsurf when computing ob/em->derivedFinal.

11 years agoGame engine: show popup with error rather than printing in console when
Brecht Van Lommel [Sat, 6 Feb 2010 17:38:23 +0000 (17:38 +0000)]
Game engine: show popup with error rather than printing in console when
trying to start game engine disabled in build.

11 years agoFix part of #20468: material changes when switch to sculpt mode.
Brecht Van Lommel [Sat, 6 Feb 2010 17:04:13 +0000 (17:04 +0000)]
Fix part of #20468: material changes when switch to sculpt mode.

11 years ago[#20994] seem that -F flags is not honored any more on linux ubuntu 9.10
Martin Poirier [Sat, 6 Feb 2010 16:39:44 +0000 (16:39 +0000)]
[#20994] seem that -F flags is not honored any more on linux ubuntu 9.10

Case Insensitive flag was reversed, making -F act like -f.

11 years agoWrong text for missing format with -F
Martin Poirier [Sat, 6 Feb 2010 16:38:53 +0000 (16:38 +0000)]
Wrong text for missing format with -F

11 years agoFix #20953: vertex and weight paint mode still had 500k verts limit.
Brecht Van Lommel [Sat, 6 Feb 2010 15:50:53 +0000 (15:50 +0000)]
Fix #20953: vertex and weight paint mode still had 500k verts limit.

11 years agoFix #20951: move to layer popup hotkeys shift 1..9 were not working correct.
Brecht Van Lommel [Sat, 6 Feb 2010 15:29:18 +0000 (15:29 +0000)]
Fix #20951: move to layer popup hotkeys shift 1..9 were not working correct.

11 years agobugfix [#20990] maker name don't show in render stamp
Campbell Barton [Sat, 6 Feb 2010 14:56:25 +0000 (14:56 +0000)]
bugfix [#20990] maker name don't show in render stamp

11 years agobugfix [#20989] DupliVert of DupliGroup crash
Campbell Barton [Sat, 6 Feb 2010 14:32:50 +0000 (14:32 +0000)]
bugfix [#20989] DupliVert of DupliGroup crash

11 years agocommit from joe 26206, removed timer from zoom. this is needed for continuous zoom.
Campbell Barton [Sat, 6 Feb 2010 12:44:37 +0000 (12:44 +0000)]
commit from joe 26206, removed timer from zoom. this is needed for continuous zoom.

11 years agoConstraints Loading:
Joshua Leung [Sat, 6 Feb 2010 11:50:39 +0000 (11:50 +0000)]
Constraints Loading:

Refactored the constraints reading code to take advantage of the new ID loopers. Now, adding a new constraint type will not require much effort with the file loading code, unless the constraint uses any special direct data which needs to be handled differently.

11 years agoConstraints API: ID-Loopers
Joshua Leung [Sat, 6 Feb 2010 11:28:22 +0000 (11:28 +0000)]
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

11 years agoMSVC compile fix
Andrea Weikert [Sat, 6 Feb 2010 10:50:34 +0000 (10:50 +0000)]
MSVC compile fix
* needed to add _USE_MATH_DEFINES to make M_PI known

11 years agoBGE: rna update for Logic Bricks
Dalai Felinto [Sat, 6 Feb 2010 06:21:42 +0000 (06:21 +0000)]
BGE: rna update for Logic Bricks

New Actuators done:

Actuators to be done:

Actuators done already:

once again: feedback is appreciated.

11 years agoBGE: rna update for Logic Bricks
Dalai Felinto [Fri, 5 Feb 2010 23:50:33 +0000 (23:50 +0000)]
BGE: rna update for Logic Bricks

Sensor and Controllers: small fixes and suggestion (comments) for future improvement - mainly to replace text properties to material, text or object datablocks.

Actuators done:

Actuators to be done:
All the others (their structure is in the file)


** If someone want to help on that:
Files used for actuator RNA:
- logic_window.c
- DNA_actuator_types.h

*** my first big RNA operation. critics/suggestions are welcome

**** padded some DNA variables that were not been used.

11 years agoBugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 Builds
Joshua Leung [Fri, 5 Feb 2010 22:03:19 +0000 (22:03 +0000)]
Bugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 Builds

- IK-Solver interfaces were still converting units from degrees to radians. Made these all use radians now.

- Tried to fix the DOF limits drawing. This is still not totally functional again yet, but at least there are visible lines now.

11 years agoDisabled ability to animate FPS setting, since this was producing weird and crazy...
Joshua Leung [Fri, 5 Feb 2010 21:23:07 +0000 (21:23 +0000)]
Disabled ability to animate FPS setting, since this was producing weird and crazy effects for when viewing timecodes.

See and switch to timecode displays in the timeline (Ctrl T) to see the effects of this (in an old build).

11 years agoMerge -c 26630 from COLLADA branch into trunk.
Arystanbek Dyussenov [Fri, 5 Feb 2010 18:39:04 +0000 (18:39 +0000)]
Merge -c 26630 from COLLADA branch into trunk.

11 years agochanges to 'view selected' operator.
Campbell Barton [Fri, 5 Feb 2010 15:55:45 +0000 (15:55 +0000)]
changes to 'view selected' operator.
- near clipping is not used to clamp minimum zoom level in ortho mode.
- view selected applied to a single point (no bound-box volume) just moves the view rather then zooming in.

for sintels face view selected didnt work well for eg: selecting a face at the mouth and zooming in.

11 years agopatch [#20910] Support for exporting UV layouts to EPS files
Campbell Barton [Fri, 5 Feb 2010 15:20:12 +0000 (15:20 +0000)]
patch [#20910] Support for exporting UV layouts to EPS files
also improved this so visible UVs are exported unless 'All UVs' is enabled, taking into account local-view and mesh face selection.

11 years agoactive face was incorrectly set on entering editmode.
Campbell Barton [Fri, 5 Feb 2010 15:07:44 +0000 (15:07 +0000)]
active face was incorrectly set on entering editmode.

11 years agoadd menus for vertex group and shape key panels, functionality wasnt communicated...
Campbell Barton [Fri, 5 Feb 2010 14:29:05 +0000 (14:29 +0000)]
add menus for vertex group and shape key panels, functionality wasnt communicated well with icons and getting cluttered.
also made 'transfer shape' script copy into the active object to match 'join as shape', which was quite confusing before.

11 years agoVBO's face index was incorrect, didnt see this break anything but was giving the...
Campbell Barton [Fri, 5 Feb 2010 13:40:43 +0000 (13:40 +0000)]
VBO's face index was incorrect, didnt see this break anything but was giving the triangulated index (always wrong for quads).

11 years ago[#20462] Weight painting subsurf mesh doesn't work with VBO
Campbell Barton [Fri, 5 Feb 2010 13:38:41 +0000 (13:38 +0000)]
[#20462] Weight painting subsurf mesh doesn't work with VBO
- backbuf colors were ignored with VBO's, disable since to make this work with VBO's it would need to re-bind a color array, then restore the previous one after.

11 years agoBugfix for "Show Only Selected" option and Bones (in Animation Editors):
Joshua Leung [Fri, 5 Feb 2010 11:52:51 +0000 (11:52 +0000)]
Bugfix for "Show Only Selected" option and Bones (in Animation Editors):

If you have some bones selected, and then hide their layer, they would stay selected + visible even when you make another selection. Now, they are hidden and are no longer visible when they aren't on visible layers.

Currently, this is only done if the channels are being filtered by visibility, but this could easily be changed to do without this check. Will see how this goes after some production testing. :)

11 years agoArmature Drawing - Active Bone:
Joshua Leung [Fri, 5 Feb 2010 11:39:58 +0000 (11:39 +0000)]
Armature Drawing - Active Bone:

Active bones are now only highlighted if they are also selected. This reduces confusion over when something will get moved/edited.

11 years agobugfix for proxying linked objects & action constraints, reference to linked actions...
Campbell Barton [Fri, 5 Feb 2010 11:32:27 +0000 (11:32 +0000)]
bugfix for proxying linked objects & action constraints, reference to linked actions were being lost.

11 years agobugfix [#20936] Making lasso-selection of verts in weightpaint-mode "misses target"
Campbell Barton [Fri, 5 Feb 2010 10:17:43 +0000 (10:17 +0000)]
bugfix [#20936] Making lasso-selection of verts in weightpaint-mode "misses target"
xray objects can overwrite the view's obmat.

11 years agoFly Mode Bugfix: Animation recording works again
Joshua Leung [Fri, 5 Feb 2010 08:14:33 +0000 (08:14 +0000)]
Fly Mode Bugfix: Animation recording works again

11 years agoBugfix #20975: Deleting a constraint causes segfault
Joshua Leung [Fri, 5 Feb 2010 06:05:24 +0000 (06:05 +0000)]
Bugfix #20975: Deleting a constraint causes segfault

Missing null checks in API functions.

11 years agoBGE: Sound Actuator API
Dalai Felinto [Fri, 5 Feb 2010 00:51:32 +0000 (00:51 +0000)]
BGE: Sound Actuator API
act.time can set the sound position (float in seconds)
act.is3D RO gives you the dimension of the audio
act.minGain3D, maxGain3D ... set the 3D parameters of the sound

** PyDoc to be done. Jörg Müller (NeXyon) do you want to document them? The file is here:

+ adding a missing \n to KX_Scene.cpp. (kind of typo)

11 years agoBGE fix: KX_Lamp using strcmp wrongly + typo in rna_define
Dalai Felinto [Thu, 4 Feb 2010 23:51:41 +0000 (23:51 +0000)]
BGE fix: KX_Lamp using strcmp wrongly + typo in rna_define

11 years agofixing blenderplay compiling
Tom Musgrove [Thu, 4 Feb 2010 23:03:08 +0000 (23:03 +0000)]
fixing blenderplay compiling