blender.git
9 years agoFix [#21520] Using sample tool from color ramp sets alpha to 0
Matt Ebb [Wed, 10 Mar 2010 01:59:50 +0000 (01:59 +0000)]
Fix [#21520] Using sample tool from color ramp sets alpha to 0

9 years agosoftbody.c / preparing 2.5 / animate all ..
Jens Ole Wund [Tue, 9 Mar 2010 23:30:32 +0000 (23:30 +0000)]
softbody.c / preparing 2.5 / animate all ..
still not happy with it
loads of issues .. anyone like to join Ulysses?

9 years agoiTaSC: joint limit are now given directly in radiant, no need to convert.
Benoit Bolsee [Tue, 9 Mar 2010 22:44:03 +0000 (22:44 +0000)]
iTaSC: joint limit are now given directly in radiant, no need to convert.

9 years agocant test but this should fix mac build
Campbell Barton [Tue, 9 Mar 2010 19:04:05 +0000 (19:04 +0000)]
cant test but this should fix mac build

9 years agorename some functions to use easier to understand names.
Campbell Barton [Tue, 9 Mar 2010 17:36:23 +0000 (17:36 +0000)]
rename some functions to use easier to understand names.
'BLI_makestringcode' --> 'BLI_path_rel'
'BLI_convertstringcwd' --> 'BLI_path_cwd'
'BLI_convertstringframe' --> 'BLI_path_frame'
'BLI_convertstringframe_range' --> 'BLI_path_frame_range'
'BLI_make_cwdpath' --> 'BLI_path_cwd'

9 years agoadded relative path option for image load and save, relative path option from the...
Campbell Barton [Tue, 9 Mar 2010 16:57:24 +0000 (16:57 +0000)]
added relative path option for image load and save, relative path option from the userprefs wasnt being used.

9 years agoMac + OpenMP + pthreads workaround: recent commit broke compile, just
Brecht Van Lommel [Tue, 9 Mar 2010 16:54:25 +0000 (16:54 +0000)]
Mac + OpenMP + pthreads workaround: recent commit broke compile, just
moved it into threads.c now instead of having it duplicated in various
places.

9 years agoFix render baking crashing on windows/mac. Problem was increased
Brecht Van Lommel [Tue, 9 Mar 2010 16:34:28 +0000 (16:34 +0000)]
Fix render baking crashing on windows/mac. Problem was increased
max number of threads caused Blender to run out of stack space,
now just does dynamic allocation.

9 years agoreproject - clamp image by the maximum texture size, remove debug printf.
Campbell Barton [Tue, 9 Mar 2010 14:35:56 +0000 (14:35 +0000)]
reproject - clamp image by the maximum texture size, remove debug printf.

9 years agocamera override option for scene strips.
Campbell Barton [Tue, 9 Mar 2010 13:52:52 +0000 (13:52 +0000)]
camera override option for scene strips.

9 years agoUpdating/removing really really ancient stuff.
Ton Roosendaal [Tue, 9 Mar 2010 11:42:04 +0000 (11:42 +0000)]
Updating/removing really really ancient stuff.

9 years agomtex buffer copy & paste back for materials.
Campbell Barton [Tue, 9 Mar 2010 09:17:45 +0000 (09:17 +0000)]
mtex buffer copy & paste back for materials.

9 years agoBugfix #21508: Hidden bones remain "selected" and are affected by transforms
Joshua Leung [Tue, 9 Mar 2010 08:31:41 +0000 (08:31 +0000)]
Bugfix #21508: Hidden bones remain "selected" and are affected by transforms

Made hidden bones get ignored by transform code. This should be quite an old bug...

9 years agoFix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead...
Matt Ebb [Tue, 9 Mar 2010 07:41:27 +0000 (07:41 +0000)]
Fix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead of flat/straight

9 years agoremove for bad-level-call & some minor changes to make camera switching neater.
Campbell Barton [Tue, 9 Mar 2010 07:41:04 +0000 (07:41 +0000)]
remove for bad-level-call & some minor changes to make camera switching neater.

9 years agoBugfix #21117: Trying to select overlapping keys in the graph editor only cycles...
Joshua Leung [Tue, 9 Mar 2010 07:09:38 +0000 (07:09 +0000)]
Bugfix #21117: Trying to select overlapping keys in the graph editor only cycles through top two keys
(A masterclass in killing a bug using a sledgehammer...)

Recoded the way that Graph Editor keyframe selection works, replacing the old penalties + closest vert system with a selection queue.

Perhaps the sensitivity tolerance for picking up when a vert is clicked on is too sensitive now, but this can be fixed easily.

9 years agoFix tiny drawing offset in file selector
Matt Ebb [Tue, 9 Mar 2010 07:03:58 +0000 (07:03 +0000)]
Fix tiny drawing offset in file selector

9 years agoFix [#21519] UV Editor header doesn't update when changing proportional editing mode
Matt Ebb [Tue, 9 Mar 2010 06:49:58 +0000 (06:49 +0000)]
Fix [#21519] UV Editor header doesn't update when changing proportional editing mode

Would be nice to separate these properties, so proportional edit/snap are
not linked between 3D View and UV Editor (different areas of workflow).

9 years agoFix [#21145] Preferences: Solid OpenGL lights viewport update
Matt Ebb [Tue, 9 Mar 2010 06:20:08 +0000 (06:20 +0000)]
Fix [#21145] Preferences: Solid OpenGL lights viewport update

9 years agoFix for earlier cache commit.
Janne Karhu [Tue, 9 Mar 2010 04:38:51 +0000 (04:38 +0000)]
Fix for earlier cache commit.

9 years agoFix for: [#20937] Add brush doesnt work when disconnected hair option is enabled.
Janne Karhu [Tue, 9 Mar 2010 03:42:20 +0000 (03:42 +0000)]
Fix for: [#20937] Add brush doesnt work when disconnected hair option is enabled.

Really not much to fix, since it's just not supposed to work. Removed the non-working
brushes (add and puff) from the brush list while hair is disconnected.

9 years agoFix for: [#21105] comb mode - bug with "free edit"
Janne Karhu [Tue, 9 Mar 2010 03:27:05 +0000 (03:27 +0000)]
Fix for: [#21105] comb mode - bug with "free edit"

9 years agoPoint cache optimization: only cache particles that are alive.
Janne Karhu [Tue, 9 Mar 2010 03:01:18 +0000 (03:01 +0000)]
Point cache optimization: only cache particles that are alive.

This reduces point cache sizes dramatically especially if particle
life time is small compared to total simulation length. For example
with the settings: particle amount = 10000, start = 1, end = 200,
life = 10, cache step = 1, the unoptimized blend file size (compressed)
was a little over 22 Mb and with this optimization the file is a little
under 2 Mb (again compressed). In addition to saving memory/disk space
this also probably speeds up reading from cache, since there's less
data to read.

As an additional fix the memory cache size (displayed in cache panel)
is now calculated correctly.

9 years agoFix [#21047] Sample color too dark when not using color managment
Matt Ebb [Tue, 9 Mar 2010 02:29:59 +0000 (02:29 +0000)]
Fix [#21047] Sample color too dark when not using color managment

9 years agoFix [#21022] Compositors File Output node doesn't use Colour Managment
Matt Ebb [Tue, 9 Mar 2010 01:25:15 +0000 (01:25 +0000)]
Fix [#21022] Compositors File Output node doesn't use Colour Managment

9 years ago[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250...
Martin Poirier [Tue, 9 Mar 2010 01:19:32 +0000 (01:19 +0000)]
[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1

Proper fix for this. Moving special mouse input stuff to custom callbacks (this also makes the per transform main functions a bit cleaner).

It also fixes the operator property (value) for shear and warp.

9 years ago* Fix for crash using texture nodes in displace modifier
Matt Ebb [Tue, 9 Mar 2010 00:35:05 +0000 (00:35 +0000)]
* Fix for crash using texture nodes in displace modifier

Modifier code was asking for filtered textures without sending derivatives.
Disabled this and also checks for filtered/non-filtered.

Brecht, I assumed this was ok due to the existence of the p->osatex variable
- if this isn't what you had in mind, please change or let me know :)

9 years agoimprove brush size keys so they dont change by 20 each time (bad for small brushes...
Campbell Barton [Mon, 8 Mar 2010 23:34:38 +0000 (23:34 +0000)]
improve brush size keys so they dont change by 20 each time (bad for small brushes), added wm.context_scale_int() operator.

9 years agooption to use offscreen opengl drawing with the sequencer scene strips.
Campbell Barton [Mon, 8 Mar 2010 21:33:51 +0000 (21:33 +0000)]
option to use offscreen opengl drawing with the sequencer scene strips.

warning, uses bad level call, will need to resolve very very soon!

9 years agoscons build systems
Ken Hughes [Mon, 8 Mar 2010 20:37:45 +0000 (20:37 +0000)]
scons build systems
-------------------
Revert inadvertent ffmpeg changes.

9 years agoscons build systems
Ken Hughes [Mon, 8 Mar 2010 20:32:17 +0000 (20:32 +0000)]
scons build systems
-------------------
Allows static libs to be passed correctly to the linker (i.e., full paths to
libs which end in ".a" are passed to linker without processing).  I've been
using this on linux release builds since sometime around 2.49 without problem
but hesitated to commit since I don't know if it would affect any other
platforms.  If you're using static libs on another platform and it breaks,
let me know.

9 years agoimage re-project now uses offscreen render function and has input for render size.
Campbell Barton [Mon, 8 Mar 2010 20:08:04 +0000 (20:08 +0000)]
image re-project now uses offscreen render function and has input for render size.

unrelated changes that ended up being more trouble to commit separate...

- removed BLI_split_dirfile(), was nasty, occasionaly modifying the source string, it could create directories and used the $CWD in some cases. was only used in 2 places in filesel.c, if this gives problems can address without bringing back this function.
  renamed BLI_split_dirfile_basic --> BLI_split_dirfile

- view3d_operator_needs_opengl was being called for offscreen render when it wasnt needed.

9 years agoMSVC projectfiles_vc9:
Andrea Weikert [Mon, 8 Mar 2010 18:36:17 +0000 (18:36 +0000)]
MSVC projectfiles_vc9:
* maintenance

9 years agomove render operators into their own files, render_internal.c & render_opengl.c,...
Campbell Barton [Mon, 8 Mar 2010 16:36:53 +0000 (16:36 +0000)]
move render operators into their own files, render_internal.c & render_opengl.c, rather then have them in the screen module.
also rename render operators SCREEN_OT_ --> RENDER_OT_

9 years agoBugfix: multires save external was not working. Just disabled operator poll
Brecht Van Lommel [Mon, 8 Mar 2010 15:44:26 +0000 (15:44 +0000)]
Bugfix: multires save external was not working. Just disabled operator poll
for now, but there's actually a deeper issue here, the modifier is no longer
in context after the file browser, not sure how to solve this.

9 years agoDepsgraph: more tweaks to last commit to get it actually working
Brecht Van Lommel [Mon, 8 Mar 2010 15:38:10 +0000 (15:38 +0000)]
Depsgraph: more tweaks to last commit to get it actually working
int more complex files.

9 years agoDepsgraph: always execute scene camera as if it was on a visible layer,
Brecht Van Lommel [Mon, 8 Mar 2010 15:21:39 +0000 (15:21 +0000)]
Depsgraph: always execute scene camera as if it was on a visible layer,
because even if it is not it can still affect the 3d view or render.

9 years agoSend object's modifiers were changed in conversion operator.
Sergey Sharybin [Mon, 8 Mar 2010 14:35:38 +0000 (14:35 +0000)]
Send object's modifiers were changed in conversion operator.
This will prevent displaying data on modifiers page after conversion is over.

9 years agoChange airbrush rate min/max to allow lower values and add separate
Brecht Van Lommel [Mon, 8 Mar 2010 14:31:27 +0000 (14:31 +0000)]
Change airbrush rate min/max to allow lower values and add separate
soft/hard limits for even lower/higher ones.

9 years ago- Fixed trouble with rendering curves with disabled modifiers, which are
Sergey Sharybin [Mon, 8 Mar 2010 13:49:13 +0000 (13:49 +0000)]
- Fixed trouble with rendering curves with disabled modifiers, which are
  disabled for realtime displaying but enabled for rendering.
- Calculate tex space for curves before modifiers applying.

9 years agoFixed segmentation fault when converting mesh to mesh with non-empty modifiers stack.
Sergey Sharybin [Mon, 8 Mar 2010 13:49:05 +0000 (13:49 +0000)]
Fixed segmentation fault when converting mesh to mesh with non-empty modifiers stack.

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