blender.git
8 years agosynched with trunk at revision 30243
Nick Samarin [Wed, 14 Jul 2010 07:35:39 +0000 (07:35 +0000)]
synched with trunk at revision 30243

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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 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

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

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

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

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

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

8 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

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

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

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

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

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

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

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

8 years agoWork on conversion of the navigation mesh: we build navmesh directly from blender...
Nick Samarin [Fri, 9 Jul 2010 22:22:51 +0000 (22:22 +0000)]
Work on conversion of the navigation mesh: we build navmesh directly from blender mesh using custom face data, when no custom data provided we use RAS_MeshObject interface

8 years agoAdded operator for generating navigation mesh for selected blender objects
Nick Samarin [Fri, 9 Jul 2010 22:16:52 +0000 (22:16 +0000)]
Added operator for generating navigation mesh for selected blender objects

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

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

8 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

8 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

8 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

8 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

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

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

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

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

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

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

8 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

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

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

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

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

8 years agoLogic UI: small commit - set visible flag for sensor and actuator (so it works with...
Dalai Felinto [Thu, 8 Jul 2010 09:25:18 +0000 (09:25 +0000)]
Logic UI: small commit - set visible flag for sensor and actuator (so it works with the move logic bricks operator to be committed)

8 years agoLogic UI: fix for #Motion Actuator Dynamic options not showing for Soft Body and...
Dalai Felinto [Thu, 8 Jul 2010 06:49:08 +0000 (06:49 +0000)]
Logic UI: fix for #Motion Actuator Dynamic options not showing for Soft Body and Rigid Body (reported by Mal Duffin (malCanDo) over email)
Originally (2.49) we were testing for ob->game_flag to see if the object is dynamic.
That could work here (it would require a new rna prop for the object (a read-only is_dynamic) or similar.
However using ob.game.physics_type is more explicit, therefore may be more interesting. I have no strong opinions on that...

8 years ago=== Windows installer ===
Nathan Letwory [Thu, 8 Jul 2010 06:16:08 +0000 (06:16 +0000)]
=== Windows installer ===
* cleanup link section for Start Menu

8 years agoFix #22340: sintel appears in seemingly random poses on load.
Brecht Van Lommel [Wed, 7 Jul 2010 18:47:49 +0000 (18:47 +0000)]
Fix #22340: sintel appears in seemingly random poses on load.

Pose proxy synchronization happened after drivers were already evaluated,
now moved to start of object_handle_update.

8 years agoNodes:
Thomas Dinges [Wed, 7 Jul 2010 18:39:08 +0000 (18:39 +0000)]
Nodes:
* Tooltips for the Blur Node

8 years agoFix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint...
Nicholas Bishop [Wed, 7 Jul 2010 17:32:50 +0000 (17:32 +0000)]
Fix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint mode clicking the Levels option

* Add a `return 0' to ED_vgroup_give_parray to avoid falling through from mesh to lattice

8 years agoFix #21540: depsgraph problem on load, meshes on non-visible layers
Brecht Van Lommel [Wed, 7 Jul 2010 17:08:20 +0000 (17:08 +0000)]
Fix #21540: depsgraph problem on load, meshes on non-visible layers
were not created when objects on visible layers depended on them, now
it uses the flushed layer to determine if the object data should be
recalculated.

8 years agofix for duplicating metastrips, unique names and animation data.
Campbell Barton [Wed, 7 Jul 2010 16:37:41 +0000 (16:37 +0000)]
fix for duplicating metastrips, unique names and animation data.

8 years agoFix #22776: merge and remove doubles don't recalculate normals.
Brecht Van Lommel [Wed, 7 Jul 2010 16:23:38 +0000 (16:23 +0000)]
Fix #22776: merge and remove doubles don't recalculate normals.

8 years agoduplicating a sequence strip now duplicates its fcurves
Campbell Barton [Wed, 7 Jul 2010 16:17:18 +0000 (16:17 +0000)]
duplicating a sequence strip now duplicates its fcurves

8 years agoFix #22772: remove unnecessary -fpascal-strings flag on OS X, only
Brecht Van Lommel [Wed, 7 Jul 2010 15:26:02 +0000 (15:26 +0000)]
Fix #22772: remove unnecessary -fpascal-strings flag on OS X, only
some debug code in webplugin needed it.

8 years agoFix #22219: compile error with videotexture/libavutil and recent gcc,
Brecht Van Lommel [Wed, 7 Jul 2010 15:24:06 +0000 (15:24 +0000)]
Fix #22219: compile error with videotexture/libavutil and recent gcc,
need __STDC_CONSTANT_MACROS defined.

8 years agofix for numeric problems for color balance in the sequencer (same check as in composi...
Campbell Barton [Wed, 7 Jul 2010 15:06:57 +0000 (15:06 +0000)]
fix for numeric problems for color balance in the sequencer (same check as in compositor).
for optimized builds this gave crazy colors.

8 years agoFix #22354, #22727, #22501: image window not display correct
Brecht Van Lommel [Wed, 7 Jul 2010 14:28:22 +0000 (14:28 +0000)]
Fix #22354, #22727, #22501: image window not display correct
renders with compositing and slots.

8 years agoConstraint UI:
Thomas Dinges [Wed, 7 Jul 2010 14:10:41 +0000 (14:10 +0000)]
Constraint UI:
* Some code cleaning.
* Removed icon and emboss for the "enabled" bool, use default checkbox now.

8 years agodont swap strip names when swapping strips, means they keep their fcurves
Campbell Barton [Wed, 7 Jul 2010 13:14:51 +0000 (13:14 +0000)]
dont swap strip names when swapping strips, means they keep their fcurves

8 years agoremove unused files.
Nathan Letwory [Wed, 7 Jul 2010 12:50:24 +0000 (12:50 +0000)]
remove unused files.

8 years ago=== Windows Installer ===
Nathan Letwory [Wed, 7 Jul 2010 12:46:39 +0000 (12:46 +0000)]
=== Windows Installer ===
* have nice image also in uninstaller
* ensure we can remove start menu links

8 years agofix mingw compile
Andrea Weikert [Tue, 6 Jul 2010 20:31:55 +0000 (20:31 +0000)]
fix mingw compile
- seems to have been conflicting #defines for INT, solved by moving #include up

8 years agoFixed bug [#22757] : hide dock and menu on OSX only when Blender window is maximized...
Damien Plisson [Tue, 6 Jul 2010 19:59:37 +0000 (19:59 +0000)]
Fixed bug [#22757] : hide dock and menu on OSX only when Blender window is maximized to fullscreen on the primary monitor

8 years agoFile/installation paths: fix path of startup.blend for OSX
Damien Plisson [Tue, 6 Jul 2010 19:42:06 +0000 (19:42 +0000)]
File/installation paths: fix path of startup.blend for OSX

Also fix the header file no reinclusion macro name

Thanks to Jens Verwiebe for the patch

8 years agoBring back "Sort Faces" command.
Diego Borghetti [Tue, 6 Jul 2010 19:26:38 +0000 (19:26 +0000)]
Bring back "Sort Faces" command.

This was the old Ctrl + FKEY in object mode, now it's in
edit mode and is part of the Ctrl + FKEY menu (Faces).

I also assing this to the Ctrl + Alt + FKEY, but Matt please
check this and feel free to change (or tell me and I will change).

Still there is no "reverse" function, but I commit now to finish
in my home.

8 years agoselected_sequences wasnt working right, added 'sequences' property to the context
Campbell Barton [Tue, 6 Jul 2010 18:07:10 +0000 (18:07 +0000)]
selected_sequences wasnt working right, added 'sequences' property to the context

8 years agometaball outlines were drawing with Render Override enabled.
Campbell Barton [Tue, 6 Jul 2010 17:10:02 +0000 (17:10 +0000)]
metaball outlines were drawing with Render Override enabled.

8 years agocolor balance can now be animated in the sequencer.
Campbell Barton [Tue, 6 Jul 2010 16:44:05 +0000 (16:44 +0000)]
color balance can now be animated in the sequencer.

8 years agouse normal mouse speed for the color wheel unless shift is pressed.
Campbell Barton [Tue, 6 Jul 2010 16:40:56 +0000 (16:40 +0000)]
use normal mouse speed for the color wheel unless shift is pressed.

8 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 16:39:40 +0000 (16:39 +0000)]
=== Windows Installer ===

Make sure for win64 version of Blender that we set default install dir to $PROGRAMFILES64
and keep win32 version to $PROGRAMFILES32.

Reported on Graphicall.org by Robroy

8 years agocomplain if running with py2
Campbell Barton [Tue, 6 Jul 2010 14:30:31 +0000 (14:30 +0000)]
complain if running with py2

8 years ago== rna cleanup ==
Luca Bonavita [Tue, 6 Jul 2010 13:56:50 +0000 (13:56 +0000)]
== rna cleanup ==

small fixes adnm tentative new keywords
those discussed by campbell and brecht are still there, but commented
with these keywords I'm happy how booleans went, committing to discuss with cambpell

8 years agofix for crash on active camera poll (from own recent commit)
Campbell Barton [Tue, 6 Jul 2010 11:50:59 +0000 (11:50 +0000)]
fix for crash on active camera poll (from own recent commit)

8 years agoRevert revision 29735:
Brecht Van Lommel [Tue, 6 Jul 2010 11:44:45 +0000 (11:44 +0000)]
Revert revision 29735:

Fix #22051: crash when scaling parent metaball. Keep the constant resolution
for any motherball's scale.

This avoids running out of memory when scaling the metaball down, but there's
a reason it depends on this scaling, for example for instancing it's more
useful to have this. It also doesn't really solve the problem but only moves it,
it's still possible to run out of memory with different setups/scales.

8 years agolibrary tooltip for outliner icons
Campbell Barton [Tue, 6 Jul 2010 11:14:35 +0000 (11:14 +0000)]
library tooltip for outliner icons

8 years agoCorrection to recent color balance compositor and sequencer changes.
Campbell Barton [Tue, 6 Jul 2010 10:21:28 +0000 (10:21 +0000)]
Correction to recent color balance compositor and sequencer changes.
- In my changes lift was acting like a second gamma.
- In blender 2.4x it was being added which gave ugly clipping.
- in Magic Bullet Looks it scales the color about 1.0: (col - 1 * (2-lift)) + 1

Did more testing and made sure the order of applying lift/gamma/gain works the same as MagicBulletLooks (tested on Collin's mac laptop).

8 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 09:19:52 +0000 (09:19 +0000)]
=== Windows Installer ===
* add info about bitness: 32bit, 64bit or mingw-build

8 years agoWaste less memory ;)
Nathan Letwory [Tue, 6 Jul 2010 09:15:33 +0000 (09:15 +0000)]
Waste less memory ;)

8 years ago=== Windows Installer ===
Nathan Letwory [Tue, 6 Jul 2010 09:13:10 +0000 (09:13 +0000)]
=== Windows Installer ===
* Proper deletion of install dir - everything under it will be gone
* Ask if config/userdata can be removed and act accordingly. If selected, everything under user/config dir (BLENDERHOME) will be gone.
* The installer now will automatically update vc runtime

To be able to properly create an installer, you need:
- NSIS, and the MoreInfo plugin for NSIS. Make sure NSIS is in your path
- Set in your user-config.py BF_VCREDIST full path to the redist you have.

Note: this works only with SCons.

8 years agogive an actually existing buffer instead of potential NULL
Nathan Letwory [Tue, 6 Jul 2010 06:43:21 +0000 (06:43 +0000)]
give an actually existing buffer instead of potential NULL

8 years agocommitted one file too many
Nathan Letwory [Tue, 6 Jul 2010 05:24:18 +0000 (05:24 +0000)]
committed one file too many

8 years agopedantic pep8 warnings, mostly white space.
Campbell Barton [Mon, 5 Jul 2010 22:22:22 +0000 (22:22 +0000)]
pedantic pep8 warnings, mostly white space.

8 years agochange the range for sequencer lift/gamma/gain to be 2.0 max
Campbell Barton [Mon, 5 Jul 2010 21:43:46 +0000 (21:43 +0000)]
change the range for sequencer lift/gamma/gain to be 2.0 max

8 years agoFile/installation paths: osx (cocoa & carbon) update in ghost
Damien Plisson [Mon, 5 Jul 2010 19:59:37 +0000 (19:59 +0000)]
File/installation paths: osx (cocoa & carbon) update in ghost

8 years ago* use blender_decimal_version() in places where '.blender/' was still being used
Nathan Letwory [Mon, 5 Jul 2010 19:59:27 +0000 (19:59 +0000)]
* use blender_decimal_version() in places where '.blender/' was still being used
* simplify the NSIS file creation (and add those files back).

NOTE: The installer is still pretty much WIP, tomorrow more improvements.

8 years agoFix #21201: double click didn't use the original mouse position, now
Brecht Van Lommel [Mon, 5 Jul 2010 16:42:42 +0000 (16:42 +0000)]
Fix #21201: double click didn't use the original mouse position, now
it stores it and sets it later when the double click event is handled.

Decided to not reuse prevx but made prevclickx, because there may be
multiple mousemoves between the two clicks, and prevx is already used
for some other tricky things.

8 years agoFix #21917: add object operator has 30 layers, now the layer property
Brecht Van Lommel [Mon, 5 Jul 2010 16:20:52 +0000 (16:20 +0000)]
Fix #21917: add object operator has 30 layers, now the layer property
has just 20 and the local view layers are added afterwards.

8 years agooption for color wheel widget to make it easier to select values closer to white...
Campbell Barton [Mon, 5 Jul 2010 15:52:25 +0000 (15:52 +0000)]
option for color wheel widget to make it easier to select values closer to white, enable for color balance.