Commit Graph

26759 Commits

Author SHA1 Message Date
Campbell Barton
001259ccb6 warning/portability fixes. 2010-10-30 17:16:37 +00:00
Janne Karhu
c69f2eaca9 Fix for [#24448] User Preferences - Interface - Mini Axis - Brightness, none working?
* The axis draw function was changed by Campbell recently, but the brightness value was forgotten?
* Solved currently by mapping the brightness value to axis alpha.
2010-10-30 17:13:03 +00:00
Janne Karhu
d29d972e33 Fix for [#23318] SEQUENCER EFFECT: Glow blur amount should be relative 2010-10-30 15:20:48 +00:00
Luca Bonavita
e548e3e1d8 == blender file format ==
Hello, from the bconf 2010 from Jeroen and Luca. Our first combined commit :)

Automatically create sdna documentations from Trunk.

Usage: 
        blender2.5 -b -P BlendFileDnaExporter_25.py [-- [options]]
Options:
        --dna-keep-blend:      doesn't delete the produced blend file DNA export to html
        --dna-debug:           sets the logging level to DEBUG (lots of additional info)
        --dna-versioned'       saves version informations in the html and blend filenames
        --dna-overwrite-css'   overwrite dna.css, useful when modifying css in the script
Examples:
        default:       % blender2.5 -b -P BlendFileDnaExporter_25.py
        with options:  % blender2.5 -b -P BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug
2010-10-30 13:25:24 +00:00
Janne Karhu
ae9c4b1649 Info text for scene strips showing the frame range that's set in the scene
* Related to bug report [#24329] scene length not updated in VSE
* This data is nice to have in the sequencer without having to go the actual scene that's added as a strip.
2010-10-30 13:09:31 +00:00
Janne Karhu
ef3e5a3d71 Fix for [#24374] VSE: Reassign Inputs ignores selection order.
* No way currently to know the order of effect inputs, so I added a swap operator for the inputs.
* Also added the effect inputs to the strip property panel (weren't even in rna before). These are not yet editable, but can be very helpful in determining what the inputs are if the strip is too short to see the name in the timeline.
2010-10-30 12:04:00 +00:00
Janne Karhu
a12d0fc836 Fix for [#24409] Particle corruption after rendering with multires
* Also removed some unused flags from the particle modifier.
2010-10-30 10:19:30 +00:00
Janne Karhu
210915e3c7 Fix for items 3 and 8 of [#24443] Trying to bake a smoke simulation crashes blender, and other smoke bugs. 2010-10-30 08:51:50 +00:00
Daniel Salazar
bd8758561f Build fix by Mike S 2010-10-30 02:59:42 +00:00
Campbell Barton
ced06081b8 use PyImport_ExtendInittab for py module initialization rather then adding to sys.modules directly, no functional change. 2010-10-29 22:59:39 +00:00
Campbell Barton
719c941c58 bugfix [#23155] Metastrip contents area allowed to move vertically, occasionally swapping order or overlapping
overlapping tests cant be done recursively
2010-10-29 19:40:45 +00:00
Janne Karhu
f921f91454 Fix for[#24422] Crash when switching to Point Select Mode - particle hair 2010-10-29 12:49:36 +00:00
Janne Karhu
ce74b14850 Fix for [#24430] Hair Dynamics Problem
* Hair added in particle mode didn't have any weights assigned.
2010-10-29 10:31:45 +00:00
Campbell Barton
6a9a49f8af bugfix for grease pencil freeing order.
it was freed before objects which would then decrease its usercount - accessing freed memory.

Also fixed error in own last commit.
2010-10-29 07:11:45 +00:00
Doug Hammond
b4a6418518 extensions_framework: minor string change 2010-10-28 21:20:57 +00:00
Campbell Barton
b5b48bd53a bugfix [#24439] Smear 2D paint fails
small unrelated change: when setting the image type of an image, loop over all its Imbufs and set them.
2010-10-28 19:40:05 +00:00
Campbell Barton
651efb3763 bugfix [#24428] Interface Regions will not keep relative proportions
screen verts were being rounded so resizing a window would end up moving the border in one direction.
for this to work properly we should store floats internally but for now compensate for this.
2010-10-28 17:46:31 +00:00
Campbell Barton
905c5f7948 bugfix/patch [#24431] Fast Gaussian produces wrong results for higher resolutions
report & fix from Martin Lubich (loramel)

Use double rather then floats, this doesn't use significantly more memory (as allocating a double buffer would), other vars in this function were doubles already so may even gain some speed.
2010-10-28 12:29:59 +00:00
Campbell Barton
022e72e148 bugfix [#24432] HS+V color picker 2010-10-28 12:01:02 +00:00
Campbell Barton
e205a9a142 for the color picker functions use UI_GRAD_* constants rather then numbers, no functional change. 2010-10-28 11:49:56 +00:00
Campbell Barton
b7c8df231b partial bugfix [#24425] Blender 2.54 Beta crashes when starting rendering
Fix for one of the causes of crashing.
Applying armature deform wasn't thread safe since the pose bones had deform data written into them when deforming a mesh.

This fixes crashing immediately, on every render for me but blender still crashes calculating the subsurf sometimes.
2010-10-28 10:12:57 +00:00
Campbell Barton
ab404a0f66 patch [#24424] Python scripts update for API changes
from Filiciss Muhgue (filiciss)
2010-10-27 22:15:55 +00:00
Campbell Barton
cbb47c1dac bugfix [#24287] Saving the render result through the API does not use the scene settings
use scene alpha and dither settings.
2010-10-27 22:13:05 +00:00
Martin Poirier
58a1ddcc9e netrender
New Feature:
VCS job type
	Render a file (with dependencies) from a version control system (currently only supports subversion, but system is already generic).
	On client, working path, server path and current revision can be guessed from data on disk or entered manually.
	On slave, a working copy is created (if needed) where specified by the job and updated to the proper revision.
	On master web page, job types now appear in the job lists. The job page shows the list of dependencies for "normal" jobs or versioning information for VCS jobs.

	Limitations: Need to have command line tools "svn" and "svnversion". Working copy path must be the same on client and slaves (the client gets the job path relative to the working copy). When guessing, working copy path is set to the folder where the current file is (this can be changed manually after). On the slave, it will update the working copy AS SPECIFIED to the revision, so if that path is too deep, some dependencies will not be updated properly. Doesn't support mixed revisions (and will not give any warnings for that), it will always use the first revision specified by "svnversion"

Bugfix:
Thumbnail generation doesn't chew down memory anymore and always gives correct result (thumbnail on master especially could mess up between jobs with the name result filename)
2010-10-27 18:24:58 +00:00
Campbell Barton
05bb6b5d6c bugfix [#24419] Console Autocomplete Error [Patch to fix attached]
patch provided by Justin Dailey (dail) in report.
2010-10-27 16:47:25 +00:00
Campbell Barton
35807b20be bugfix [#24418] NLA Crashes blender on Undo 2010-10-27 16:36:25 +00:00
Campbell Barton
fd3532f1a9 bugfix [#24341] Problems running blender headless
bg mode didnt have the screen context callback set. Though this sounds logical, bg mode defines a screen it should be set.
2010-10-27 16:05:31 +00:00
Janne Karhu
7a56940207 Fix for [#24401] Fluid particles leak through walls of moving object 2010-10-27 14:56:53 +00:00
Campbell Barton
2777ba74b0 remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes. 2010-10-27 13:52:12 +00:00
Nathan Letwory
a213dc2679 Commit new splash and bump version. Ready for tagging! 2010-10-27 11:33:04 +00:00
Campbell Barton
d666b4fae5 fix for shift offset in own recent commit for drawing the camera border in camera view. 2010-10-27 11:05:46 +00:00
Nathan Letwory
2f0f257410 Revert /WX here until fix in Blender.py is done. 2010-10-27 10:45:36 +00:00
Campbell Barton
7b8db3fab7 [#24414] Render hanging on small render border.
large render sizes could cause an the threaded tile processor to hang because winx * winy wrapped into a negative value.
also convert winx/winy to floats before multiplying for vector passs.
2010-10-27 10:36:22 +00:00
Campbell Barton
defc47bcb9 recent fix r32626 for [#24339] wasnt correctly clamping the depth rectangle, crashing with grease pencil in some cases. 2010-10-27 08:55:13 +00:00
Campbell Barton
a49d1c20f1 Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash function into path_util.h since these are not fileops. 2010-10-27 06:41:48 +00:00
Campbell Barton
676829ccba workaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes an error.
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.
2010-10-27 06:05:22 +00:00
Matt Ebb
27b527c164 Fix [#23972] 2.54 beta crashes when rendering scene with many volume objects
Sticky-taped on more hacks to the already crumbling shading system.
2010-10-27 02:18:24 +00:00
Nathan Letwory
16e478cdb7 Fix [#24053] 64-bit Windows installer installs keys to 32-bit registry
Reported and patch-suggestion by George Pollard
2010-10-26 23:52:34 +00:00
Nathan Letwory
f875777212 Change /WX away for now, some odd thing going on between cloned environments. Need to check after release. 2010-10-26 23:32:59 +00:00
Campbell Barton
e3f8bcbe88 bugfix #24334] Filename looses all parts after a dot when saving
replacing the extension could remove the frame number added to a path when writing images, so just add the extension rather then replacing even though it gives odd names at times. eg: foo.png0001.tga
2010-10-26 23:28:10 +00:00
Matt Ebb
d9757e2705 Don't reset view clipping to 0.1 on entering local view, if you're working on
something close up with < 0.1 clipping, then toggle into local view it gets very 
annoying.
2010-10-26 22:49:49 +00:00
Nathan Letwory
50c5b7fc5c Some improvements to the uninstaller part:
* don't just recursively delete $BLENDERHOME
* seperately ask confirmation for recursive deleting contents of:
  - $BLENDERHOME\$SHORTVERSION\plugins
  - $BLENDERHOME\$SHORTVERSION\scripts
  - $BLENDERHOME\$SHORTVERSION\config
* Have clear warnings about files going to be deleted
2010-10-26 22:48:26 +00:00
Nathan Letwory
c0314f1041 Make sure plugins/ goes under shortversion/ dir 2010-10-26 22:13:37 +00:00
Nathan Letwory
b6880139e2 Revert 32710 for now, otherwise can't test release building with scons. 2010-10-26 21:16:11 +00:00
Campbell Barton
f13417a969 keep the view centered with camera shift, camera view grease pencil intentionally ignores shift. 2010-10-26 20:51:11 +00:00
Campbell Barton
a44f4dd400 dont use const for matrix arg, since it needs to be cast in most cases. 2010-10-26 20:41:16 +00:00
Campbell Barton
d5f66ea925 partial bugfix [#24002] Constraint "Limit rotation" doesn't work properly
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.
2010-10-26 16:55:38 +00:00
Campbell Barton
f8ec6b8654 move matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers.
also added access to this in python's mathutils.Matrix()
 loc, quat, scale = matrix.decompose()
2010-10-26 12:48:07 +00:00
Nathan Vegdahl
30b4fa2aa8 Removed old rigify code, as it is starting to interfere with the newer Rigify addon.
The newer addon currently resides here: bzr://bzr.cessen.com/rigify
But will eventually be included in svn.
2010-10-26 05:07:09 +00:00
Dalai Felinto
05abc0d3eb blenderplayer building again in CMake+MSVC
(I basically commented out functions already defined in other places)
2010-10-26 01:55:06 +00:00