Commit Graph

19670 Commits

Author SHA1 Message Date
Matt Ebb
ec303cf980 Fix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead of flat/straight 2010-03-09 07:41:27 +00:00
Campbell Barton
d4756d395b remove for bad-level-call & some minor changes to make camera switching neater. 2010-03-09 07:41:04 +00:00
Joshua Leung
9c513346a5 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.
2010-03-09 07:09:38 +00:00
Matt Ebb
74d58017e6 Fix tiny drawing offset in file selector 2010-03-09 07:03:58 +00:00
Matt Ebb
e8f32d0c05 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).
2010-03-09 06:49:58 +00:00
Matt Ebb
2ad3d8f158 Fix [#21145] Preferences: Solid OpenGL lights viewport update 2010-03-09 06:20:08 +00:00
Janne Karhu
05332ed0ed Fix for earlier cache commit. 2010-03-09 04:38:51 +00:00
Janne Karhu
63d96b8ca0 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.
2010-03-09 03:42:20 +00:00
Janne Karhu
c1166642d0 Fix for: [#21105] comb mode - bug with "free edit" 2010-03-09 03:27:05 +00:00
Janne Karhu
979aa4e990 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.
2010-03-09 03:01:18 +00:00
Matt Ebb
417c328874 Fix [#21047] Sample color too dark when not using color managment 2010-03-09 02:29:59 +00:00
Matt Ebb
ca43a2a87f Fix [#21022] Compositors File Output node doesn't use Colour Managment 2010-03-09 01:25:15 +00:00
Martin Poirier
70efb8d322 [#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.
2010-03-09 01:19:32 +00:00
Matt Ebb
f03a17d0f9 * 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 :)
2010-03-09 00:35:05 +00:00
Campbell Barton
d1bf196de1 improve brush size keys so they dont change by 20 each time (bad for small brushes), added wm.context_scale_int() operator. 2010-03-08 23:34:38 +00:00
Campbell Barton
754b22bd51 option to use offscreen opengl drawing with the sequencer scene strips.
warning, uses bad level call, will need to resolve very very soon!
2010-03-08 21:33:51 +00:00
Campbell Barton
b356eb6a8b 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.
2010-03-08 20:08:04 +00:00
Campbell Barton
d0e0f6dea3 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_
2010-03-08 16:36:53 +00:00
Brecht Van Lommel
59db9a4061 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.
2010-03-08 15:44:26 +00:00
Brecht Van Lommel
23cfce7691 Depsgraph: more tweaks to last commit to get it actually working
int more complex files.
2010-03-08 15:38:10 +00:00
Brecht Van Lommel
657e02106a 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.
2010-03-08 15:21:39 +00:00
Sergey Sharybin
17975400e0 Send object's modifiers were changed in conversion operator.
This will prevent displaying data on modifiers page after conversion is over.
2010-03-08 14:35:38 +00:00
Brecht Van Lommel
cb85779da9 Change airbrush rate min/max to allow lower values and add separate
soft/hard limits for even lower/higher ones.
2010-03-08 14:31:27 +00:00
Sergey Sharybin
838842581c - 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.
2010-03-08 13:49:13 +00:00
Sergey Sharybin
38f3b8ab92 Fixed segmentation fault when converting mesh to mesh with non-empty modifiers stack. 2010-03-08 13:49:05 +00:00
Matt Ebb
cb20ed1634 Fix [#21469] long paths can't be scrolled with the mouse 2010-03-08 12:35:59 +00:00
Campbell Barton
9ce5be3706 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.
2010-03-08 12:29:58 +00:00
Campbell Barton
1138214a8c commit from r27250 to fix bug #21433, broke local axis rotation for pose bones and objects.
commented fix and reopened report.
2010-03-08 11:47:43 +00:00
Campbell Barton
57eac3b3e3 Ctrl+RMB support for selecting markers when sync markers is enabled. 2010-03-08 11:10:04 +00:00
Sergey Sharybin
3ddbd2abe5 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.
2010-03-08 10:05:51 +00:00
Campbell Barton
3b105657d5 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.
2010-03-08 09:06:58 +00:00
Campbell Barton
7f2817f65b rna image.file_format, can be set before saving to choose a file format from a generated image. 2010-03-07 20:27:40 +00:00
Martin Poirier
8a4f9ef831 [#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.
2010-03-07 15:36:52 +00:00
Sergey Sharybin
8d53f3f04e Enable "Build" modifier for curves/surfaces. 2010-03-07 10:40:52 +00:00
Campbell Barton
b237dc3af5 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.
2010-03-07 09:23:57 +00:00
Sergey Sharybin
3ad1bfa69e Fix for convert_exec()
"Keep original" option now works for all objects' types
2010-03-07 05:04:22 +00:00
Campbell Barton
c052a5bc36 mplayer preset, plays back movies and image sequences.
added scene.render.is_movie_format
2010-03-07 02:04:30 +00:00
Jens Ole Wund
c3c16603d2 No code chanced .. just tagging hot spots
for 2.5 paradigm 'animate everything'
2010-03-07 00:11:40 +00:00
Campbell Barton
8f330a333a masking wast used for reprojectuion (used for stencil & normal falloff) 2010-03-06 22:53:31 +00:00
Campbell Barton
c50bfd486e fix for using an un-initialized pointer & quiet compiler wanring on raytrace test. 2010-03-06 22:30:09 +00:00
Dalai Felinto
26fae8985b flipping "tab as space" option (so it's on by default - argh ;)
(and fix error in creator.c last commit)
2010-03-06 22:12:42 +00:00
Campbell Barton
3838b80cf1 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. 2010-03-06 21:47:16 +00:00
Dalai Felinto
782cb1f0e0 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.
2010-03-06 21:45:46 +00:00
Benoit Bolsee
50b13f0a56 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. 2010-03-06 21:22:09 +00:00
Campbell Barton
b1a05da291 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.
2010-03-06 19:46:21 +00:00
Campbell Barton
c0f56503bf 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.
2010-03-06 18:21:57 +00:00
Thomas Dinges
c846136cd0 Full Path for GL include, fixing compile for scons.
Note: /include doesnt have a scons script yet, so fixing it this way.
2010-03-06 13:43:47 +00:00
Campbell Barton
a53ef075ae 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.
2010-03-06 12:37:29 +00:00
Campbell Barton
1687a0b21e RNA/Py API from 2.4x
Image functions: reload(), update(), gl_load(), gl_free()
2010-03-06 12:02:27 +00:00
Sergey Sharybin
e3c10b9d08 Fixed memory leak caused by incorrect adding data to mesh's layer in nurbs_to_mesh(). 2010-03-06 10:22:27 +00:00