blender.git
9 years agosvn merge -r 30262:30322 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Joerg Mueller [Wed, 14 Jul 2010 12:40:46 +0000 (12:40 +0000)]
svn merge -r 30262:30322 https://svn.blender.org/svnroot/bf-blender/trunk/blender

9 years agoPython API:
Joerg Mueller [Wed, 14 Jul 2010 12:35:55 +0000 (12:35 +0000)]
Python API:
* PEP8 fixes for aud.
* Correction of doc strings.

9 years agobugfix [#22847] 18+ char Name in Edit Strip causes errors when duplicating strips
Campbell Barton [Wed, 14 Jul 2010 12:16:23 +0000 (12:16 +0000)]
bugfix [#22847] 18+ char Name in Edit Strip causes errors when duplicating strips

9 years agobugfix [#22843] Cannot export to folder with ".blend" on the end.
Campbell Barton [Wed, 14 Jul 2010 11:58:19 +0000 (11:58 +0000)]
bugfix [#22843] Cannot export to folder with ".blend" on the end.

9 years agoDopeSheet: Commented out menu entry for 'Grease Pencil' mode for now, since I don...
Joshua Leung [Wed, 14 Jul 2010 11:07:30 +0000 (11:07 +0000)]
DopeSheet: Commented out menu entry for 'Grease Pencil' mode for now, since I don't have time to restore this now (i.e. in time for 2.53). It will come back some day, but just probably not for another few months.

9 years agoBugfix #22792: Blender crashes after inserting keyframe pressing "I" key
Joshua Leung [Wed, 14 Jul 2010 11:03:07 +0000 (11:03 +0000)]
Bugfix #22792: Blender crashes after inserting keyframe pressing "I" key

Insert Keyframe function was not checking that an ID-block was given before trying to resolve the RNA-path using it.

9 years agoFix a few compile warnings and rename gpu_buffers.h to GPU_buffers.h
Brecht Van Lommel [Wed, 14 Jul 2010 10:46:12 +0000 (10:46 +0000)]
Fix a few compile warnings and rename gpu_buffers.h to GPU_buffers.h
for consistency.

9 years agoFix for #22818: blender doesn't find a systemwide installed python.
Brecht Van Lommel [Wed, 14 Jul 2010 10:44:34 +0000 (10:44 +0000)]
Fix for #22818: blender doesn't find a systemwide installed python.

What happens is that blender looks for a directory "python" in the same
place as the executable for local installations, but that also means when
you have /usr/bin/blender it will look for /usr/bin/python, which is an
executable. Now it checks if it is actually a directory and not a file.

9 years agoFix #22816: crash in depsgraph loading some 2.49 files, tagging objects for
Brecht Van Lommel [Wed, 14 Jul 2010 09:46:26 +0000 (09:46 +0000)]
Fix #22816: crash in depsgraph loading some 2.49 files, tagging objects for
update on load should be done later because it's not known yet which scene
is used with which layers visible before the windows are created.

9 years agoselect parent/child now works for multiple selections ([/] keys)
Campbell Barton [Wed, 14 Jul 2010 09:40:26 +0000 (09:40 +0000)]
select parent/child now works for multiple selections ([/] keys)

9 years agoRemoved stopDSP, relict from FMOD.
Joerg Mueller [Wed, 14 Jul 2010 09:01:31 +0000 (09:01 +0000)]
Removed stopDSP, relict from FMOD.

9 years agoMerging revision 30301:30302 from my GSoC branch to trunk, log:
Joerg Mueller [Wed, 14 Jul 2010 08:55:08 +0000 (08:55 +0000)]
Merging revision 30301:30302 from my GSoC branch to trunk, log:
Fixed error in 2.4x sound conversion.

9 years agoFixed error in 2.4x sound conversion.
Joerg Mueller [Wed, 14 Jul 2010 08:52:06 +0000 (08:52 +0000)]
Fixed error in 2.4x sound conversion.

9 years ago[#22830] Hex colour number (COLOUR BALANCE) is out the range in video strip
Campbell Barton [Wed, 14 Jul 2010 08:39:59 +0000 (08:39 +0000)]
[#22830] Hex colour number (COLOUR BALANCE) is out the range in video strip
- use FTOCHAR macro which clamps values above 1.0 (rather then wrapping)
- also fixes a problem rounding down where white would display as FEFEFE rather then FFFFFF

the report also mentions how editing colors above 255 is broken but think this isnt worth trying to support.

9 years ago[#22782] Solidify Thickness negative and positive values are the same result
Campbell Barton [Wed, 14 Jul 2010 08:24:24 +0000 (08:24 +0000)]
[#22782] Solidify Thickness negative and positive values are the same result
more a communication problem but Ed Britton raises a valid point that often you want the original faces so changing the default offset to -1.0.

9 years agobugfix [#22840] Folders with ".blend" on the end are processed like .blend files
Campbell Barton [Wed, 14 Jul 2010 08:00:03 +0000 (08:00 +0000)]
bugfix [#22840] Folders with ".blend" on the end are processed like .blend files
elubie, this was added r27523 but cant see why it would be useful to have.

9 years agopointcache support for relative external paths with the useual // prefix as well...
Campbell Barton [Wed, 14 Jul 2010 07:47:03 +0000 (07:47 +0000)]
pointcache support for relative external paths with the useual // prefix as well as library path option.

9 years agoPatch #22807: Add select/deselect buttons to armature bone group panel
Joshua Leung [Wed, 14 Jul 2010 03:19:19 +0000 (03:19 +0000)]
Patch #22807: Add select/deselect buttons to armature bone group panel

Patch submitted by Torsten Rupp (rupp)

9 years ago- text3d was missing menu items for toggling bold/underline/italic/smallcaps.
Campbell Barton [Tue, 13 Jul 2010 23:51:21 +0000 (23:51 +0000)]
- text3d was missing menu items for toggling bold/underline/italic/smallcaps.
- made smallcaps use a temp flag so caps can still have the smallcaps flag.
- utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places.
- removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too.
- fix for some warnings.

9 years ago- make duplis real wasnt redrawing
Campbell Barton [Tue, 13 Jul 2010 22:21:59 +0000 (22:21 +0000)]
- make duplis real wasnt redrawing
- small caps option for titles (doing manually is quite painful to watch).

9 years agofix for rendering sequencer float buffers, need to convert into linear color space...
Campbell Barton [Tue, 13 Jul 2010 19:52:04 +0000 (19:52 +0000)]
fix for rendering sequencer float buffers, need to convert into linear color space for the render buffer.

9 years agodont show active spline for text
Campbell Barton [Tue, 13 Jul 2010 19:24:35 +0000 (19:24 +0000)]
dont show active spline for text

9 years agoRNA cleanup: review of booleans done.
Brecht Van Lommel [Tue, 13 Jul 2010 17:11:50 +0000 (17:11 +0000)]
RNA cleanup: review of booleans done.

9 years agogroup refcount checking was inconsistent.
Campbell Barton [Tue, 13 Jul 2010 16:53:17 +0000 (16:53 +0000)]
group refcount checking was inconsistent.
- if a group has one or more objects in it, it gets a refcount of 1 on load (unchanged from before)
- dupli-groups, and materials no longer add/remove a reference.
- now groups are only freed when they contain no objects or when manually unlinked.

9 years ago- fix for eternal loop with metaballs in set scenes.
Campbell Barton [Tue, 13 Jul 2010 16:06:51 +0000 (16:06 +0000)]
- fix for eternal loop with metaballs in set scenes.
- next_object() now loops through all set scenes, not just the first one.
- removed F_SET, rather them having a mode for looping on a set, just use the set when the first scene ends.
- metaballs can now glob between scenes however there are still some depsgraph issues that existed before.

9 years agoFix [#22833] missing lock icon
Diego Borghetti [Tue, 13 Jul 2010 15:20:35 +0000 (15:20 +0000)]
Fix [#22833] missing lock icon

Was missing the icon in makesrna definition.

9 years agoMerging revision 30264:30270 from my GSoC branch to trunk, logs:
Joerg Mueller [Tue, 13 Jul 2010 15:19:15 +0000 (15:19 +0000)]
Merging revision 30264:30270 from my GSoC branch to trunk, logs:

Bugfix for [#22284] Blender cursor gets stuck in the timeline when scrubbing (jack transport).

Dirty hack fix for:
* [#22366] Cutting audio and meta strips with audio does not actually cut audio
* [#22639] Audio not clipped to meta bounds

Also fixed a seemingly symptomless bug in sequencer_edit.c

9 years agoDirty hack fix for:
Joerg Mueller [Tue, 13 Jul 2010 15:14:29 +0000 (15:14 +0000)]
Dirty hack fix for:
* [#22366] Cutting audio and meta strips with audio does not actually cut audio
* [#22639] Audio not clipped to meta bounds

Also fixed a seemingly symptomless bug in sequencer_edit.c

9 years agoFix #22829: build error in openjpeg with SSE using MSVC, already fixed
Brecht Van Lommel [Tue, 13 Jul 2010 13:59:34 +0000 (13:59 +0000)]
Fix #22829: build error in openjpeg with SSE using MSVC, already fixed
in openjpeg svn but not in any release, so adding just that fix for now.

9 years agoFix #20461: deleting VBO's from threads used for rendering or baking would
Brecht Van Lommel [Tue, 13 Jul 2010 13:31:43 +0000 (13:31 +0000)]
Fix #20461: deleting VBO's from threads used for rendering or baking would
crash, as OpenGL can't be called from these. Now deleting VBO's is delayed
until the next redraw in the main thread.

9 years agoBugfix for [#22284] Blender cursor gets stuck in the timeline when scrubbing (jack...
Joerg Mueller [Tue, 13 Jul 2010 11:50:04 +0000 (11:50 +0000)]
Bugfix for [#22284] Blender cursor gets stuck in the timeline when scrubbing (jack transport).

9 years agoMerging revision 30126:30261 from trunk.
Joerg Mueller [Tue, 13 Jul 2010 11:14:49 +0000 (11:14 +0000)]
Merging revision 30126:30261 from trunk.

9 years agoLogic UI: HEADERS changes:
Dalai Felinto [Tue, 13 Jul 2010 11:06:19 +0000 (11:06 +0000)]
Logic UI: HEADERS changes:
 adding option to change state + showing the name, type as label when not-expanded + renaming rna prop "states" (from state_number) + small UI changes + capitalizing Controller Type names (as we had in 2.49). Why? I'm not sure. Therefore let's stick to 2.49 way of doing it for a bit longer.

* It would be really nice to have a drag&drop system for logic (instead of the move up/down button)
* The controller header is so messy :/ definitively should find a better way to handle that (for one the "change state" operator doesn't need this up/down arrow. I'm (temporarly) using the old code for that, so this will wait for when we use proper rna ui here.
* I wonder if it's possible to get the name of the logic type straight from the rna prop (instead of using sensor_name(sens->type) )

9 years agoFix #22804: own mistake, remove doubles shouldn't get cancelled if no
Brecht Van Lommel [Tue, 13 Jul 2010 10:45:40 +0000 (10:45 +0000)]
Fix #22804: own mistake, remove doubles shouldn't get cancelled if no
vertices are merged, but finish so the threshold can be tweaked.

9 years ago2.5: startup.blend changes, these should all be consistent with new datablocks,
Brecht Van Lommel [Tue, 13 Jul 2010 10:29:41 +0000 (10:29 +0000)]
2.5: startup.blend changes, these should all be consistent with new datablocks,
mostly the startup.blend was trailing behind. Also renamed B.blend.c.

* Lamp shadow buffer was Classical instead of Classical Halfway.
* Point Lamp was named "Spot".
* Render resolution is 50% 1080p.
* Scene and material bake/use tangent space normal maps.
* Remove empty text datablock.
* Enable auto ray bias on material.
* Change default material diffuse color to match new material.
* Mist start/depth from 0/0 to 5/25 so it does something.
* AO uses Add instead of Multiply.
* Change world colors for new world same as startup.blend.
* Default cube rotation was 0,-0,0 now 0,0,0.
* Enable relative/filter/hide files in user preferences.

9 years agofix for crash copying in the sequencer.
Campbell Barton [Tue, 13 Jul 2010 09:31:28 +0000 (09:31 +0000)]
fix for crash copying in the sequencer.

9 years agoLogic Editor UI: Make the Active object always the first one of the list, and have...
Dalai Felinto [Tue, 13 Jul 2010 09:29:02 +0000 (09:29 +0000)]
Logic Editor UI: Make the Active object always the first one of the list, and have the ADD button only for it.

The reason for that is because I can't find a way to change the active object for a particular context (it may be even a bug in the rna/UI base code). So for the time being (a.k.a. for Beta) this will make it.

I actually like this solution, maybe the bug is for the good afterall.

9 years ago- saturation option for sequencer strips, runs before multiply and color balance.
Campbell Barton [Tue, 13 Jul 2010 09:28:01 +0000 (09:28 +0000)]
- saturation option for sequencer strips, runs before multiply and color balance.
- multiply of 0.0 wasnt being applied.

9 years agosequencer ui tweaks & display frame position of the playhead in a strip, helpful...
Campbell Barton [Tue, 13 Jul 2010 08:20:34 +0000 (08:20 +0000)]
sequencer ui tweaks & display frame position of the playhead in a strip, helpful for working out the exact frame of an avi <> exr

9 years agomove nan mk files from source/ into build_files/make/
Campbell Barton [Tue, 13 Jul 2010 00:57:19 +0000 (00:57 +0000)]
move nan mk files from source/ into build_files/make/

9 years ago- more misc rna rename updates
Campbell Barton [Mon, 12 Jul 2010 23:43:14 +0000 (23:43 +0000)]
- more misc rna rename updates
- edited the rna_cleaner.py script to use repr() on descriptions so quotes dont result in invalid generated python scripts.

9 years ago- minimum -> min, maximum -> max
Campbell Barton [Mon, 12 Jul 2010 22:49:42 +0000 (22:49 +0000)]
- minimum -> min, maximum -> max
- have min/max as suffix
- replace unneeded use of common suffix 'ing' and 'ness' where possible
- replace term 'brightness' for 'intensity'

9 years agorna api cleanup...
Campbell Barton [Mon, 12 Jul 2010 22:24:53 +0000 (22:24 +0000)]
rna api cleanup...
- remove 'ing' suffix
- use 'blend_type' rather then 'blend_mode' or 'blending'

9 years agounmodified property names ready for editing (all props excluding bools)
Campbell Barton [Mon, 12 Jul 2010 22:11:44 +0000 (22:11 +0000)]
unmodified property names ready for editing (all props excluding bools)

9 years agofix for crash when psys_get_dupli_texture() was called on a subsurf mesh with simplif...
Campbell Barton [Mon, 12 Jul 2010 20:35:10 +0000 (20:35 +0000)]
fix for crash when psys_get_dupli_texture() was called on a subsurf mesh with simplify enabled.

9 years agoRNA cleanup: first pass over booleans, still 380 marked as TODO.
Brecht Van Lommel [Mon, 12 Jul 2010 20:17:23 +0000 (20:17 +0000)]
RNA cleanup: first pass over booleans, still 380 marked as TODO.

9 years agore-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config
Campbell Barton [Mon, 12 Jul 2010 18:26:35 +0000 (18:26 +0000)]
re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config

9 years ago- presets were not being written with 'import bpy' at the start.
Campbell Barton [Mon, 12 Jul 2010 18:15:48 +0000 (18:15 +0000)]
- presets were not being written with 'import bpy' at the start.
- attribute save_keyconfig defaulted to True when unset, not sure why, but .
- use repr() rather then str() so strings are quoted without manually checking. also converts less common chars properly \m \" etc.

9 years agotweak to color balance after talking with colin and testing other software, lift...
Campbell Barton [Mon, 12 Jul 2010 16:20:51 +0000 (16:20 +0000)]
tweak to color balance after talking with colin and testing other software, lift for values above 1.0 was too intense.
 Use: 1 + ((lift-1) * (lift-1)) so 2.0 is still a full lift but 1.x isnt so strong.

Changed color picker to give more precission, we were having to edit the buttons to see what the numbers were.

9 years agosequencer float conversion was only using rgb -> float conversion inconsistantly...
Campbell Barton [Mon, 12 Jul 2010 14:57:24 +0000 (14:57 +0000)]
sequencer float conversion was only using rgb -> float conversion inconsistantly, some places used colorspace conversion, some not.

Added IMB_float_from_rect_simple() for the sequencer to use.

9 years agosupport for colorspace conversion when saving srgb float buffers (from the sequencer...
Campbell Barton [Mon, 12 Jul 2010 14:54:05 +0000 (14:54 +0000)]
support for colorspace conversion when saving srgb float buffers (from the sequencer) as openexr.

9 years agodont add a rect buffer for EXR's, the sequencer discards them immediately and functio...
Campbell Barton [Mon, 12 Jul 2010 13:35:00 +0000 (13:35 +0000)]
dont add a rect buffer for EXR's, the sequencer discards them immediately and functions that need a rect should create one on the fly.

this shows a problem with Imbuf where there is no way to ask to only load the native type byte/float.

9 years agoBGE bug #22760: VideoTexture not available when Blender is compiled without FFMPEG...
Benoit Bolsee [Mon, 12 Jul 2010 13:25:57 +0000 (13:25 +0000)]
BGE bug #22760: VideoTexture not available when Blender is compiled without FFMPEG. VideoTexture can be used without FFMPEG, no need to disable it.

9 years agoerror in last commit
Campbell Barton [Mon, 12 Jul 2010 12:07:32 +0000 (12:07 +0000)]
error in last commit

9 years agoUpdate MSVC project files
Benoit Bolsee [Mon, 12 Jul 2010 11:37:15 +0000 (11:37 +0000)]
Update MSVC project files

9 years ago[#22824] OpenEXR Save from byte buffer bug
Campbell Barton [Mon, 12 Jul 2010 11:28:16 +0000 (11:28 +0000)]
[#22824] OpenEXR Save from byte buffer bug
- Saving a typical byte buffer as an exr wasnt converting into linear colorspace.
- Remove checks for 1 and 2 channel images, these will write as RGB anyway and are very rare.
- 3 Channel images were having the alpha channel written from the red color channel, write 1.0 instead.

9 years ago2.5: remove user preferences to always snap for translate/rotate/scale,
Brecht Van Lommel [Mon, 12 Jul 2010 11:17:42 +0000 (11:17 +0000)]
2.5: remove user preferences to always snap for translate/rotate/scale,
with new behavior of the snap setting in the 3d view these are no longer
necessary.

9 years ago2.5: remove armature "B-Bone Rest" option, this was only added to keep
Brecht Van Lommel [Mon, 12 Jul 2010 11:04:51 +0000 (11:04 +0000)]
2.5: remove armature "B-Bone Rest" option, this was only added to keep
broken behavior for backwards compatibility, it's been there long enough
now to be removed.

9 years ago2.5: rename "Operator Cheat Sheet (new textblock)" to "Operator Cheat Sheet",
Brecht Van Lommel [Mon, 12 Jul 2010 11:02:01 +0000 (11:02 +0000)]
2.5: rename "Operator Cheat Sheet (new textblock)" to "Operator Cheat Sheet",
this is already reported after running the operator.

9 years ago2.5: remove pin floating panels settings, there are no floating panels
Brecht Van Lommel [Mon, 12 Jul 2010 10:55:05 +0000 (10:55 +0000)]
2.5: remove pin floating panels settings, there are no floating panels
at the moment so it shouldn't be there.

9 years ago2.5: disable toolshelf, it doesn't save its state when closing Blender and
Brecht Van Lommel [Mon, 12 Jul 2010 10:47:41 +0000 (10:47 +0000)]
2.5: disable toolshelf, it doesn't save its state when closing Blender and
will not be finished before release, so no point in having it there yet.

9 years ago[#22817] Beta patch for cmake-MinGW compilation no 2
Campbell Barton [Mon, 12 Jul 2010 09:55:41 +0000 (09:55 +0000)]
[#22817] Beta patch for cmake-MinGW compilation no 2
 ommit FORCE CFlags, else users cant change their cflags.

9 years agoset metaball limit for not drawing small scale motherballs to a 1/10th of what it...
Campbell Barton [Mon, 12 Jul 2010 08:43:49 +0000 (08:43 +0000)]
set metaball limit for not drawing small scale motherballs to a 1/10th of what it was. durian blood splats were reaching this threshold.
also fix for memory leaks when the motherball is too small.

9 years ago== installation paths ==
Andrea Weikert [Sun, 11 Jul 2010 16:28:28 +0000 (16:28 +0000)]
== installation paths ==
separate define for the user and system blender directory name,
on Linux the directories should be named /usr/share/blender and ~/.blender.

Platform maintainers should still check if that's ok.

9 years agobugfix [#22800] Mathutil bug with vector
Campbell Barton [Sun, 11 Jul 2010 16:12:32 +0000 (16:12 +0000)]
bugfix [#22800] Mathutil bug with vector
example wasnt updated.

9 years agoinstallation paths:
Andrea Weikert [Sun, 11 Jul 2010 15:30:32 +0000 (15:30 +0000)]
installation paths:
small fix: removed extra slash in system path

9 years ago- sequencer wasnt drawing handles, the deprecated v2d was being used which gave a...
Campbell Barton [Sun, 11 Jul 2010 12:39:50 +0000 (12:39 +0000)]
- sequencer wasnt drawing handles, the deprecated v2d was being used which gave a pixely of -nan.
- removed bf_editors from cmake since there now split up.

9 years agofixed missing 'filepath' parameter in SOUND_OT_open.
Andrea Weikert [Sun, 11 Jul 2010 09:50:23 +0000 (09:50 +0000)]
fixed missing 'filepath' parameter in SOUND_OT_open.
Patch provided by Mitchel Stokes (moguri)
filepath was changed from not being added by default (why?), so now has to be added with flag in each operator.
I hope not many others were missed ;)

9 years agoFixing a crash created by an earlier GLSL lighting fix for dynamic loading. When...
Mitchell Stokes [Sun, 11 Jul 2010 09:31:19 +0000 (09:31 +0000)]
Fixing a crash created by an earlier GLSL lighting fix for dynamic loading. When implementing the fix I forgot to check for materials that did not have a blender shader (ie, non GLSL materials).

9 years agoAdding COMPAT_ENGINE stuff to the particle panels so that they no longer show up...
Mitchell Stokes [Sun, 11 Jul 2010 08:48:21 +0000 (08:48 +0000)]
Adding COMPAT_ENGINE stuff to the particle panels so that they no longer show up when using the "Blender Game" render engine.

Also, "Maximize Gain" on the sound actuator was incorrectly labeled "Minimize Gain", so I fixed it.

9 years agoFix type mismatch.
Guillermo S. Romero [Sat, 10 Jul 2010 23:21:25 +0000 (23:21 +0000)]
Fix type mismatch.

9 years agoLogic Editor Python API: link/unlink logics through python
Dalai Felinto [Sat, 10 Jul 2010 21:15:10 +0000 (21:15 +0000)]
Logic Editor Python API: link/unlink logics through python
After initial talk with Matt (awhile ago) we realzed that rna_api would fit well for this instead of an operator.

The next step would be to move the current UI code to use the rna funcs instead.
Note: it takes the s/c/a as argument, not its name. (e.g. cont.link(actuator=act) )

Sample code to link all the logic bricks between each other:
ob = bpy.context.object
for cont in ob.game.controllers:
    for sens in ob.game.sensors:
        cont.link(sensor=sens)
    for act in ob.game.actuators:
        cont.link(actuator=act)

For a script to create bricks, link bricks, unlink bricks and remove them:
http://www.pasteall.org/14266

9 years agodrawing in the timeline could change bezier keys while rendering, disable.
Campbell Barton [Sat, 10 Jul 2010 21:09:38 +0000 (21:09 +0000)]
drawing in the timeline could change bezier keys while rendering, disable.

9 years ago[#22791] Can't change keyed strip attributes if two sequencer windows open
Campbell Barton [Sat, 10 Jul 2010 19:17:52 +0000 (19:17 +0000)]
[#22791] Can't change keyed strip attributes if two sequencer windows open
own recent commit for overlay sequencer view brokey keyframing in the sequencer.

for now prefetch and overlay views wont have correct fcurves applied.

9 years agoBugfix [#22811] Dupli-Instancing for particles broken.
Campbell Barton [Sat, 10 Jul 2010 18:11:01 +0000 (18:11 +0000)]
Bugfix [#22811] Dupli-Instancing for particles broken.
commit r29079 removed 2 lines that are needed for instancing particles.

9 years agopatch by manaphuun on IRC.
Campbell Barton [Sat, 10 Jul 2010 15:44:27 +0000 (15:44 +0000)]
patch by manaphuun on IRC.

9 years agoFix for [#22793] Flip normals Missingf form face specials....
Thomas Dinges [Sat, 10 Jul 2010 11:38:40 +0000 (11:38 +0000)]
Fix for [#22793] Flip normals Missingf form face specials....

9 years agoEnsure that local installations (also known as portable installations) are possible...
Nathan Letwory [Sat, 10 Jul 2010 11:09:26 +0000 (11:09 +0000)]
Ensure that local installations (also known as portable installations) are possible again.

For user config and data files, first check the 'local' location (where the executable is located), and only then the actual user locations (whatever the convention for the OSes; $HOME, %APPDATA%, etc).

9 years agoFix spelling.
Guillermo S. Romero [Fri, 9 Jul 2010 23:14:07 +0000 (23:14 +0000)]
Fix spelling.

9 years agoFix #22794: problem with rendering panorama in 2.4 created files.
Brecht Van Lommel [Fri, 9 Jul 2010 19:20:57 +0000 (19:20 +0000)]
Fix #22794: problem with rendering panorama in 2.4 created files.

9 years agoFix #22796: GLEW compile errors on FreeBSD (this time in the right branch).
Brecht Van Lommel [Fri, 9 Jul 2010 19:14:02 +0000 (19:14 +0000)]
Fix #22796: GLEW compile errors on FreeBSD (this time in the right branch).

9 years agoFixed bug [#22555] OSX/Cocoa: Suppress delayed mouse position changed event after...
Damien Plisson [Fri, 9 Jul 2010 18:54:44 +0000 (18:54 +0000)]
Fixed bug [#22555] OSX/Cocoa: Suppress delayed mouse position changed event after setting it

9 years agoallow sequencer image names to be editable
Campbell Barton [Fri, 9 Jul 2010 13:57:59 +0000 (13:57 +0000)]
allow sequencer image names to be editable

9 years agoAudaspace:
Joerg Mueller [Fri, 9 Jul 2010 12:35:40 +0000 (12:35 +0000)]
Audaspace:
* Renamed AUD_Handle to AUD_Channel in the C-API to prevent errors with the C++ version of AUD_Handle.
* Added Python API!!!

9 years ago== user preferences ==
Luca Bonavita [Fri, 9 Jul 2010 09:46:22 +0000 (09:46 +0000)]
== user preferences ==

- tooltips were showing numbers in the addons categories list

9 years agoAudaspace:
Joerg Mueller [Fri, 9 Jul 2010 08:56:25 +0000 (08:56 +0000)]
Audaspace:
* Comment fix for PingPongFactory
* Added 2 new factory types: Superpose and Double

9 years ago- Active bezier points could be drawn twice
Sergey Sharybin [Fri, 9 Jul 2010 07:53:06 +0000 (07:53 +0000)]
- Active bezier points could be drawn twice
- Unselected handles shouldn't have TH_LASTSEL_POINT color even if
  control point is active

9 years agoLogic Editor UI: move s/c/a operators and interface buttons
Dalai Felinto [Fri, 9 Jul 2010 00:14:46 +0000 (00:14 +0000)]
Logic Editor UI: move s/c/a operators and interface buttons
Tchatcharantcharan ...

Three new operators:
bpy.ops.logic.sensor_move
bpy.ops.logic.controller_move
bpy.ops.logic.actuator_move
direction is a parameter (UP,DOWN)

Moved some interface code to sca.c instead of logic_window.c. (and changed accordingly).
One note: as in 2.49, the move up/down button is only available in non-expanded mode. However instead of one button with two options we have 2 buttons (as we had originally in 2.50).

That also means the s/c/a header is getting more clunky. Design, thoughts, ideas are appreciated. For the time been functionality back is still the priority (mine at least ;)

9 years agofilebrowser
Andrea Weikert [Thu, 8 Jul 2010 22:07:34 +0000 (22:07 +0000)]
filebrowser
* filebrowser now should respect User Preference for using relative paths
* Also set remap_relative default to 'True' for saving .blend file
(With 'hide dot files' set and 'relative paths' set in the User Preferences this should now behave as in the suggestion made by brecht - in the future we could remove the user preference and just use the default.)

9 years agoNew option for Scale node.
Diego Borghetti [Thu, 8 Jul 2010 20:58:34 +0000 (20:58 +0000)]
New option for Scale node.

This is because problem reported by venomgfx on the irc.
If you have a render of 2k with a render size of 25% (and this
problem is for any resolution/size) and you try to use a image
of 1k in the compo, the first thing you do is put a scale node.

Here come the problem, if you set the option "Scene Size" in the
node scale, the buffer output is not the same size that the render.

This is because the "Scene size" work with the image size and
not the render size, so in this case is the 25% of 1k.. not
the 25% 2k.

So this new option "Render Size" scale the output buffer to the
render resolution, taking into account the render size (percentage) too.

9 years agoFix Texture node don't take care render size.
Diego Borghetti [Thu, 8 Jul 2010 19:29:41 +0000 (19:29 +0000)]
Fix Texture node don't take care render size.

The texture node was not taking into account the precentage of the
render when create the output buffer.

Reported by venomgfx at irc.

9 years agoFix for ipo conversion on file transition in the game engine.
Joerg Mueller [Thu, 8 Jul 2010 17:47:46 +0000 (17:47 +0000)]
Fix for ipo conversion on file transition in the game engine.

9 years agoMerging revision 29560:30125 from trunk.
Joerg Mueller [Thu, 8 Jul 2010 17:31:43 +0000 (17:31 +0000)]
Merging revision 29560:30125 from trunk.

9 years agofix for crash if image names are too long in adding image strips to the sequencer.
Campbell Barton [Thu, 8 Jul 2010 17:00:06 +0000 (17:00 +0000)]
fix for crash if image names are too long in adding image strips to the sequencer.

9 years agoadded imports to templates
Campbell Barton [Thu, 8 Jul 2010 16:24:24 +0000 (16:24 +0000)]
added imports to templates

9 years agoimport bpy needed for presets now
Campbell Barton [Thu, 8 Jul 2010 16:10:14 +0000 (16:10 +0000)]
import bpy needed for presets now

9 years agoFix: object_duplilist should be passed the original scene rather than
Brecht Van Lommel [Thu, 8 Jul 2010 15:07:35 +0000 (15:07 +0000)]
Fix: object_duplilist should be passed the original scene rather than
the set scene, otherwise can have wrong current frame and render settings,
in particular this give issues with particle object instancing.

9 years ago- duplicating a scene now duplicates all strips (not just selected ones)
Campbell Barton [Thu, 8 Jul 2010 14:30:43 +0000 (14:30 +0000)]
- duplicating a scene now duplicates all strips (not just selected ones)
- python change, dont import 'bpy' by default, initially I thaught this would make scripting easier but it ends up being annoying when you want to register a script or if you want to import it. (more trouble then its worth to save 1 line, also not very pythonic).

9 years agoShift+O to toggle overlay
Campbell Barton [Thu, 8 Jul 2010 14:01:48 +0000 (14:01 +0000)]
Shift+O to toggle overlay

9 years agoSequencer display overlay option, this can show a border area from another time to...
Campbell Barton [Thu, 8 Jul 2010 10:03:29 +0000 (10:03 +0000)]
Sequencer display overlay option, this can show a border area from another time to help compare for color grading.
- Okey sets the border in the display.
- Okey resets the frame offset in the sequencer timeline.
- ghost icon in the header can enable/disable.
- frame offset can be relative or absolute (lock icon)

Not very happy that this commit adds a call to BKE_animsys_evaluate_animdata(scene, ...) in do_build_seq_array_recursively()
without this the offset frames dont have fcurves applied.
Though we will need something like this for prefetch frames to work too.