11 years agothumbnail passepartout effect, distinguishes blend files from images.
Campbell Barton [Sun, 30 May 2010 09:16:50 +0000 (09:16 +0000)]
thumbnail passepartout effect, distinguishes blend files from images.

11 years agooptional fallback argument for vector angle function.
Campbell Barton [Sun, 30 May 2010 01:42:04 +0000 (01:42 +0000)]
optional fallback argument for vector angle function.
 vec1.angle(vec2, fallback)

in my experiences most uses of this function required a try/except so better to allow a fallback value.

11 years ago== Sphinx Doc Gen ==
Alex Sytnik [Sun, 30 May 2010 00:24:32 +0000 (00:24 +0000)]
== Sphinx Doc Gen ==

Workaround to address attribute description issue.
In resulting .rst file attribute's descriptions appeared
not indented which sphinx considered as anoter blocks.

11 years agoreverting previous commit from Mitchell. His commit went to the trunk instead of...
Dalai Felinto [Sat, 29 May 2010 21:31:57 +0000 (21:31 +0000)]
reverting previous commit from Mitchell. His commit went to the trunk instead of the branch :)
svn merge -r 29067:29066

11 years agoReversing the last merge because I botched it.
Mitchell Stokes [Sat, 29 May 2010 21:22:24 +0000 (21:22 +0000)]
Reversing the last merge because I botched it.

11 years agoFix multitouch zoom erratic behavior in 3D view in vertical dolly mode
Damien Plisson [Sat, 29 May 2010 20:14:58 +0000 (20:14 +0000)]
Fix multitouch zoom erratic behavior in 3D view in vertical dolly mode

11 years agoUpdated openexr for MinGW
Sergey Sharybin [Sat, 29 May 2010 18:28:01 +0000 (18:28 +0000)]
Updated openexr for MinGW

11 years agodisable forcing mingw compiler flags (means you couldnt change them)
Campbell Barton [Sat, 29 May 2010 11:36:33 +0000 (11:36 +0000)]
disable forcing mingw compiler flags (means you couldnt change them)

11 years agoFix for Error Totblock for Sound_OT_open
Dalai Felinto [Sat, 29 May 2010 08:49:48 +0000 (08:49 +0000)]
Fix for Error Totblock for Sound_OT_open

Error Totblock: 1
OpenPropertyPointerRNA len: 32 0x11111111

I'm not quite sure this has to be done here, or when the actuator is removed (Matt, do we need the customdata pointer for anything later?).
Doing it here seems to be fine so far.

11 years agoremoved WIN32 definition for msvc last commit (to get mingw working)
Campbell Barton [Sat, 29 May 2010 07:31:40 +0000 (07:31 +0000)]
removed WIN32 definition for msvc last commit (to get mingw working)
added back definition as well as checking if some options need to be set.

11 years agoEsc as input for Key Buttons (e.g Logic Brick Keyboard Sensor)
Dalai Felinto [Sat, 29 May 2010 01:42:42 +0000 (01:42 +0000)]
Esc as input for Key Buttons (e.g Logic Brick Keyboard Sensor)

After talking with Brecht he agreed on allowing Esc to be used as input for key input butons.
In order to let the user to cancel an input it can cancel it clicking outside the button.

Also replacing manual check by ui_mouse_inside_button in ui_text function
(patch reviewed (and helped) by Matt (but the change on ISHOTKEY, that's on my own risk ;))

11 years agoFix Open Sound operator, bring it in line with Open Image:
Matt Ebb [Fri, 28 May 2010 23:12:45 +0000 (23:12 +0000)]
Fix Open Sound operator, bring it in line with Open Image:
* Add relative paths option
* Set the pointer used in the ID template properly

* Tweaked the Sound actuator ui

11 years ago[#21842] Beta patch to restore cmake MinGW compilation
Campbell Barton [Fri, 28 May 2010 21:25:23 +0000 (21:25 +0000)]
[#21842] Beta patch to restore cmake MinGW compilation
from Riakiotakis Antonis (psy-fi)

with modifications.

- needed to remove quotes around filepaths for copying.
- WITH_JACK, doesnt link
- WITH_FFMPEG, doesnt build
- WITH_RAYOPTIMIZATION, gave an error for me. (no mmx support)

11 years ago= Game Engine PyDocs =
Alex Sytnik [Fri, 28 May 2010 19:59:15 +0000 (19:59 +0000)]
= Game Engine PyDocs =

Document's headers trailing dots removed, to make them consistent with other docs.

11 years agoFix [#22429] Seg Fault when deleting a material from a pinned panel
Matt Ebb [Fri, 28 May 2010 07:16:55 +0000 (07:16 +0000)]
Fix [#22429] Seg Fault when deleting a material from a pinned panel

11 years agobugfix [#22438] Sequencer off by 1 scene error
Campbell Barton [Fri, 28 May 2010 07:16:36 +0000 (07:16 +0000)]
bugfix [#22438] Sequencer off by 1 scene error
scenes start frame was being ignored (was always zero)

11 years ago== CMake ==
Andrea Weikert [Thu, 27 May 2010 18:22:50 +0000 (18:22 +0000)]
== CMake ==
* updated for new libtiff
* also disabled opencollada for now as it caused errors

* WITH_INTERNATIONAL is enabled although this setting crashes Blender when compiling the Debug target - seems to work for other people though? If you encounter problems, try disabling this.

11 years agoFix #22422: Adding a new shape key with unchecked 'Relative' checkbox crashes blender
Sergey Sharybin [Thu, 27 May 2010 14:00:32 +0000 (14:00 +0000)]
Fix #22422: Adding a new shape key with unchecked 'Relative' checkbox crashes blender

Reorder callning of add_keyblock and do_ob_key in insert_*key.
do_ob_key shouldn't be called for object with uninitialized key blocks.

NOTE: this commit not fixing problems with slurph

11 years agoSmall typo in help text.
Nathan Letwory [Thu, 27 May 2010 12:46:42 +0000 (12:46 +0000)]
Small typo in help text.

11 years agoFix #22401: BLI_thread_is_main function does not work properly on
Brecht Van Lommel [Thu, 27 May 2010 12:40:12 +0000 (12:40 +0000)]
Fix #22401: BLI_thread_is_main function does not work properly on
64-bit Windows, fix provided by Tamito Kajiyama.

11 years agoVarious constraint code cleanups:
Joshua Leung [Thu, 27 May 2010 11:56:31 +0000 (11:56 +0000)]
Various constraint code cleanups:
1) Fixed some weird formatting introduced during math-lib cleanups, and some other inconsistencies
2) Optimised the Maintain Volume constraint by taking the value calculations out

Copy All Constraints Operators:
* Added one for bones too
* These are now included in the menus
* Removed some weird/extra code copying/changing/bleh the actcol/totcol stuff...

11 years agorename curve 'point' to 'co', the property name used verts, bezier points and keyframes.
Campbell Barton [Thu, 27 May 2010 11:25:07 +0000 (11:25 +0000)]
rename curve 'point' to 'co', the property name used verts, bezier points and keyframes.

11 years ago== Pivot Constraint ==
Joshua Leung [Thu, 27 May 2010 10:50:06 +0000 (10:50 +0000)]
== Pivot Constraint ==

This constraint allows an object or bone to have their rotations applied as if their origin/pivot-point was located elsewhere. The most obvious uses include foot-roll, see-saws, but could also include more complicated rolling-box examples.

== Usage Examples ==
=== Foot Roll ===
1. Add 'Pivot' Constraint to the bone without any target.
2. Set the 'Y' value of the offset to the length of the bone. Usually this should be negative (if you rig with feet facing 'forwards' along -Y axis). This gives you a pivot point relative to the bone's (preconstraint) location, which should be at the tip of the bone here. Disabling the 'Use Relative Offset' would make this offset be relative to 0,0,0 instead of to the owner/bone-head.
3. Ensure that the 'Pivot When' setting is set to '-X Rot', (default) which means that the pivot will only used when the rotation on the X-Axis is negative to get tip-toe 'roll'.

=== See Saw ===
1. Add a 'Pivot' constraint too see-saw plank object, this time with a target that you wish to have as the pivot-point. It's possible to do this without too (as before), but is less intuitive.
2. Optionally, if you want the plank slightly raised, set the z-offset value, which should make the pivot-point used to be relative to the target with the z-offset applied.
3. Ensure that 'Pivot When' is set to 'Always', which means that the pivot will always be used, irrespective of the rotation.

== Notes ==
* The 'Pivot When' setting has been integrated in the constraint, since this is something that will often be required for these setups. Having to set up additional drivers to drive the constraint to do this kindof beats the purpose of providing this.

* The 'Offset' functionality is probably not presented as clearly as it could be. We may need to go over this again.

* For foot-roll - if any scaling of the foot is required, simply set up a driver on the y-offset to make this dynamically respond to the "scale" RNA property of the bones (don't use the "Transform Channel" vartype since that won't work correct here). However, this shouldn't be common enough to warrant special treatment.

11 years agoSmall bug fix:
Nicholas Bishop [Thu, 27 May 2010 08:42:59 +0000 (08:42 +0000)]
Small bug fix:
The array of string names for CD layers was missing a few. Added them back and organized a bit for clarity.

11 years agoLogic Editor: fix for datablock counting when copying/deleting sound actuator
Dalai Felinto [Thu, 27 May 2010 08:34:32 +0000 (08:34 +0000)]
Logic Editor: fix for datablock counting when copying/deleting sound actuator
("bug" from 2.49)

11 years agoProgress indicators for threaded jobs
Matt Ebb [Thu, 27 May 2010 08:22:16 +0000 (08:22 +0000)]
Progress indicators for threaded jobs

Now, rather than the bit-too-alarming stop sign, threaded wmJobs
display a progress indicator in the header. This is an optional feature
for each job type and still uses the same hardcoded ui template
(could use further work here...).

Currently implemented for:
Render - parts completed, then nodes comped
Compositor - nodes comped
Fluid Sim - frames simulated
Texture Bake - faces baked


11 years agoLogic Editor: ops forgot this small fix on last commit
Dalai Felinto [Thu, 27 May 2010 08:12:32 +0000 (08:12 +0000)]
Logic Editor: ops forgot this small fix on last commit

11 years agomake bpy.ops.object.select_name(name) also make the object active since Alt+RMB wasnt...
Campbell Barton [Thu, 27 May 2010 08:09:25 +0000 (08:09 +0000)]
make bpy.ops.object.select_name(name) also make the object active since Alt+RMB wasnt setting the object active.
if other tools need this not to switch the active object we could make setting active an option.

11 years agoUpdate description after 29013, which added windows support for this.
Nathan Letwory [Thu, 27 May 2010 07:45:57 +0000 (07:45 +0000)]
Update description after 29013, which added windows support for this.

11 years agoLogic Editor: removing usercount for existent datablocks
Dalai Felinto [Thu, 27 May 2010 07:37:09 +0000 (07:37 +0000)]
Logic Editor: removing usercount for existent datablocks

Using custom setfuncs to avoid increase/decrease of usercount.
That way nothing stops you from removing a material that is used by a
sensor, or a mesh, an action ... (this is how 2.49 works too)

* also some general code cleaning/fix (adding static casts, replacing libaddr_us by lib_addr for dome text (I had no idea how user count worked back then)

11 years agofixed typo that prevented tiff support from being enabled by default
Stefan Gartner [Thu, 27 May 2010 06:08:48 +0000 (06:08 +0000)]
fixed typo that prevented tiff support from being enabled by default

11 years agoWarning fixes
Matt Ebb [Thu, 27 May 2010 04:54:53 +0000 (04:54 +0000)]
Warning fixes

11 years agoAdd floating-point exception handler trap for Windows (MSVC). Now you can set breakpo...
Nathan Letwory [Wed, 26 May 2010 23:03:25 +0000 (23:03 +0000)]
Add floating-point exception handler trap for Windows (MSVC). Now you can set breakpoint on fpe_handler on Windows too when debugging floating-point funkyness.

11 years agoTiff Image Format was not displayed in the "file_format" menu. Scons was missing...
Thomas Dinges [Wed, 26 May 2010 20:09:26 +0000 (20:09 +0000)]
Tiff Image Format was not displayed in the "file_format" menu. Scons was missing declaration for it.

11 years agodisplay errors for mesh deform, useful to help find out why mdef isnt being applied.
Campbell Barton [Wed, 26 May 2010 18:16:16 +0000 (18:16 +0000)]
display errors for mesh deform, useful to help find out why mdef isnt being applied.

11 years agoCopy zlib.dll for win64 too.
Nathan Letwory [Wed, 26 May 2010 11:25:33 +0000 (11:25 +0000)]
Copy zlib.dll for win64 too.

11 years agobugfix [#22426] New Thumbnail code crashes when saving
Campbell Barton [Wed, 26 May 2010 10:52:39 +0000 (10:52 +0000)]
bugfix [#22426] New Thumbnail code crashes when saving
patch from Ken Nign (ken9). (modified slightly)

11 years agoFix [#22418] Displace Node also makes entire image fuzzy
Matt Ebb [Wed, 26 May 2010 08:06:51 +0000 (08:06 +0000)]
Fix [#22418] Displace Node also makes entire image fuzzy

Changed displace node sampling to use EWA filtering, and removed old hacks
for calculating derivatives - I think it should be generated correctly now.

11 years agoNULL check for parent with do_versions(),
Campbell Barton [Tue, 25 May 2010 18:31:36 +0000 (18:31 +0000)]
NULL check for parent with do_versions(),
this is also done in the 2 others places in the code which get the parent.

 In our case the crash was caused by a group not containing the parent object.

11 years ago= misc small stuff =
Campbell Barton [Tue, 25 May 2010 17:04:32 +0000 (17:04 +0000)]
= misc small stuff =
- own mistake in scene help text.
- rename properties to have users as the prefix for better ordering.
- use fixed height for stamp, gives better aligned text.

11 years agofix for recent commit "armature conversion to modifier" (armature->deformflag crash...
Dalai Felinto [Tue, 25 May 2010 15:26:12 +0000 (15:26 +0000)]
fix for recent commit "armature conversion to modifier" (armature->deformflag crash on doversion)
reported by Joerg Mueller (Nexyon)

11 years agoMerge back a few cloth solver fixes from the render branch:
Brecht Van Lommel [Tue, 25 May 2010 13:33:59 +0000 (13:33 +0000)]
Merge back a few cloth solver fixes from the render branch:

* Disable openmp for dot product, this gives different results each
  time due to non-commutative floating point add.
* Disable openmp with few vertices, the extra thread overhead only
  slows things down then.
* Replace the hack that would divide stepsPerFrame and then set it
  back, now it simply uses the timescale in the collision function.
  This was incorrect because stepsPerFrame is an int, but we don't
  want this to be rounded.
* Extra out of bounds check for hair velocity smoothing grid.

11 years agoBGE Fix for: [#22142] Armature deformation does not work in Game Engine. + parent...
Dalai Felinto [Tue, 25 May 2010 08:42:11 +0000 (08:42 +0000)]
BGE Fix for: [#22142] Armature deformation does not work in Game Engine. + parent type to modifiers doversion(). Patch by Xavier Thomas (xat)

This fix the problem of not being able to play animations created with Blender 2.5 in BGE. Patch reviewed by Benoit

Added also other parent to modifier conversions as requested by Joshua (aligorith). I didn't bump subversion here, but the patch should work still. If not I'm increasing subversion sooner anyways (tomorrow or by the middle of the week I hope).

I was waiting to commit this one together with the Logic Editor datablock patch (converting material_name DNA properties to struct Material *). However my patch is getting too big and it's better if it's alone (easier to analyze later, eventual fixes, ...)

Mitchell, this commit adds a function that can help hardware skinning - HasArmatureDeformer()

11 years agoTweaks to copy game properties operator for Dalai
Matt Ebb [Tue, 25 May 2010 06:24:45 +0000 (06:24 +0000)]
Tweaks to copy game properties operator for Dalai

11 years agofix for 2 warnings & better error checking for the thumbnail loading.
Campbell Barton [Tue, 25 May 2010 05:56:31 +0000 (05:56 +0000)]
fix for 2 warnings & better error checking for the thumbnail loading.

11 years agoblend file thumbnailing
Campbell Barton [Mon, 24 May 2010 21:52:18 +0000 (21:52 +0000)]
blend file thumbnailing
- uses same thumbnail system as image browser
- blend files show thumbnails in ubuntu/gnome (freedesktop spec)
- 128x128 images are embedded into the blend file header, a simple loader avoids reading the entire blend file to extract it when generating thumbnails in the file selector.
  When the image browser reads a directory it loads images and creates thumbnails, blend files embedded images are treated just like loading an image.
- the thumbnail is created from the camera view in solid mode. (no camera == no thumbnal).
- readfile/writefile.c: had to use the 'TEST' code name to save thumbnails, anything else would segfault older blender versions on load. (its not used elsewhere).

11 years agoUpdate MSCV9 project files
Benoit Bolsee [Mon, 24 May 2010 21:10:58 +0000 (21:10 +0000)]
Update MSCV9 project files

11 years agoOSX Intel: Enable floating point exceptions (for debugging purposes)
Damien Plisson [Mon, 24 May 2010 20:39:01 +0000 (20:39 +0000)]
OSX Intel: Enable floating point exceptions (for debugging purposes)

From Matt's patch [#22408]

11 years agoBLI_args cleanup
Martin Poirier [Mon, 24 May 2010 18:53:45 +0000 (18:53 +0000)]
BLI_args cleanup

Adding documentation strings in argument data.

--help is auto generated (options not manually categorized end up in the "others" section at the bottom)

11 years agoMakefiles: set BF_OPENCOLLADA_LIBS for darwin so that it links when opencollada is...
Stefan Gartner [Mon, 24 May 2010 16:12:58 +0000 (16:12 +0000)]
Makefiles: set BF_OPENCOLLADA_LIBS for darwin so that it links when opencollada is enabled

11 years agoChanged BF_TIFF_LIB from libtiff to tiff for MinGW
Sergey Sharybin [Mon, 24 May 2010 16:07:17 +0000 (16:07 +0000)]
Changed BF_TIFF_LIB from libtiff to tiff for MinGW

11 years agosound sequence strip wasnt handled by path functions correctly.
Campbell Barton [Mon, 24 May 2010 14:41:35 +0000 (14:41 +0000)]
sound sequence strip wasnt handled by path functions correctly.
fixes make relative/absolute for sound sequences.

11 years agoChanges for static linking to libtiff when compiling by MinGW:
Sergey Sharybin [Mon, 24 May 2010 12:41:14 +0000 (12:41 +0000)]
Changes for static linking to libtiff when compiling by MinGW:

- Use static tiff libraries from lib/windows/gcc in
  scons configuration files
- Commented libtiff.dll installation in SConstruct

11 years agoutility function for mesh data types
Campbell Barton [Mon, 24 May 2010 12:18:12 +0000 (12:18 +0000)]
utility function for mesh data types

Lets you get edge loops from python either from the entire mesh or from by passing an edge list.

11 years ago- correct --help message
Campbell Barton [Mon, 24 May 2010 11:40:45 +0000 (11:40 +0000)]
- correct --help message
- fix implicit decloration of DAG_scene_sort()
- same fix for tiff as made in renderbranch
- rename 'combined peak' --> 'peak' for shorter messages while rendering.

11 years agoLogic Editor - fix for Keyboard Sensor + Copy Game Property fancy submenu
Dalai Felinto [Mon, 24 May 2010 10:38:05 +0000 (10:38 +0000)]
Logic Editor - fix for Keyboard Sensor + Copy Game Property fancy submenu

* Keyboard Sensor entry keys (key, modifier 1 and 2) can actually be any key
- (you can use Shift as main key, and D as modifier if you want). It's
- strange in my opinion, but it's 2.49 way of doing it.

* Copy Game Property (operator found in SPACE menu)
- reorganized it so the properties appear as submenu items.
- a "little lot" of work for such a small eye-candie but well I hope more
- people like it as well :)

Matt, I had to recreate the dynamic_enum to make it work. I'm count on you
for a real fix for this ;)

11 years agoFix [#21521] Displacement modifier does not update when modifing texture
Matt Ebb [Mon, 24 May 2010 07:30:50 +0000 (07:30 +0000)]
Fix [#21521] Displacement modifier does not update when modifing texture

Depgraph now handles texture dependencies - textures can affect objects/data via modifiers.

11 years ago- remove OBJECT_OT_curve_add
Campbell Barton [Mon, 24 May 2010 07:14:55 +0000 (07:14 +0000)]
- remove OBJECT_OT_curve_add
- rename CURVE_OT_primitive_bezier_add --> CURVE_OT_primitive_bezier_curve_add # matches nurbs operator
- rename CURVE_OT_primitive_curve_path_add --> CURVE_OT_primitive_nurbs_path_add
- fix for warnings from 28923

11 years agoFix [#22278] Colour Balance Node HSV Value slider range is insufficient.
Matt Ebb [Mon, 24 May 2010 02:05:23 +0000 (02:05 +0000)]
Fix [#22278] Colour Balance Node HSV Value slider range is insufficient.

11 years agoFix [#22382] Text Editor properties pannel scales, not scrolls, with MMW
Matt Ebb [Mon, 24 May 2010 01:23:46 +0000 (01:23 +0000)]
Fix [#22382] Text Editor properties pannel scales, not scrolls, with MMW

11 years agobugfix [#22398] Black spots on reflecting surfaces when using Environment Light with HDR
Campbell Barton [Sun, 23 May 2010 21:38:27 +0000 (21:38 +0000)]
bugfix [#22398] Black spots on reflecting surfaces when using Environment Light with HDR
 acos() was being called with a value around  '-1.000001' because of float precission error.

11 years agoFixes for cross-compilation:
Sergey Sharybin [Sun, 23 May 2010 21:20:13 +0000 (21:20 +0000)]
Fixes for cross-compilation:

- Set env['CC'] and env['CXX'] as default values for
  CC and CXX variables. This fixes problem with overwriting
  auto-guessed compilators when reading config files
- Added new prefix for mingw tools

11 years agoGNU style long arguments. see help menu.
Campbell Barton [Sun, 23 May 2010 20:39:21 +0000 (20:39 +0000)]
GNU style long arguments. see help menu.

- swapped meanting of -y/-Y to enable/disable automatic python execution (matches window border -w/-W).
- removed '-B', no reason to have this.
- renamed -fpe to --debug-fpe and added to --help

11 years agowas curious if makefile still worked. they didnt, found 2 problems
Campbell Barton [Sun, 23 May 2010 17:45:08 +0000 (17:45 +0000)]
was curious if makefile still worked. they didnt, found 2 problems
- use our own openjpeg.
- libXmu isnt found/needed on ubuntu 10.04, removing, can add back if it breaks for someone else.

11 years agoadd new object py module.
Campbell Barton [Sun, 23 May 2010 12:38:49 +0000 (12:38 +0000)]
add new object py module.
- added view align from twisted torus script and return the object's base.

11 years ago- base_object.layers_from_view(view3d), needed for setting local layers
Campbell Barton [Sun, 23 May 2010 12:14:07 +0000 (12:14 +0000)]
- base_object.layers_from_view(view3d), needed for setting local layers
- module 'add_object_utils', so each script doesnt need its own add object code, dealing with layers, scene, cursor location, editmode etc.

11 years agoview3d - dont draw loose edges with render-override is enabled.
Campbell Barton [Sun, 23 May 2010 10:48:35 +0000 (10:48 +0000)]
view3d - dont draw loose edges with render-override is enabled.

11 years agoopengl render option 'view_context',
Campbell Barton [Sun, 23 May 2010 10:47:19 +0000 (10:47 +0000)]
opengl render option 'view_context',
When enabled the context's 3D view will be used for rendering.
When disabled a camera view with solid draw mode will be used.

(Needed for batch rendering out animation previews without having to worry about an existing 3D view, its local layer locking and draw type)

11 years agoremove some warnings and remove reference to BF_TIFF_LIB in the help message.
Campbell Barton [Sun, 23 May 2010 07:53:09 +0000 (07:53 +0000)]
remove some warnings and remove reference to BF_TIFF_LIB in the help message.

11 years ago[#22301] Fix for 22300 : Blender 2.52 FBX exporter doesn't export correct FBX
Campbell Barton [Sun, 23 May 2010 06:43:43 +0000 (06:43 +0000)]
[#22301] Fix for 22300 : Blender 2.52 FBX exporter doesn't export correct FBX
patch from Mariusz Borsa (wrotki)

edited the patch to stay closer to the original function.

11 years ago[#22391] Fix for eps-export of UVs
Campbell Barton [Sun, 23 May 2010 06:00:08 +0000 (06:00 +0000)]
[#22391] Fix for eps-export of UVs
patch from Marc Fontaine (cubbie)

11 years agoreplace context.areas.spaces[0] with context.space_data
Campbell Barton [Sun, 23 May 2010 05:34:45 +0000 (05:34 +0000)]
replace context.areas.spaces[0] with context.space_data

11 years ago(no commit message)
Michael Fox [Sun, 23 May 2010 02:02:04 +0000 (02:02 +0000)]

11 years agobugfix [#22390] Lamp drawing circle bug
Campbell Barton [Sat, 22 May 2010 11:58:21 +0000 (11:58 +0000)]
bugfix [#22390] Lamp drawing circle bug
was drawing the circle when out of view.

11 years agoFix [#22306]: convert dropped file names from OSX to correct char encoding to handle...
Damien Plisson [Sat, 22 May 2010 07:32:55 +0000 (07:32 +0000)]
Fix [#22306]: convert dropped file names from OSX to correct char encoding to handle non 7-bit ascii chars (e.g. accents)

11 years agoGraph Editor Selection Fix for Durian:
Joshua Leung [Sat, 22 May 2010 04:54:34 +0000 (04:54 +0000)]
Graph Editor Selection Fix for Durian:

Animators were having trouble selecting keyframes and their handles when zoomed in extremely. This commit seems to fix these issues, which appear to have resulted from some overflowing ints, which gave out-of-view handles priority quite often.

11 years agoMakefiles: fix building on linux/ppc
Stefan Gartner [Fri, 21 May 2010 21:58:37 +0000 (21:58 +0000)]
Makefiles: fix building on linux/ppc

11 years agoMakefiles: make sure syntax is correct...
Stefan Gartner [Fri, 21 May 2010 21:26:03 +0000 (21:26 +0000)]
Makefiles: make sure syntax is correct...

11 years agoMakefiles: statically link tiff libs when WITH_TIFF is set to true, which is the...
Stefan Gartner [Fri, 21 May 2010 21:06:00 +0000 (21:06 +0000)]
Makefiles: statically link tiff libs when WITH_TIFF is set to true, which is the default for all platforms

11 years agoRemoved unused argument mmd from multires reshape functions.
Sergey Sharybin [Fri, 21 May 2010 14:18:07 +0000 (14:18 +0000)]
Removed unused argument mmd from multires reshape functions.

11 years agoBugfix: #22385: Shift-click in NLA does not do 'extend' select
Joshua Leung [Fri, 21 May 2010 13:01:18 +0000 (13:01 +0000)]
Bugfix: #22385: Shift-click in NLA does not do 'extend' select

Caused by typo in selection flags code.

11 years agoMotion Paths: Experimental optimisations from joeedh for speeding up the calculation...
Joshua Leung [Fri, 21 May 2010 12:17:34 +0000 (12:17 +0000)]
Motion Paths: Experimental optimisations from joeedh for speeding up the calculation process

This works by tricking the depsgraph into giving us a smaller list of objects to evaluate, with all the necessary objects + their dependencies at the start of the list.

On any complicated setup where non-object parameters need to be referred to (i.e. by drivers) to affect an object's transform, these optimisations will fail and the old (slower) method is still the best way (modify the ifdef and comment out the optimise depsgraph call to do so). However, we'll assume that these aren't too common in real productions, so things should be fine with these fixes. If there really is a need for both, then global options to control these things could follow.

11 years ago-->Fix for bake with faces that have alpha
Geoffrey Bantle [Fri, 21 May 2010 09:58:26 +0000 (09:58 +0000)]
-->Fix for bake with faces that have alpha

Baking for faces with alpha only worked if 'clear' was
turned off in bake options.

11 years agoFix typo in add group instance menu
Matt Ebb [Fri, 21 May 2010 04:44:23 +0000 (04:44 +0000)]
Fix typo in add group instance menu

11 years agoif libtiff not found disable on unix.
Campbell Barton [Fri, 21 May 2010 04:40:04 +0000 (04:40 +0000)]
if libtiff not found disable on unix.

11 years agolibtiff working on linux & cmake again.
Campbell Barton [Fri, 21 May 2010 04:23:33 +0000 (04:23 +0000)]
libtiff working on linux & cmake again.

11 years agoBlender TIFF support
Matt Ebb [Fri, 21 May 2010 03:25:38 +0000 (03:25 +0000)]
Blender TIFF support

* Removed dynamic linking libTIFF code and change it to static linking
(built into the blender executable). Dynamic linking made things a
fair bit more complicated and wasn't working at all before on OS X -
the dylib didn't exist and wasn't being copied. Since TIFF is more heavily
depended upon now in Blender, it makes sense to make it less 'optional'
and more in line with other libraries.

I've updated both CMake and scons, and CMake on OS X/64bit works fine.
It's now up to other platform/build system maintainers to enable this for
their respective platforms (Campbell will check it for linux). For windows,
and non-64bit osx, we need static libtiff libraries in /lib.

I've added options WITH_TIFF for CMake and WITH_BF_TIFF for scons,
so if blender won't build because of this, you should be able to disable
these options until your build system has been updated.

* Bonus feature: while doing this, I added support for loading 16bit and 32bit
per channel TIFFs - they get converted to Blender's float buffers. Handy for
zbrush displacement maps!

11 years agoenable different rotation types for imported BVH's including 'Native', which uses...
Campbell Barton [Thu, 20 May 2010 17:36:59 +0000 (17:36 +0000)]
enable different rotation types for imported BVH's including 'Native', which uses the rotation order defined in the BVH

11 years agobugfix [#22311] BVH Import broken
Campbell Barton [Thu, 20 May 2010 17:23:37 +0000 (17:23 +0000)]
bugfix [#22311] BVH Import broken
from Stig Olavsen & Tod Liverseed

11 years agoopengl render was freeing all images from the graphics card each update.
Campbell Barton [Thu, 20 May 2010 16:08:06 +0000 (16:08 +0000)]
opengl render was freeing all images from the graphics card each update.
with some 4x4k and 4x8k textures this becomes very slow.

only free animated textures (movies and sequences)

11 years agoobscure sounding feature thats actually useful: isolate render type
Campbell Barton [Thu, 20 May 2010 15:30:28 +0000 (15:30 +0000)]
obscure sounding feature thats actually useful: isolate render type

 Select lamp, isolate, all other visible lamps are disabled.

11 years agomerged 28885 frame update fix to trunk, slightly updated
Joseph Eagar [Thu, 20 May 2010 15:18:55 +0000 (15:18 +0000)]
merged 28885 frame update fix to trunk, slightly updated

11 years agomissed some boundbox's drawing when they shouldnt
Campbell Barton [Thu, 20 May 2010 15:04:47 +0000 (15:04 +0000)]
missed some boundbox's drawing when they shouldnt

11 years agoQuicky untested fix for MotionPath baking bug - heads/tails doesn't work (as reported...
Joshua Leung [Thu, 20 May 2010 12:34:32 +0000 (12:34 +0000)]
Quicky untested fix for MotionPath baking bug - heads/tails doesn't work (as reported by William). Hopefully this improves/fixes the problem.

11 years agoMotion Path Tweaks:
Joshua Leung [Thu, 20 May 2010 12:31:55 +0000 (12:31 +0000)]
Motion Path Tweaks:

- #22155: keyframe dots not shown on path for bone keyframes that aren't in a group with a matching name. Since this situation is going to become more common in 2.5, I've added an option which will alternatively just search the entire action to find all F-Curves associated with bones. The old option is still the default though for the general cases.

- When keyframe drawing is enabled, the current frame will also be indicated on the path now as a (bigger) green dot, as requested by William. This makes it easier to see the position on the path on the current frame.

11 years agoDurian Request: Panel for editing Keyframe values numerically
Joshua Leung [Thu, 20 May 2010 11:49:53 +0000 (11:49 +0000)]
Durian Request: Panel for editing Keyframe values numerically

This panel allows editing of the coordinates of the 'first selected keyframe' on the Active F-Curve. That is, if you've got keyframes A (5), B (7), and C (12), and B & C are both selected, then the 'active keyframe' will be B.

While I still think it's more efficient to use the cursor for batch-setting a bunch of keyframes, there are currently problems using that for sub-frame placement on the x-axis.

- There is none of the averaging crap from before, where no accurate value could ever be set.
- Take care when setting the values of the handles, since getting correct F-Curve recalc flushing working via the RNA stuff is VERY TRICKY, and has been left out for now to get something workable. I recommend setting the values numerically, then grabbing these keyframes and immediately cancelling, to get these updates done.

11 years agoBugfix #22374: index=-1 not work for keyingset.paths.add() function
Joshua Leung [Thu, 20 May 2010 11:04:15 +0000 (11:04 +0000)]
Bugfix #22374: index=-1 not work for keyingset.paths.add() function

Simple typo which meant that paths with 'Entire array' set could not be reimported properly.

11 years agoProperly restored shift-up/down arrow as alternative hotkeys for jumping between...
Joshua Leung [Thu, 20 May 2010 10:03:26 +0000 (10:03 +0000)]
Properly restored shift-up/down arrow as alternative hotkeys for jumping between start/end frames, as mentioned by venomgfx a while ago.

11 years agoonly-render option now wont draw wire or boundbox unless in wire or boundbox draw...
Campbell Barton [Thu, 20 May 2010 09:17:49 +0000 (09:17 +0000)]
only-render option now wont draw wire or boundbox unless in wire or boundbox draw modes.

note: Im not all that happy with where this feature is going in terms of readability, however preview renders are very distracting when physics meshes and bounding boxes are animating over the top of characters.

11 years agosome rna numbers were signed when they shouldnt be (simplify could have its subdivisi...
Campbell Barton [Thu, 20 May 2010 08:51:03 +0000 (08:51 +0000)]
some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative)