Commit Graph

3618 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
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
Matt Ebb
417c328874 Fix [#21047] Sample color too dark when not using color managment 2010-03-09 02:29:59 +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
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
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
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
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
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
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
3ad1bfa69e Fix for convert_exec()
"Keep original" option now works for all objects' types
2010-03-07 05:04:22 +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
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
Elia Sarti
6bfbffef56 Bugfix for #21466, paste and copy ramps doesnt work
Fixed typo
2010-03-05 23:43:28 +00:00
Campbell Barton
1d21d6ca9a 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
2010-03-05 22:01:42 +00:00
Campbell Barton
0d9cb64624 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.
2010-03-05 20:22:17 +00:00
Elia Sarti
5658ef4501 Bugfix for #21452, Crashdown in Video Sequence Editor
Added some NULL checks
2010-03-05 19:35:17 +00:00
Campbell Barton
94d5b31b9d 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.
2010-03-05 18:19:32 +00:00
Sergey Sharybin
d0c70ad1d5 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.
2010-03-05 16:47:52 +00:00
Campbell Barton
f4298de8aa 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.
2010-03-05 14:06:39 +00:00
Joshua Leung
b055e596cc Bugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into account, so the ghost curves were calculated+stored wrong 2010-03-05 11:35:15 +00:00
Campbell Barton
4eeb6b5755 re-arrange paint initialization (no functional change) 2010-03-05 10:26:23 +00:00
Campbell Barton
c2d6001598 minor change to dupli draw looping, no functional changes. 2010-03-05 08:53:16 +00:00
Dalai Felinto
1935a276b6 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.
2010-03-05 07:42:46 +00:00
Joshua Leung
9df5b624ae 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. 2010-03-05 02:43:40 +00:00
Joshua Leung
75bafb1fcc 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.
2010-03-05 01:18:12 +00:00
Campbell Barton
4b744ad9cb 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.
2010-03-04 15:58:27 +00:00
Campbell Barton
d425ac9059 minor fix to dupli drawing, compare with the previous drawn object (not the last object which may not have been drawn) 2010-03-04 14:59:20 +00:00
Campbell Barton
ef0dd615c6 select roots of the hair verts when converting hair into a mesh. 2010-03-03 19:22:02 +00:00
Campbell Barton
5de69e9545 [#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.
2010-03-03 18:49:26 +00:00
Campbell Barton
f09efddcda fix for minor errors/warnings 2010-03-03 13:59:57 +00:00
Campbell Barton
ca7b6e2cd0 fix for more crashes with baked fcurves 2010-03-03 13:20:18 +00:00
Campbell Barton
58bf4b1ab5 baked fcurves would crash on deleting in the graph editor 2010-03-03 12:53:26 +00:00
Campbell Barton
74faed26fc marker/camera select, makes active as well as selecting. 2010-03-03 11:48:03 +00:00
Campbell Barton
0dfb6c4d0b bugfix [#21428] Particle number display offset 2010-03-03 11:40:12 +00:00
Campbell Barton
7e05205296 worldspace text locations & made some improvements to string formatting for particle number display. 2010-03-03 11:23:59 +00:00