blender.git
9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 21:39:47 +0000 (21:39 +0000)]
== installation paths ==
* fix for autosave location -> shouldn't use BLI_gethome anymore
* this frees BLI_gethome of having to emulate the local->user->system search path and can now be truly considered as 'home/default location for .blend files'
* removed setting the default G.sce from read_history, was out of context there.
* fix for creating user dir, leftover from previous commit.

jesterKing, please review -> if there are any issues I will fix or revert.

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 15 Jul 2010 20:30:31 +0000 (20:30 +0000)]
SVN maintenance.

9 years agoRather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could...
Campbell Barton [Thu, 15 Jul 2010 20:25:09 +0000 (20:25 +0000)]
Rather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could be added for scons/make too.

9 years agoUpdate MSVC9 project file
Benoit Bolsee [Thu, 15 Jul 2010 20:16:17 +0000 (20:16 +0000)]
Update MSVC9 project file

9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 20:02:53 +0000 (20:02 +0000)]
== installation paths ==
remove deprecated python BLI_gethome_folder calls

Patch by Brecht, thanks a lot

9 years ago- updated man page from --help output.
Campbell Barton [Thu, 15 Jul 2010 19:58:23 +0000 (19:58 +0000)]
- updated man page from --help output.
- cmake now installs the man page.
- added cmake_linux_install.sh, shell script which downloads and builds blender.

9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 19:42:36 +0000 (19:42 +0000)]
== installation paths ==
* fix case where environment variable was used without subfolder
* some small cleanup

9 years ago== rna cleanup ==
Luca Bonavita [Thu, 15 Jul 2010 18:34:25 +0000 (18:34 +0000)]
== rna cleanup ==

- after talking with brecht, changes keys prefixes with "is_pressed_alt" and so on if readonly and "pressed_alt" if not readonly
- updated the rna_cleaner.py with real prefixes and keywords so it's clear what it is being used

    kw_prefixes = [ 'active','apply','bl','exclude','has','invert','is','lock', \
                    'pressed','show','show_only','use','use_only','layers','states']
    kw = ['active','hide','invert','select','layers','mute','states','use','lock']

9 years agoRNA cleanup: some more boolean changes based on discussion with Luca.
Brecht Van Lommel [Thu, 15 Jul 2010 17:54:53 +0000 (17:54 +0000)]
RNA cleanup: some more boolean changes based on discussion with Luca.

9 years agofix for one of the problems with [#22846] GCC 4.4.1 support in Windows
Campbell Barton [Thu, 15 Jul 2010 17:36:00 +0000 (17:36 +0000)]
fix for one of the problems with [#22846] GCC 4.4.1 support in Windows

9 years agoApply first pass of edits to rna values from rna_booleans.txt.
Campbell Barton [Thu, 15 Jul 2010 16:56:04 +0000 (16:56 +0000)]
Apply first pass of edits to rna values from rna_booleans.txt.
These are not animated and are best not change names like this too late in the release.

ActionGroup.selected -> select:    boolean    Action Group is selected
BezierSplinePoint.hidden -> hide:    boolean    Visibility status
BezierSplinePoint.selected_control_point -> select_control_point:    boolean    Control point selection status
BezierSplinePoint.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
BezierSplinePoint.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
Bone.restrict_select -> hide_select:    boolean    Bone is able to be selected
Bone.selected -> select:    boolean
CurveMapPoint.selected -> select:    boolean    Selection state of the curve point
EditBone.restrict_select -> hide_select:    boolean    Bone is able to be selected
EditBone.selected -> select:    boolean
EditBone.selected_head -> select_head:    boolean
EditBone.selected_tail -> select_tail:    boolean
EditBone.locked -> lock:    boolean    Bone is not able to be transformed when in Edit Mode
EditBone.hidden -> hide:    boolean    Bone is not visible when in Edit Mode
NEGATE * FCurve.disabled -> enabled:    boolean    F-Curve could not be evaluated in past, so should be skipped when evaluating
FCurve.locked -> lock:    boolean    F-Curve's settings cannot be edited
FCurve.muted -> mute:    boolean    F-Curve is not evaluated
FCurve.selected -> select:    boolean    F-Curve is selected for editing
NEGATE * FCurve.visible -> hide:    boolean    F-Curve and its keyframes are shown in the Graph Editor graphs
FCurveSample.selected -> select:    boolean    Selection status
GPencilFrame.selected -> select:    boolean    Frame is selected for editing in the DopeSheet
GPencilLayer.locked -> lock:    boolean    Protect layer from further editing and/or frame changes
GPencilLayer.selected -> select:    boolean    Layer is selected for editing in the DopeSheet
Keyframe.selected -> select:    boolean    Control point selection status
Keyframe.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
Keyframe.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
MeshEdge.selected -> select:    boolean
MeshEdge.hidden -> hide:    boolean
MeshFace.hidden -> hide:    boolean
MeshFace.selected -> select:    boolean
MeshVertex.hidden -> hide:    boolean
MeshVertex.selected -> select:    boolean
MotionPathVert.selected -> select:    boolean    Path point is selected for editing
NlaStrip.selected -> select:    boolean    NLA Strip is selected
NlaTrack.locked -> lock:    boolean    NLA Track is locked
NlaTrack.muted -> mute:    boolean    NLA Track is not evaluated
NlaTrack.selected -> select:    boolean    NLA Track is selected
Object.restrict_render -> hide_render:    boolean    Restrict renderability
Object.restrict_select -> hide_select:    boolean    Restrict selection in the viewport
Object.restrict_view -> hide:    boolean    Restrict visibility in the viewport
Object.selected -> select:    boolean    Object selection state
ObjectBase.selected -> select:    boolean    Object base selection state
PoseBone.selected -> select:    boolean
Sequence.right_handle_selected -> select_right_handle:    boolean
Sequence.selected -> select:    boolean
SplinePoint.selected -> select_control_point:    boolean    Selection status
TimelineMarker.selected -> select:    boolean    Marker selection state
Sequence.left_handle_selected -> select_left_handle:    boolean
ActionGroup.locked -> lock:    boolean    Action Group is locked
Bone.hidden -> hide:    boolean    Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)
SplinePoint.hidden -> hide:    boolean    Visibility status
FModifier.muted -> mute:    boolean    F-Curve Modifier will not be evaluated

 note: rebaned uv_select to select_uv

9 years agorna name edits as discussed with brecht. restrict -> hide.
Campbell Barton [Thu, 15 Jul 2010 15:37:57 +0000 (15:37 +0000)]
rna name edits as discussed with brecht. restrict -> hide.

9 years agoUpdate --help message for new path environment variables.
Brecht Van Lommel [Thu, 15 Jul 2010 15:20:53 +0000 (15:20 +0000)]
Update --help message for new path environment variables.

9 years agoFix for use of path environment variables, was not appending subfolder.
Brecht Van Lommel [Thu, 15 Jul 2010 15:03:42 +0000 (15:03 +0000)]
Fix for use of path environment variables, was not appending subfolder.

9 years agoFix #22851: missing undo push for color picker, these only work if
Brecht Van Lommel [Thu, 15 Jul 2010 13:34:14 +0000 (13:34 +0000)]
Fix #22851: missing undo push for color picker, these only work if
there is a button label or tooltip.

9 years agoown recent commit which added support for writing srgb float buffers broke writing...
Campbell Barton [Thu, 15 Jul 2010 13:32:20 +0000 (13:32 +0000)]
own recent commit which added support for writing srgb float buffers broke writing char buffers as half EXR's.

9 years agochange some references to .B.blend, .Blog to new names
Campbell Barton [Thu, 15 Jul 2010 11:51:43 +0000 (11:51 +0000)]
change some references to .B.blend, .Blog to new names

9 years agoFix: rename to .blend1 as last before writing, after creating blend thumbnail.
Brecht Van Lommel [Thu, 15 Jul 2010 10:51:05 +0000 (10:51 +0000)]
Fix: rename to .blend1 as last before writing, after creating blend thumbnail.

9 years ago* smooth wasn't working with strengths below .5
Jason Wilkins [Thu, 15 Jul 2010 05:53:11 +0000 (05:53 +0000)]
* smooth wasn't working with strengths below .5

9 years agoDisabled mode-switching keys during 3D View orbit/zoom etc. in default key map.
Matt Ebb [Thu, 15 Jul 2010 03:49:32 +0000 (03:49 +0000)]
Disabled mode-switching keys during 3D View orbit/zoom etc. in default key map.

Still possible to re-enable via editing the modal keymap, but was getting a bit
annoying in its current state. Can probably be implemented a bit better in the
future with timers etc, but no time at the moment.

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

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

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

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

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

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

9 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

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

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

9 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

9 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 :)

9 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

9 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

9 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

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

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

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

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

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

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

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