blender.git
9 years agoFix [#21469] long paths can't be scrolled with the mouse
Matt Ebb [Mon, 8 Mar 2010 12:35:59 +0000 (12:35 +0000)]
Fix [#21469] long paths can't be scrolled with the mouse

9 years agoworkaround for [#21486] Python debuger pdb don't work
Campbell Barton [Mon, 8 Mar 2010 12:29:58 +0000 (12:29 +0000)]
workaround for [#21486] Python debuger pdb don't work

setting sys.stdin to None is done so python wont lock blender when it tries to read from the input. - help() from the console does this.
Running blender with -d keeps the stdin so python debugging can work. add info in the help message about this.

eventually it might be best to replace sys.stdin with our own object which interacts with the console but this is not trivial.

9 years agocommit from r27250 to fix bug #21433, broke local axis rotation for pose bones and...
Campbell Barton [Mon, 8 Mar 2010 11:47:43 +0000 (11:47 +0000)]
commit from r27250 to fix bug #21433, broke local axis rotation for pose bones and objects.
commented fix and reopened report.

9 years agoCtrl+RMB support for selecting markers when sync markers is enabled.
Campbell Barton [Mon, 8 Mar 2010 11:10:04 +0000 (11:10 +0000)]
Ctrl+RMB support for selecting markers when sync markers is enabled.

9 years agoFixed segmentation fault error when entering curve's edit mode when
Sergey Sharybin [Mon, 8 Mar 2010 10:05:51 +0000 (10:05 +0000)]
Fixed segmentation fault error when entering curve's edit mode when
there is sufsurf modifier first in the stack.

Some optimizations in curve_calc_modifiers_post():
  - Calculate allverts array only for curve modifier applying to curve
    without derived mesh.
  - Do not calculate deformedVerts array each time deformation modifier
    is applying to derived mesh.

9 years agooption to transform markers in the dope sheet, needed for re-timing animation. curren...
Campbell Barton [Mon, 8 Mar 2010 09:06:58 +0000 (09:06 +0000)]
option to transform markers in the dope sheet, needed for re-timing animation. currently supports translate and extend.

TODO:
- select markers in dope sheet.
- transform time scale.

9 years agore-project images now save as PNG's rather then TAGA's, should work around a problem...
Campbell Barton [Sun, 7 Mar 2010 20:39:27 +0000 (20:39 +0000)]
re-project images now save as PNG's rather then TAGA's, should work around a problem photoshop has with saving taga's with alpha channels.

9 years agorna image.file_format, can be set before saving to choose a file format from a genera...
Campbell Barton [Sun, 7 Mar 2010 20:27:40 +0000 (20:27 +0000)]
rna image.file_format, can be set before saving to choose a file format from a generated image.

9 years ago[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250...
Martin Poirier [Sun, 7 Mar 2010 15:36:52 +0000 (15:36 +0000)]
[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1

Needed to reassign calculated rotation into the values vector.

9 years agoReadme Update to Alpha 2 (better late than never)
Thomas Dinges [Sun, 7 Mar 2010 13:18:13 +0000 (13:18 +0000)]
Readme Update to Alpha 2 (better late than never)

9 years agoaparently startfile didnt work. trying 'start' command for windows.
Campbell Barton [Sun, 7 Mar 2010 11:41:26 +0000 (11:41 +0000)]
aparently startfile didnt work. trying 'start' command for windows.

9 years agoEnable "Build" modifier for curves/surfaces.
Sergey Sharybin [Sun, 7 Mar 2010 10:40:52 +0000 (10:40 +0000)]
Enable "Build" modifier for curves/surfaces.

9 years agoRestore iTaSC UI.
Benoit Bolsee [Sun, 7 Mar 2010 09:53:59 +0000 (09:53 +0000)]
Restore iTaSC UI.

9 years agoimage editor user preference.
Campbell Barton [Sun, 7 Mar 2010 09:23:57 +0000 (09:23 +0000)]
image editor user preference.

image.py has a function image_editor_guess(), please test on windows and mac. (using 'startfile' and 'open')
this is only used when the image editor is not set.

9 years agoFix for convert_exec()
Sergey Sharybin [Sun, 7 Mar 2010 05:04:22 +0000 (05:04 +0000)]
Fix for convert_exec()

"Keep original" option now works for all objects' types

9 years agook now all 3 major platforms should work
Tom Musgrove [Sun, 7 Mar 2010 02:38:15 +0000 (02:38 +0000)]
ok now all 3 major platforms should work

9 years agodoh that is what i get for committing before testing... adding missing lines
Tom Musgrove [Sun, 7 Mar 2010 02:14:52 +0000 (02:14 +0000)]
doh that is what i get for committing before testing... adding missing lines

9 years agoreverting 27304, please test before committing.
Campbell Barton [Sun, 7 Mar 2010 02:12:51 +0000 (02:12 +0000)]
reverting 27304, please test before committing.

9 years agoallow darwin and windows users to use the view based image editing also, temporary...
Tom Musgrove [Sun, 7 Mar 2010 02:08:43 +0000 (02:08 +0000)]
allow darwin and windows users to use the view based image editing also, temporary hard coded workaround till it is setable via prefs

9 years agomplayer preset, plays back movies and image sequences.
Campbell Barton [Sun, 7 Mar 2010 02:04:30 +0000 (02:04 +0000)]
mplayer preset, plays back movies and image sequences.
added scene.render.is_movie_format

9 years agoNo code chanced .. just tagging hot spots
Jens Ole Wund [Sun, 7 Mar 2010 00:11:40 +0000 (00:11 +0000)]
No code chanced .. just tagging hot spots
for 2.5 paradigm 'animate everything'

9 years agomasking wast used for reprojectuion (used for stencil & normal falloff)
Campbell Barton [Sat, 6 Mar 2010 22:53:31 +0000 (22:53 +0000)]
masking wast used for  reprojectuion (used for stencil & normal falloff)

9 years agofix for using an un-initialized pointer & quiet compiler wanring on raytrace test.
Campbell Barton [Sat, 6 Mar 2010 22:30:09 +0000 (22:30 +0000)]
fix for using an un-initialized pointer & quiet compiler wanring on raytrace test.

9 years agoflipping "tab as space" option (so it's on by default - argh ;)
Dalai Felinto [Sat, 6 Mar 2010 22:12:42 +0000 (22:12 +0000)]
flipping "tab as space" option (so it's on by default - argh ;)
(and fix error in creator.c last commit)

9 years agore-project + gimp integration, now its easy to edit the view in the gimp and apply...
Campbell Barton [Sat, 6 Mar 2010 21:47:16 +0000 (21:47 +0000)]
re-project + gimp integration, now its easy to edit the view in the gimp and apply the projection back without manually opening and saving files.

9 years agoTab as Space as a User Preference option. to affect new and loaded text files.
Dalai Felinto [Sat, 6 Mar 2010 21:45:46 +0000 (21:45 +0000)]
Tab as Space as a User Preference option. to affect new and loaded text files.
* I put it under General->System. Not sure is the better place for it though (space_userpref.py)
** also: creator.c fix to avoid autoplay of games when scripts are disabled.

9 years agoBGE 2D Filters: slightly change dfelinto patch to use SCA_IScene instead of KX_Scene...
Benoit Bolsee [Sat, 6 Mar 2010 21:22:09 +0000 (21:22 +0000)]
BGE 2D Filters: slightly change dfelinto patch to use SCA_IScene instead of KX_Scene. It is rather anecdotic since KX_Scene is the only implementation of SCA_IScene but it's better to keep GameLogic and Ketsji separated.

9 years agore-project: operators for projecting from a view screenshot rather then a camera.
Campbell Barton [Sat, 6 Mar 2010 19:46:21 +0000 (19:46 +0000)]
re-project: operators for projecting from a view screenshot rather then a camera.
 - new mode for projecting an image with the view matrix saved in the image id-properties rather then using the camera matrix.
 - operator to screenshot the view and create a new image with the view matrix stored in the image.

these will be used for better re-project integration and are not immediately very useful.

9 years agodisallow naming ID datablocks an empty string, this wont work, you cant select them...
Campbell Barton [Sat, 6 Mar 2010 18:21:57 +0000 (18:21 +0000)]
disallow naming ID datablocks an empty string, this wont work, you cant select them in the ID user input and it can mess up writing files based on names.
also fixed some warnings.

9 years agoFull Path for GL include, fixing compile for scons.
Thomas Dinges [Sat, 6 Mar 2010 13:43:47 +0000 (13:43 +0000)]
Full Path for GL include, fixing compile for scons.

Note: /include doesnt have a scons script yet, so fixing it this way.

9 years agopython api function for rna objects: object.as_pointer()
Campbell Barton [Sat, 6 Mar 2010 12:37:29 +0000 (12:37 +0000)]
python api function for rna objects: object.as_pointer()

This means we can write low level apis in pyton or C where blender data is passed to external C modules without having to have blender support this directly.

Example use case is to get an image pointer then use ctypes to get the image buffer and pass it to a C image processing function.

9 years agoRNA/Py API from 2.4x
Campbell Barton [Sat, 6 Mar 2010 12:02:27 +0000 (12:02 +0000)]
RNA/Py API from 2.4x
Image functions: reload(), update(), gl_load(), gl_free()

9 years agoFixed memory leak caused by incorrect adding data to mesh's layer in nurbs_to_mesh().
Sergey Sharybin [Sat, 6 Mar 2010 10:22:27 +0000 (10:22 +0000)]
Fixed memory leak caused by incorrect adding data to mesh's layer in nurbs_to_mesh().

9 years agopep8 cleanup
Campbell Barton [Sat, 6 Mar 2010 01:40:29 +0000 (01:40 +0000)]
pep8 cleanup

9 years agoFix for #21420, Minor bug with editing keymaps
Elia Sarti [Sat, 6 Mar 2010 00:17:10 +0000 (00:17 +0000)]
Fix for #21420, Minor bug with editing keymaps

Disable add item button for non-editable keymaps

9 years agoBugfix for #21466, paste and copy ramps doesnt work
Elia Sarti [Fri, 5 Mar 2010 23:43:28 +0000 (23:43 +0000)]
Bugfix for #21466, paste and copy ramps doesnt work

Fixed typo

9 years agoreproject
Campbell Barton [Fri, 5 Mar 2010 22:01:42 +0000 (22:01 +0000)]
reproject
- use render mesh settings rather then view settings.
- fixed bug with brush size being overwritten and allowing non mesh objects to be projected onto.
- made the paint loop less messy & minor cleanup

9 years agoreprojection
Campbell Barton [Fri, 5 Mar 2010 20:22:17 +0000 (20:22 +0000)]
reprojection
- blend in the projected image by its alpha rather then copy its alpha. this way you can easily mask out areas not to touch.
- undo was crashing.

9 years agobug from own commit 27277, ortho wasnt being disabled in render data once set.
Campbell Barton [Fri, 5 Mar 2010 19:57:10 +0000 (19:57 +0000)]
bug from own commit 27277, ortho wasnt being disabled in render data once set.

9 years agoBugfix for #21452, Crashdown in Video Sequence Editor
Elia Sarti [Fri, 5 Mar 2010 19:35:17 +0000 (19:35 +0000)]
Bugfix for #21452, Crashdown in Video Sequence Editor

Added some NULL checks

9 years agoreproject operator, use to reproject edited renders back into textures.
Campbell Barton [Fri, 5 Mar 2010 18:19:32 +0000 (18:19 +0000)]
reproject operator, use to reproject edited renders back into textures.
- uses project paint options (UV bleed, normals, culling)
- bicubic interolation from the image
- multithraded

TODO.
project into multiple objects at once.

9 years agoConstructive modifiers for curves and surfaces
Sergey Sharybin [Fri, 5 Mar 2010 16:47:52 +0000 (16:47 +0000)]
Constructive modifiers for curves and surfaces

Used approach with creating DerivedMesh for curves whet they've got such modifiers.

Available modifiers are: array, edge split, mirror, solidify, subsurf.

9 years agoFix #21458: tangent space normal maps didn't work correct in some
Brecht Van Lommel [Fri, 5 Mar 2010 15:36:05 +0000 (15:36 +0000)]
Fix #21458: tangent space normal maps didn't work correct in some
cases due to recent fix to avoid division by zero.

9 years agoFix #21442: RNA mesh texture face layer was giving corrupt data while
Brecht Van Lommel [Fri, 5 Mar 2010 15:16:37 +0000 (15:16 +0000)]
Fix #21442: RNA mesh texture face layer was giving corrupt data while
in edit mode. Accessing this data would require editmesh wrapping, so
for now just don't allowed this to be accessed in edit mode.

9 years agoFix #21374: OS X Makefiles missed optimization flags in 2.5 since at least
Brecht Van Lommel [Fri, 5 Mar 2010 14:29:48 +0000 (14:29 +0000)]
Fix #21374: OS X Makefiles missed optimization flags in 2.5 since at least
two years, got (presumably) commented out for some test and never added back.

9 years agoutility function object_camera_matrix, moved code from RE_SetCamera into this.
Campbell Barton [Fri, 5 Mar 2010 14:06:39 +0000 (14:06 +0000)]
utility function object_camera_matrix, moved code from RE_SetCamera into this.
use for getting the render matrix of a camera (view plane, winmat, clipstart/end) without rendering.

9 years agoremove viewfac from Render struct, its only used locally
Campbell Barton [Fri, 5 Mar 2010 13:00:48 +0000 (13:00 +0000)]
remove viewfac from Render struct, its only used locally

9 years agoBugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into...
Joshua Leung [Fri, 5 Mar 2010 11:35:15 +0000 (11:35 +0000)]
Bugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into account, so the ghost curves were calculated+stored wrong

9 years agoBringing back "Auto Start" option in the Game Menu.
Dalai Felinto [Fri, 5 Mar 2010 10:37:55 +0000 (10:37 +0000)]
Bringing back "Auto Start" option in the Game Menu.
It's (still) not working since the pool in the operator will not allow this operator to run without context.
For the window/area/screen has to be created somewhere (maybe in WM_init_game ).

I have no idea on what should be done to initialize it here, so if anyone knows how to proceed, please help here.
* side note: should we also have it as a command line option?

9 years agore-arrange paint initialization (no functional change)
Campbell Barton [Fri, 5 Mar 2010 10:26:23 +0000 (10:26 +0000)]
re-arrange paint initialization (no functional change)

9 years agominor change to dupli draw looping, no functional changes.
Campbell Barton [Fri, 5 Mar 2010 08:53:16 +0000 (08:53 +0000)]
minor change to dupli draw looping, no functional changes.

9 years agopartial fix for: [#21400] bpy.ops.view3d.game_start() in a startup script (-P) crashe...
Dalai Felinto [Fri, 5 Mar 2010 07:42:46 +0000 (07:42 +0000)]
partial fix for: [#21400] bpy.ops.view3d.game_start() in a startup script (-P) crashes Blender
Creating a proper pool for the game_start() operator. I still want to find a way to force the start of a game from the commandline.

9 years agoPatch #21459: Expose viewmat (in Region3DView) via the py API
Joshua Leung [Fri, 5 Mar 2010 03:16:16 +0000 (03:16 +0000)]
Patch #21459: Expose viewmat (in Region3DView) via the py API
Patch by Martin Burbaum (pontiac), with some changes from me

Added access to the View (from patch) and Perspective (additional change) matrices for 3D Regions in RNA.

Also, made these non editable for now (my change), since although users might need to get these matrices to make it easier to determine any projections that may be needed for funky operator drawing-hacks to be done, there is almost certainly no need for changing those matrices...

9 years agoBugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI...
Joshua Leung [Fri, 5 Mar 2010 02:43:40 +0000 (02:43 +0000)]
Bugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI', which meant that the same region contents would get drawn in instances all over, causing quite some confusion.

9 years agoBugfix #21463: Bone driven Shapekey broken in 2.5Alpha2 (for drivers from 2.49b)
Joshua Leung [Fri, 5 Mar 2010 01:29:56 +0000 (01:29 +0000)]
Bugfix #21463: Bone driven Shapekey broken in 2.5Alpha2 (for drivers from 2.49b)

Animation conversion needed to make transform channel driver vars (for bones) to be in local space, since that's what the old code did (albeit in a slightly more roundabout way).

9 years agoBugfix #21215: Panning Properties header shows unnecessary space.
Joshua Leung [Fri, 5 Mar 2010 01:18:12 +0000 (01:18 +0000)]
Bugfix #21215: Panning Properties header shows unnecessary space.

There was an additional 'magic number' offset for the header width, from the days when there was the frame number and subtabs in the header.

--

Removed an obsolete and commented out line.

9 years agousing displist with dupli objects logic was flawed, it would only try and use a displ...
Campbell Barton [Thu, 4 Mar 2010 15:58:27 +0000 (15:58 +0000)]
using displist with dupli objects logic was flawed, it would only try and use a displist with a new object if the previous one worked with a displist.
rather then this, if the object changes, re-test if a displist is possible.
also check if the next object matches before making a displist else there is no point since it will be freed right after.

9 years agominor fix to dupli drawing, compare with the previous drawn object (not the last...
Campbell Barton [Thu, 4 Mar 2010 14:59:20 +0000 (14:59 +0000)]
minor fix to dupli drawing, compare with the previous drawn object (not the last object which may not have been drawn)

9 years agoeffector shape names: old/new --> point/plane
Campbell Barton [Thu, 4 Mar 2010 11:17:13 +0000 (11:17 +0000)]
effector shape names: old/new --> point/plane

9 years agosmall png include adjustments (ifndef NOPNG ...).
Dalai Felinto [Wed, 3 Mar 2010 19:34:17 +0000 (19:34 +0000)]
small png include adjustments (ifndef NOPNG ...).
* gameplayer is now probably not going to build without PNG turned ON.

To fix that it would be necessary to use #ifndef NOPNG  around the GPC_Canvas::MakeScreenShot.
Since I don't this function it's working in 2.5 yet it's better to wait for that before doing it.

9 years agoselect roots of the hair verts when converting hair into a mesh.
Campbell Barton [Wed, 3 Mar 2010 19:22:02 +0000 (19:22 +0000)]
select roots of the hair verts when converting hair into a mesh.

9 years agofix for CMake compile in windows. ($PNG_INC was needed) - partial revert of commit...
Dalai Felinto [Wed, 3 Mar 2010 19:18:50 +0000 (19:18 +0000)]
fix for CMake compile in windows. ($PNG_INC was needed) - partial revert of commit 27251

9 years ago[#21436] Do not set BASACT to NULL when new base wasn't created in convert_exec
Campbell Barton [Wed, 3 Mar 2010 18:49:26 +0000 (18:49 +0000)]
[#21436] Do not set BASACT to NULL when new base wasn't created in convert_exec
by Sergey Sharybin (nazgul)

(from the patch)
When new base wasn't created in convert_exec() function. BASACT will set to NULL, which is not convenient. For example,
u can't enter edit mode after converting curve to mesh. Now BASACT changes only if base for active object was changed.

9 years agofix for minor errors/warnings
Campbell Barton [Wed, 3 Mar 2010 13:59:57 +0000 (13:59 +0000)]
fix for minor errors/warnings

9 years agofix for more crashes with baked fcurves
Campbell Barton [Wed, 3 Mar 2010 13:20:18 +0000 (13:20 +0000)]
fix for more crashes with baked fcurves

9 years agobaked fcurves would crash on deleting in the graph editor
Campbell Barton [Wed, 3 Mar 2010 12:53:26 +0000 (12:53 +0000)]
baked fcurves would crash on deleting in the graph editor

9 years agomarker/camera select, makes active as well as selecting.
Campbell Barton [Wed, 3 Mar 2010 11:48:03 +0000 (11:48 +0000)]
marker/camera select, makes active as well as selecting.

9 years agobugfix [#21428] Particle number display offset
Campbell Barton [Wed, 3 Mar 2010 11:40:12 +0000 (11:40 +0000)]
bugfix [#21428] Particle number display offset

9 years agoworldspace text locations & made some improvements to string formatting for particle...
Campbell Barton [Wed, 3 Mar 2010 11:23:59 +0000 (11:23 +0000)]
worldspace text locations & made some improvements to string formatting for particle number display.

9 years agoset the context on importing bpy module.
Campbell Barton [Wed, 3 Mar 2010 08:56:48 +0000 (08:56 +0000)]
set the context on importing bpy module.

9 years agomove to make way for external svn addons
Campbell Barton [Wed, 3 Mar 2010 07:34:13 +0000 (07:34 +0000)]
move to make way for external svn addons

9 years agoBGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks...
Dalai Felinto [Wed, 3 Mar 2010 06:38:47 +0000 (06:38 +0000)]
BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) breaks backward compatibility !!!

Originally we had 2DFilters (m_filtermanager) stored in RenderTools. That way filters were stored globally and were being called once per each scene. This was producing two big problems: (1) performance and (2) flexibility of use.

(1) Performance - To run the filters 2X == 2X slower
(2) flexibility of use - Very often we want the filter in the scene but not in the UI for example.

For those reasons I believe that 2DFilters with multiple scenes was very useless or unpredictable. I hope they work fine now.
To make it work as before (2.4) you can simply recreate the 2dfilter actuators across the scenes.

* * * * *

Imagine that we have:
(a) Main Scene
(b) Overlay Scene

in Main Scene the Z Buffer and RGB will be from the main scene.
in Overlay Scene the Z Buffer will be from the Overlay Scene and the RBG buffer is from both [(a + 2D Filter) + b].

So in pseudo code if we have a,b,c,d,e scenes we have: (2DFilterE(2DFilterD(2DFilterC(2DFilterB(2DFilterA(a) + b) + c) + d) + e)

9 years agoMake object stat consistent with the rest of counters (selected-total).
Guillermo S. Romero [Tue, 2 Mar 2010 22:19:32 +0000 (22:19 +0000)]
Make object stat consistent with the rest of counters (selected-total).

9 years agoSplash for testbuild update...
Ton Roosendaal [Tue, 2 Mar 2010 19:24:20 +0000 (19:24 +0000)]
Splash for testbuild update...

9 years agoBlender internal number upped to 252, so it matches testbuild
Ton Roosendaal [Tue, 2 Mar 2010 18:49:09 +0000 (18:49 +0000)]
Blender internal number upped to 252, so it matches testbuild
number 2.5 alpha 2

9 years agofairly horrid feature so Colin can see at a glance what cameras are enabled for switc...
Campbell Barton [Tue, 2 Mar 2010 17:17:34 +0000 (17:17 +0000)]
fairly horrid feature so Colin can see at a glance what cameras are enabled for switching.
draw timeline text 50% alpha when cameras are disabled.

9 years agoCtrl+RMB on markers selects their cameras too
Campbell Barton [Tue, 2 Mar 2010 16:57:39 +0000 (16:57 +0000)]
Ctrl+RMB on markers selects their cameras too

9 years agoconvert to mesh (Alt+C), was failing in cases when MDef was used. make the mesh from...
Campbell Barton [Tue, 2 Mar 2010 15:33:33 +0000 (15:33 +0000)]
convert to mesh (Alt+C), was failing in cases when MDef was used. make the mesh from the original rather then the copy.

9 years agofix for OBJ exporting Texface images
Campbell Barton [Tue, 2 Mar 2010 14:57:28 +0000 (14:57 +0000)]
fix for OBJ exporting Texface images

9 years agoInfo Header: Non-blocking Info Messages
Joshua Leung [Tue, 2 Mar 2010 11:48:40 +0000 (11:48 +0000)]
Info Header: Non-blocking Info Messages

Reports (i.e. 'info' or 'errors') are now shown in the info header in place of the scene statistics if the last executed operator had some, with this info disappearing again once another operator is run (to show scene statistics again).

For example, this means that info such as the the number of verts merged, or whether a Keying Set successfully inserted keyframes, etc. is now shown again somewhere, and that this is done in a non-blocking manner.

The current implementation is still a bit crude (i.e. lacking fancy polish), but is at least barebones functional. The todos...
* When more than 1 report message is generated by the last operator, there is currently a display of the number of reports. In future, it would be nice to be able to add a button beside this or make the label clickable with appropriate text indicating this (commented out atm) to show popup menu of all the reports...

* There could probably be some kind of coloured backdrop behind the text. Currently using standard box, but that has padding problems, and lacks visual interest.
* Timer based fade out/disappear?

9 years agobugfix for displaying ID properties
Campbell Barton [Tue, 2 Mar 2010 11:35:28 +0000 (11:35 +0000)]
bugfix for displaying ID properties
- fixed memleak from 2.4x with setting arrays from python
- basic support for IDPropertyArrays

 context.object["foo"] = [{"smap": 10}, {"foo": 2}]

9 years agopatch from Sergey Sharybin (nazgul), use buildinfod for the player.
Campbell Barton [Tue, 2 Mar 2010 09:45:12 +0000 (09:45 +0000)]
patch from Sergey Sharybin (nazgul), use buildinfod for the player.

9 years agoReplace the >>why is this here?? comment by some hard-earned experience with the...
Erwin Coumans [Mon, 1 Mar 2010 19:18:56 +0000 (19:18 +0000)]
Replace the >>why is this here?? comment by some hard-earned experience with the .bullet file format (derived from .blend)

9 years agoMSVC projectfiles_vc9:
Andrea Weikert [Mon, 1 Mar 2010 18:34:33 +0000 (18:34 +0000)]
MSVC projectfiles_vc9:
* added file blf.c in BPY_python
* added headers from generic subdir to project

9 years agoFix #21227, #21346 and #21336: image texture wasn't centered correctly
Brecht Van Lommel [Mon, 1 Mar 2010 18:11:09 +0000 (18:11 +0000)]
Fix #21227, #21346 and #21336: image texture wasn't centered correctly
when sculpting and using it from material nodes.

9 years agoallow display lists for dupli objects within a dupli list, significant speedup for...
Campbell Barton [Mon, 1 Mar 2010 17:53:33 +0000 (17:53 +0000)]
allow display lists for dupli objects within a dupli list, significant speedup for duplifaces within dupligroups in one of the durian scenes.

9 years agobugfix [#21405] Error on loading of thumbnails from network renderer [27204]
Campbell Barton [Mon, 1 Mar 2010 12:44:28 +0000 (12:44 +0000)]
bugfix [#21405] Error on loading of thumbnails from network renderer [27204]

9 years agoDelete keyframe API method now takes array_index = -1 to delete keyframes from entire...
Joshua Leung [Mon, 1 Mar 2010 10:43:02 +0000 (10:43 +0000)]
Delete keyframe API method now takes array_index = -1 to delete keyframes from entire arrays, as for insert keyframe.

Enabled the 'keyframe_delete' method for RNA structs.

9 years agoparts of the Python API are unstable, big discalmer in API docs main page, API Docs...
Campbell Barton [Mon, 1 Mar 2010 10:34:54 +0000 (10:34 +0000)]
parts of the Python API are unstable, big discalmer in API docs main page, API Docs title and interactive console banner.

9 years agoMissed a spot when renaming the API functions for adding Keying Set paths
Joshua Leung [Mon, 1 Mar 2010 09:42:39 +0000 (09:42 +0000)]
Missed a spot when renaming the API functions for adding Keying Set paths

Also some indention/whitespace tweaks

9 years agoBugfix #21262: Loading Alpha 0 project crash in Alpha 1
Joshua Leung [Mon, 1 Mar 2010 06:23:59 +0000 (06:23 +0000)]
Bugfix #21262: Loading Alpha 0 project crash in Alpha 1

Old temp-pointers for File Browser instances were not being cleared on file load, resulting in crashes when trying to free temp screen layouts that contained file browser instance data.

9 years agoBugfix #21384: Bone Driven Shapekeys Child Evaluation Problem
Joshua Leung [Mon, 1 Mar 2010 05:19:07 +0000 (05:19 +0000)]
Bugfix #21384: Bone Driven Shapekeys Child Evaluation Problem

Transform channel drivers for bones in 'localspace' was using the wrong matrix when getting the transforms. I had been assuming that pchan->chan_mat always contained only the matrix-ised transform values stored in the pchan (which is true while constraints are being evaluated, but not afterwards).

Changes:
- Added a new function to calculate this matrix instead of directly writing it on the pchan->chan_matrix field.
- Also, made the normalisation of the quaternion values during this process be done on a temp var instead of on the stored value. This was a constant source of confusion in the past, so let's see if we can do without it now :)

Unrelated to this commit, I've also fixed a compiler warning with previous commit that I missed (missing include).

9 years agoBugfix #21398: Renaming sequencer strip disables F-Curves
Joshua Leung [Mon, 1 Mar 2010 02:33:53 +0000 (02:33 +0000)]
Bugfix #21398: Renaming sequencer strip disables F-Curves

Related F-Curves were not being renamed when Sequencer strips were renamed.

9 years agoreplace operator options bl_undo and bl_register with bl_options
Campbell Barton [Mon, 1 Mar 2010 00:03:51 +0000 (00:03 +0000)]
replace operator options bl_undo and bl_register with bl_options
eg.
 bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'}

This didnt exist when operators were originally wrapped.

9 years agoremove netrender reference from rigify
Campbell Barton [Sun, 28 Feb 2010 23:25:00 +0000 (23:25 +0000)]
remove netrender reference from rigify

9 years agopatch from Clark Gaebel, use const char * for buildinfo strings, also updated bpy_app.c
Campbell Barton [Sun, 28 Feb 2010 22:48:50 +0000 (22:48 +0000)]
patch from Clark Gaebel, use const char * for buildinfo strings, also updated bpy_app.c

9 years agocomparing Vector(-2, 0, 0) and Vector(2, 0, 0) was returning true, this bug is years...
Campbell Barton [Sun, 28 Feb 2010 19:27:06 +0000 (19:27 +0000)]
comparing Vector(-2, 0, 0) and Vector(2, 0, 0) was returning true, this bug is years old, strange nobody noticed.
use float comparison from the "Ever Faster Float Comparisons" paper, tested with random values as well as random values converted to ints (where this existing code would fail).

9 years agoRevert back debuging code that made drawing transform constraints only work on one...
Martin Poirier [Sun, 28 Feb 2010 17:51:23 +0000 (17:51 +0000)]
Revert back debuging code that made drawing transform constraints only work on one side.

9 years ago[#19918] edit mode with mesh only having edges without faces+face select mode
Martin Poirier [Sun, 28 Feb 2010 17:47:49 +0000 (17:47 +0000)]
[#19918] edit mode with mesh only having edges without faces+face select mode

Make select all operator select mode sensitive (it won't select elements that aren't selectable)

Patch by Sergey Sharybin (nazgul) (slightly modified)

9 years agoupdate for .B.blend
Campbell Barton [Sun, 28 Feb 2010 17:42:05 +0000 (17:42 +0000)]
update for .B.blend
- disable running scripts automatically
- set sequencer image preview
- added a 3D viewport in the python script screen & selected 'Text' in the next editor.
- enable stamp rendertime by default. (stamp its self is disabled)
- set the stamp font size to 12 (was 8, too small)

also set the default font size to 12 for new scenes.