blender.git
10 years agopart 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)
Joseph Eagar [Mon, 19 Jul 2010 04:44:37 +0000 (04:44 +0000)]
part 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)

10 years agoforgot these
Joseph Eagar [Thu, 15 Jul 2010 01:43:09 +0000 (01:43 +0000)]
forgot these

10 years ago[note: do not test quite yet]
Joseph Eagar [Thu, 15 Jul 2010 00:55:31 +0000 (00:55 +0000)]
[note: do not test quite yet]

Phase 1 of restructuring done.  There are now two
distinct subclass systems within the bmesh API;
one is compile-time, and forms the backend of what will
eventually be a "lite" bmesh API for modifiers (the
ones that use bmesh are simply too slow right now).
The other is dynamic, and will be used to implement
multires reprojection.

The idea was to solve as many serious problems with
memory, speed, etc, at once as possible and set up others
to be solved more easily later.

I've also added holes into the data structure, but not
the api; I don't plan to finish implementing that until
after bmesh gets into trunk.  I simply wanted to lessen
how much code I'll have to rewrite, since I was doing a
fairly major restructuring anyway.

In addition, I've added iteration support to mempool, to
avoid having to store linked list pointers (though this
has caveats).

Next step: merge in trunk changes. . .oh, what fun :P

10 years agouse dict comprehension where possible
Campbell Barton [Thu, 15 Jul 2010 00:52:26 +0000 (00:52 +0000)]
use dict comprehension where possible

10 years agoLogic UI: Changing Controllers names to follow Sensors and actuators (back to have...
Nathan Letwory [Wed, 14 Jul 2010 23:51:21 +0000 (23:51 +0000)]
Logic UI: Changing Controllers names to follow Sensors and actuators (back to have only the first latter capitalized) + change the controller state only when in expanded mode (show the number otherwise).

Cosmetic commit, no structural/big code changes (patch by dfelinto).

10 years ago* Use same BLI_exist() on all platforms.
Nathan Letwory [Wed, 14 Jul 2010 23:39:23 +0000 (23:39 +0000)]
* Use same BLI_exist() on all platforms.
* remove extra sys/types.h include.

10 years agoS_ISDIR and S_ISREG were checking completely wrong for directory and regular file...
Nathan Letwory [Wed, 14 Jul 2010 22:16:56 +0000 (22:16 +0000)]
S_ISDIR and S_ISREG were checking completely wrong for directory and regular file bits.

10 years agowip commit; DO NOT USE. almost done with phase 1 of this restructuring, basically...
Joseph Eagar [Wed, 14 Jul 2010 22:06:10 +0000 (22:06 +0000)]
wip commit; DO NOT USE.  almost done with phase 1 of this restructuring, basically just some things that needed to be done before trunk (and some things that needed to be started, but can be finished much later).

10 years agoTo be actually useful, also report the filename when write operation fails.
Nathan Letwory [Wed, 14 Jul 2010 20:52:23 +0000 (20:52 +0000)]
To be actually useful, also report the filename when write operation fails.

10 years agopatch from Goran Milovanovic for the BGE python api.
Campbell Barton [Wed, 14 Jul 2010 20:52:04 +0000 (20:52 +0000)]
patch from Goran Milovanovic for the BGE python api.
 camera.ortho_scale (use when in ortho mode only)

(own previous commit incorrectly removed thumb metadata from new imbuf)

10 years ago- change blend thumbnail loading function not to use goto's
Campbell Barton [Wed, 14 Jul 2010 20:31:11 +0000 (20:31 +0000)]
- change blend thumbnail loading function not to use goto's
- fix for some warnings

10 years agoCMake patch from Ralf Hölzemer (cheleb)
Campbell Barton [Wed, 14 Jul 2010 20:26:46 +0000 (20:26 +0000)]
CMake patch from Ralf Hölzemer (cheleb)
[#22849] Fix cmake install target on linux
--- from the tracker ---
This patch fixes the install target for the linux platform. Since the new configuration path changes are in effect, files have to be installed in the correct places instead of just copying the local installation to $PREFIX/share/blender.

It also provides a new macro to determine the correct blender version values.

Changes in this patch include:

- the .desktop menu file is installed in $PREFIX/share/applications and points to the svg icon instead of a png one, which is also installed in $PREFIX/share/pixmaps
- docs are installed in $PREFIX/share/doc/blender
- scripts are installed in in $PREFIX/share/blender/x.xx/
- locales are installed in in $PREFIX/share/blender/x.xx/datafiles
- a new cmake macro determines and sets the correct values for BLENDER_VERSION_MAJOR, BLENDER_VERSION_MINOR, BLENDER_SUBVERSION, BLENDER_VERSION, BLENDER_MINVERSION_MAJOR, BLENDER_MINVERSION_MINOR, BLENDER_MINSUBVERSION and BLENDER_MINVERSION by parsing source/blender/blenkernel/BKE_blender.h and calculating major/minor values. This replaces the hardcoded value in the top CMakeLists file and is used by all platforms.

10 years agomistake in recent commit, set all axis values.
Campbell Barton [Wed, 14 Jul 2010 20:19:53 +0000 (20:19 +0000)]
mistake in recent commit, set all axis values.

10 years ago* new settings for brushes in do_versions had wrong subversionfile
Jason Wilkins [Wed, 14 Jul 2010 20:16:04 +0000 (20:16 +0000)]
* new settings for brushes in do_versions had wrong subversionfile

10 years ago* Accidentally bumped file subversion after sculpt merge. Perhaps this should be...
Jason Wilkins [Wed, 14 Jul 2010 20:08:30 +0000 (20:08 +0000)]
* Accidentally bumped file subversion after sculpt merge.  Perhaps this should be done, but not without permission.

My comment even said not to merge it :)

10 years ago* removed unneeded autosmooth_overlap, forgot to remove before merge
Jason Wilkins [Wed, 14 Jul 2010 20:04:02 +0000 (20:04 +0000)]
* removed unneeded autosmooth_overlap, forgot to remove before merge
* replaced omp critical sections, code either crashes or does not function correctly without them

10 years agopartial fix [#22846] GCC 4.4.1 support in Windows
Campbell Barton [Wed, 14 Jul 2010 18:22:39 +0000 (18:22 +0000)]
partial fix [#22846] GCC 4.4.1 support in Windows

Still getting error:
 Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized

10 years agoScons/darwin (OSX): blender.app package is now created correctly in the install folder
Damien Plisson [Wed, 14 Jul 2010 18:19:34 +0000 (18:19 +0000)]
Scons/darwin (OSX): blender.app package is now created correctly in the install folder

10 years agoChange to text3d: When back or front is enabled, the bevel rim on the other side...
Campbell Barton [Wed, 14 Jul 2010 17:47:58 +0000 (17:47 +0000)]
Change to text3d: When back or front is enabled, the bevel rim on the other side is not created anymore, just as the back/front filling faces are not created when disabled.
when both are off the behavior is unchanged.

This is needed when rendering alpha text so its possible to have a single layer of faces but use the bevel option to make text thicker.
adding a rim on the back when back is disabled also doesnt make much sense IMHO.

minor python edits too.

10 years agoSVN maintenance.
Guillermo S. Romero [Wed, 14 Jul 2010 17:27:56 +0000 (17:27 +0000)]
SVN maintenance.

10 years agoMake SConstruct look in build_files/scons/tools and import from there, so no more...
Nathan Letwory [Wed, 14 Jul 2010 16:38:09 +0000 (16:38 +0000)]
Make SConstruct look in build_files/scons/tools and import from there, so no more 'import tools.Blender'.
This fixes problem after change to this new location, but with .pyc files still lingering in old tools/
directory that still got imported due to syspath form.

10 years agofix for autocomp., was raising an error when autocompleating functions defined in...
Campbell Barton [Wed, 14 Jul 2010 14:56:33 +0000 (14:56 +0000)]
fix for autocomp., was raising an error when autocompleating functions defined in the console because their file wasnt found (which is correct in this case).

10 years agoFix compile error after merge, gpu_buffers.h -> GPU_buffers.h.
Brecht Van Lommel [Wed, 14 Jul 2010 14:31:27 +0000 (14:31 +0000)]
Fix compile error after merge, gpu_buffers.h -> GPU_buffers.h.

10 years agoMerge GSOC Sculpt Branch: 28499-30319
Jason Wilkins [Wed, 14 Jul 2010 14:11:03 +0000 (14:11 +0000)]
Merge GSOC Sculpt Branch: 28499-30319
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins
See log of that branch for details.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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)

10 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.

10 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.

10 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.

10 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.

10 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.

10 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)

10 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.

10 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).

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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) )

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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/

10 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.

10 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'

10 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'

10 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)

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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 ;)

10 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).

10 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.

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

10 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

10 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.

10 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.

10 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.

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

10 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....

10 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).

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

10 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.

10 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).

10 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

10 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