9 years agoFix [#22473] No more text cursor placing when editing a Text Field ?
Matt Ebb [Tue, 1 Jun 2010 23:06:14 +0000 (23:06 +0000)]
Fix [#22473] No more text cursor placing when editing a Text Field ?

9 years agoProgress indicator in the application icon
Damien Plisson [Tue, 1 Jun 2010 20:21:40 +0000 (20:21 +0000)]
Progress indicator in the application icon

Displays a global progress indicator in the application icon reflecting the total progress of all running jobs.

Currently fully implemented on OSX (Cocoa).
On other OSes that do not allow to redraw the app icon, this can be implemented as a [x%] display in the app title, so to appear in the taskbar.

Thanks to Matt for the windowmanager wrapper.

9 years ago== View Navigation ==
Campbell Barton [Tue, 1 Jun 2010 19:48:55 +0000 (19:48 +0000)]
== View Navigation ==
Orbiting the view while in camera mode now starts from the camera view rather then switching back to the last user 3d view settings.
* I added this some years back but it was rejected, however it was requested today for durian because with set scenes its not always easy to select whats infront of the camera to navigate to it.
  Its possible to end up in an annoying situation where you are looking at the main characters head (in a set scene), but when you orbit the view, the camera jumps 500+ BU away and you need to manually navigate back to what you were just looking at.

* If a user wants to go back to the view they had before entering the camera view they can still press Numpad zero which toggles.

9 years agoFix #22239: external btx won't load.
Brecht Van Lommel [Tue, 1 Jun 2010 19:26:35 +0000 (19:26 +0000)]
Fix #22239: external btx won't load.

9 years agoWorkaround #20467: disabled OpenMP multithreading on subsurf/multires/sculpt
Brecht Van Lommel [Tue, 1 Jun 2010 19:01:54 +0000 (19:01 +0000)]
Workaround #20467: disabled OpenMP multithreading on subsurf/multires/sculpt
for now, it's too fine grained and so becomes a performance bottleneck on some
platforms, while only providing a modest speedup on others. Couldn't find a
simple enough solution to solve this, so for now no multithreading here.

9 years ago[#22194] Add groups visibility, selectability and renderability restrictions in the...
Campbell Barton [Tue, 1 Jun 2010 18:12:17 +0000 (18:12 +0000)]
[#22194] Add groups visibility, selectability and renderability restrictions in the outliner
modified/rewrote some of this patch, not to include restrict settings in the group its self, since these are object settings this now uses the outliner/groups as a way to access multiple objects restrict and select settings.
Rather then fakeing that the settings are stored in the group.

This means it does rather more looping on group objects then I'd like however the outliner is doing a lot of loopnig alredy.

9 years agoFix #22039: changing simplify recalculates subsurf even if simplifiy is disabled.
Brecht Van Lommel [Tue, 1 Jun 2010 17:05:56 +0000 (17:05 +0000)]
Fix #22039: changing simplify recalculates subsurf even if simplifiy is disabled.
Fix crash with simplify and child particles in linked scenes.

9 years agoFix #22462: selecting the "Animation Step" operator from the spacebar
Brecht Van Lommel [Tue, 1 Jun 2010 15:35:38 +0000 (15:35 +0000)]
Fix #22462: selecting the "Animation Step" operator from the spacebar
menu crashes Blender, patch provided by Frederik De Bleser, thanks!

9 years agopassepartout overlay wasnt written into thumbnails
Campbell Barton [Tue, 1 Jun 2010 13:06:13 +0000 (13:06 +0000)]
passepartout overlay wasnt written into thumbnails

9 years agojust a small commit to get myself back into thge swing of things
Michael Fox [Tue, 1 Jun 2010 12:13:07 +0000 (12:13 +0000)]
just a small commit to get myself back into thge swing of things
via a request there is now axis control in the vertes smooth operator (really small easy to remove if no one likes )

9 years agoscript reload (f8), is closer to working.
Campbell Barton [Tue, 1 Jun 2010 08:15:43 +0000 (08:15 +0000)]
script reload (f8), is closer to working.

there are internal memory problems which can make it crash still.
If you remove all directories in the scripts folder except for 'modules' and 'ui', it runs without crashes.

9 years agoLogic Editor: visible flag is boolean_negative
Dalai Felinto [Tue, 1 Jun 2010 07:49:27 +0000 (07:49 +0000)]
Logic Editor: visible flag is boolean_negative

9 years agoFixes [#21791] Toggle Fullscreen (Alt + F11) returns to non-maximized window
Nathan Letwory [Tue, 1 Jun 2010 06:18:17 +0000 (06:18 +0000)]
Fixes [#21791] Toggle Fullscreen (Alt + F11) returns to non-maximized window

Applied patch provided by Elia Sarti

9 years agoFix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data...
Matt Ebb [Tue, 1 Jun 2010 06:07:22 +0000 (06:07 +0000)]
Fix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data texture of type Image sequence

Cleaned up the code here, made it more efficient and more reliable with threaded render.

9 years ago* Only print libtiff debug messages to the console when in debug mode
Matt Ebb [Tue, 1 Jun 2010 01:01:25 +0000 (01:01 +0000)]
* Only print libtiff debug messages to the console when in debug mode
* Allow loading non 3/4 channel TIFFs (eg. greyscale). This was already
working, but disabled out of caution. Seems to work fine in my recent tests though.

9 years agoPython Open Link operator.
Thomas Dinges [Mon, 31 May 2010 11:38:13 +0000 (11:38 +0000)]
Python Open Link operator.
* Unified some code for Opening an URL to use only one operator: WM_OT_url_open
* Removed the HELP_OT_url operators.

9 years ago* Sun & Sky presets were labeled as Render presets.
Thomas Dinges [Mon, 31 May 2010 10:21:57 +0000 (10:21 +0000)]
* Sun & Sky presets were labeled as Render presets.

9 years ago* Tooltip fix for Addon links.
Thomas Dinges [Mon, 31 May 2010 08:43:23 +0000 (08:43 +0000)]
* Tooltip fix for Addon links.
I rather have this general text than 2 separate operators for wiki/tracker url.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 21:17:59 +0000 (21:17 +0000)]
== Sequencer ==

This makes volume range larger and adds an additional attenuation-variable to RNA,
which makes volume-changes in dezibel units possible.

9 years ago2.5 Addons:
Thomas Dinges [Sun, 30 May 2010 20:48:09 +0000 (20:48 +0000)]
2.5 Addons:
Request from mindrones :)
* Next to the Wiki URL, it's now possible to have a link to the tracker, for bug reports.

"bl_addon_info" dictionary:
* Renamed 'url' to 'wiki_url'
* Added 'tracker_url'

9 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 20:04:24 +0000 (20:04 +0000)]
== Sequencer ==

Current SVN crashes, if we are using hard-cuts on multicam tracks. Changing to soft cuts for now
(since it should be the same for effect strips anyways...)

9 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 19:33:26 +0000 (19:33 +0000)]
== Sequencer ==

This fixes loading of hard trimmed audio files in readfile
and adds trim options to N-keys for audio files.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 19:29:58 +0000 (19:29 +0000)]
== Sequencer ==

Multicam editing: don't cut to the camera we are already on...

9 years agoblend file thumbnails
Campbell Barton [Sun, 30 May 2010 19:21:28 +0000 (19:21 +0000)]
blend file thumbnails
- fix for blend file thumbnails not being immediately visible in an external file manager (was writing the thumb before the blend)
- move overlay function from wm_files.c into thumbs_blend.c

9 years ago== bge api docs ==
Luca Bonavita [Sun, 30 May 2010 18:18:14 +0000 (18:18 +0000)]
== bge api docs ==

- fixed small typo in
- also testing committing to bf-blender, my first commit :)

9 years agoadd torus now works like other C add-object operators, location and rotation are...
Campbell Barton [Sun, 30 May 2010 17:18:16 +0000 (17:18 +0000)]
add torus now works like other C add-object operators, location and rotation are initialized and kept even when settings are changed after.

9 years agoDisable using own emitter object (self) as dupliobject/group for particles, fixes...
Janne Karhu [Sun, 30 May 2010 16:09:16 +0000 (16:09 +0000)]
Disable using own emitter object (self) as dupliobject/group for particles, fixes bugs:
[#21994] hair particle system with dupli object set to particle system object itself results in 100% cpu usage
[#22023] [Rev 28117]Can't bake particles?
[#22065] in a particle system, setting the emitter as the dupli object crashes blender after pressing alt+a to animate

9 years agomingw/cmake ffmpeg works now, update for new openexr libs which removed IlmThread.
Campbell Barton [Sun, 30 May 2010 15:55:16 +0000 (15:55 +0000)]
mingw/cmake ffmpeg works now, update for new openexr libs which removed IlmThread.

9 years agoconsole now shows unicode errors as well as errors caused by introspecting the api...
Campbell Barton [Sun, 30 May 2010 15:17:33 +0000 (15:17 +0000)]
console now shows unicode errors as well as errors caused by introspecting the api with autocompleate.

9 years agoSome cleanup of particle path drawing logic:
Janne Karhu [Sun, 30 May 2010 14:53:26 +0000 (14:53 +0000)]
Some cleanup of particle path drawing logic:
* Path drawing now works for non hair particles.
* Should fix the following bugs too:
  [#21316] Hair weight drawing is wrong
  [#21923] Consistent Crash When Rendering Particle Scene.
  [#21950] Path rendering option for particles causes crash

9 years ago- Python console argument '--python-console', option so you can start blender and...
Campbell Barton [Sun, 30 May 2010 14:05:58 +0000 (14:05 +0000)]
- Python console argument '--python-console', option so you can start blender and drop into a python console, (useful for debugging some problems on a renderfarm over ssh)

- Also made it so sys.stdin isnt overwritten anymore, instead the interactive consoel overwrites while it executes and restores after.

- removed hope folder from sphinx patch path

9 years agoFix #22446: "Delayed" modifier preview with linked curves
Sergey Sharybin [Sun, 30 May 2010 14:05:24 +0000 (14:05 +0000)]
Fix #22446: "Delayed" modifier preview with linked curves

Since curve objects could have constructive modifiers, we can't
always avoid setting OB_RECALC_DATA to linked objects (displist
recalculation wouldn't enough for curves with such modifiers)

9 years agoremove non-informative print
Nathan Letwory [Sun, 30 May 2010 13:58:17 +0000 (13:58 +0000)]
remove non-informative print

9 years agoFixes: #22064 When the Windows task bar is placed on top of the screen, Blender ...
Nathan Letwory [Sun, 30 May 2010 13:50:59 +0000 (13:50 +0000)]
Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender "User Preferences" opens with the title bar underneath it

I applied the patch provided by Charlie Shen in the comments of the bug report

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

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

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

9 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

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

9 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

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

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

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

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

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

9 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

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

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

9 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

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

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

9 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

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

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

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

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

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

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

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

9 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


9 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

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

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

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

9 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

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

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

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

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

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

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

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

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

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

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

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

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

9 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

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

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

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

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

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

9 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

9 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

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

9 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

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

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

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

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

9 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

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

9 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

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

9 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

9 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

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

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

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