Commit Graph

17143 Commits

Author SHA1 Message Date
ccb54eff2e FSAA: properly disable it for first window draw, remove obsolete backbuffer
disable code, and only enable it for 3d drawing in the 3d view.
2010-01-08 09:30:36 +00:00
ceab17ee17 Fix for problems in previous commit when buildinfo wasn't enabled. 2010-01-08 06:05:42 +00:00
13002c1645 Properly refresh the node tree when making links with the node Make Links tool 2010-01-08 05:54:03 +00:00
ce538a0694 Added the svn revision number to the splash screen (when buildinfo is
enabled). Also fixed cmake so buildinfo works.


Note to all:
** Please mention the revision number when making a bug report **
2010-01-08 05:51:51 +00:00
59a8c295c6 Make the image open operator work even if there's no scene in context. 2010-01-08 03:55:06 +00:00
b517ceb374 SVN maintenance. 2010-01-08 02:54:33 +00:00
bb5f8bd0af Image RNA api: Don't crash if can't acquire buffer from image when saving image to disk. 2010-01-08 02:45:51 +00:00
28b1824fd0 Bugfix #20605: Shape key values not keyable from mesh data panel. Keyable from Datablock browser.
See the bugreport comments for full breakdown of the fix. 


--

The change in brush.c is to get blender compiling again, after my previous commit which tried to fix a compiler warning related to this (but in the header file instead).
2010-01-08 02:02:52 +00:00
cddd784e44 Grease Pencil: Lock current frame option
It is now possible to make Grease Pencil Layers to keep displaying and editing the current sketch-frame with this option. This allows to draw a frame which contains markings made for different times (i.e. a spacing/timing chart that you can keep adding to as you scrub to different points on the timeline).

Use the clipboard/camera toggle (the one beside the visibility toggle) to enable. This should get an icon of its own at some point...
2010-01-08 01:39:41 +00:00
d08fe22bc6 fly mode doesnt need this workaround now - it broke fly mode when the camera was a child of another object. 2010-01-08 01:14:06 +00:00
f3a6474537 Animation Visualisation Cleanups - Part 2:
* Finished baking code for motion paths, generalising it so that it works for both Objects and Bones. 
It is based on the old code for baking bones, although I have modified the updating code to use a more 'correct' method of updating dependencies. However, this may turn out to be too slow, and another API method should be added for that...

* Moved some of the old version-patching code for animviz settings out of the drawing functions, instead doing this on the version patching proper.

* Added RNA support for the new AnimViz types, and included RNA access via their users too. The old settings have still been left in for now, since there are still some things not ready to use yet.

----

* F-Curve's with sample points (i.e. sounds to F-Curves) now perform linear interpolation between sample points instead of using constant interpolation.
2010-01-07 22:54:05 +00:00
320a09c232 * Use color wheel template for RGB node 2010-01-07 22:42:59 +00:00
3bfec4e31c Add ability to cancel/revert dragging on color picker widgets with Escape, same as other widgets 2010-01-07 21:52:04 +00:00
00a099e44e rna image api: with dummy ImageUser, this can save RenderResults now. 2010-01-07 20:25:51 +00:00
9f2c6296cb Fix for memmove error in RNA collecton remove, could crash on
removing items in some circumstances.
2010-01-07 19:58:17 +00:00
6426a43c3c Make scene optional in BKE_write_ibuf (only used for stamping) 2010-01-07 16:57:17 +00:00
bce42d6b5e group instance still didnt work in some cases, now tag ID flag when linking as well as appending so its easy to know if an ID is newly added or not. 2010-01-07 16:19:38 +00:00
0983aae019 last commit didnt work properly, all groups were added. Tested to work with existing groups, link & append. 2010-01-07 14:59:22 +00:00
ba645ad67e option to instance groups when linking or appending. 2010-01-07 14:28:00 +00:00
e77fadf066 fix for painting bug added since 25391 (own fault)
Making shell_angle_to_dist use radians was needed for solidify but somehow broke paint. Need to look into further but for now this fixes it.
2010-01-07 12:41:07 +00:00
c1d5104703 Fix for eyedropper not calling proper updates. Silly! 2010-01-07 11:37:57 +00:00
50305dfd65 Fix [#19820] linking material nodes in node editor doesn't update the material preview 2010-01-07 11:09:29 +00:00
3d8b5860d9 Fix for Color Picker Eyedropper crash. Thx Matt :) 2010-01-07 11:01:12 +00:00
26fcb7f9d2 Fix [#19664] updating key in graph editor doesn't update value for
Shapekeyweight in realtime
2010-01-07 10:49:16 +00:00
f0a22ac2f9 OpenGL anti-aliasing for 3D view, user selectable
Enables AA only for 3D view, and gives the user the option to turn it on/off (in system panel of user prefs)
2010-01-07 10:32:48 +00:00
cf9b728c6a Color Picker work:
Restored the old Eyedropper tool from the 2.4 colour picker. Now it's an operator, 
working nicely using rna properties (fixes #19475 and some todo items)

This ended up being a bit more work than expected, it involved converting the 
colour picker to use RNA properties directly, rather than temporary values. This has 
several advantages, including being able to type in RGB values greater than 1, 
however there are still some redraw issues with sliders.

Also removed the alternate color pickers after this time spent testing, the current one 
should be sufficient, or alternatives to the wheel can possibly become preferences 
in the current design.

Converting the picker to RNA also made it very trivial to make a cool new 
ColorWheel template, which can be embedded in UI layouts. I've enabled it already 
in texture/vertex paint brush properties and the sequence editor color correction:
http://mke3.net/blender/devel/2.5/colorwheels.jpg
2010-01-07 09:55:11 +00:00
23764238e5 Replaced lasso gesture filling code with scanfill, not 100% as nice, but simpler and more compatible. 2010-01-07 01:27:10 +00:00
d3a718dc2f fix for own but in recent driver optimization [#20580] Driver Crasher rev [25763]
recalculate names when needed
2010-01-06 22:42:13 +00:00
f9177e21ce RNA API: image.save(path)
Saves an image to the specified path. Uses format and other parameters from the scene (simpler this way than having to explicitly pass them to the function).
2010-01-06 21:38:26 +00:00
635113085d Keymaps:
*Wrong Text: Enable Axis Snap was used twice, one should be "Disable Axis Snap"
2010-01-06 20:29:49 +00:00
0cc7b5800c Renderer: Change default test_break function to check G.afbreek to work correctly in background mode correctly. 2010-01-06 20:16:01 +00:00
a994a52497 Disable OpenGL anti-aliasing by default for now. 2010-01-06 15:34:49 +00:00
907ee73e23 2 small view navigation features stolen from other apps :)
* Now, while rotating a 3D view with MMB held down, you can hold shift to switch to Pan or ctrl to switch to Zoom, without having to let go of MMB. While it sounds simple it makes things really smooth to use and eases repeated presses of MMB. One thing I liked from Max. It's also in the modal key maps, so you can change it to whatever you like.

* A similar thing, when panning a 2D View, you can hold LMB to switch to zoom, effectively making MMB+LMB zoom. This is not very useful on a mouse, but it's very nice for tablet use, being able to navigate with one hand (side switch+stylus press) very easily. This one's from Fusion.
2010-01-06 12:22:59 +00:00
e292b5badc fix for crash when setting a shapekeys name in rna, (probably other properties too).
When the shapekey was returned from the object it didnt use the data's ID which is expected elsewhere in RNA.

Transfer shape now also sets the name.
2010-01-06 12:19:46 +00:00
83f677d9cf Fix #20519: shrinkwrap modifier doesnt work with subsurface modifier.
Fix #20516: subsurf modiefier+pressing add for smoke sims results in crash.
Fix retopo not working correct on subsurf mesh.

Various deforming modifiers were not correctly taking into account that a
derivedmesh is not necessarily a CDDerivedMesh, made utility functions for
this now.
2010-01-06 12:05:46 +00:00
90fe04965b Particle edit: optimization for combing, was computing hair space too often,
and fix some warnings.
2010-01-06 12:00:53 +00:00
75f190bde8 OpenGL Anti-aliasing implementation for blender windows
Added GHOST_TUns16 numOfAASamples parameter to GHOST_CreateWindow to specify the number of AA samples (null if no AA wanted)
Implemented it in the cascade of GHOST classes.

Full implementation currently done for OSX/Cocoa, stubs for other OSes.
Moguri : it's ready for your win32 implementation !

Note that fallback to a non AA window (if gfx card doesn't support AA) is done inside GHOST OS specific layer, so that blender windowmanager still gets its window created properly.
2010-01-06 11:42:52 +00:00
33be6d855a patch from Kevin Roy (kiniou), [#20584] get the image size in pixels in Python API 2010-01-06 10:46:49 +00:00
bd6b19267d write our to a shorter path, was failing unless you made the path manually since it was trying to write to a subsub dir that didnt exist. 2010-01-06 09:42:41 +00:00
c37df98806 *Disabled filled lasso drawing on Windows for now, was causing some strange problems,
perhaps GLU incompatibilities? If any Windows GL guru can help here, it would be 
most appreciated!
2010-01-06 06:51:04 +00:00
1954468397 Fix for keymap rna, wasn't updated for doubleckick 2010-01-06 06:04:07 +00:00
0c64d6d71e Small tweaks to gesture drawing to show the filled selectable area.
Gives nice feedback for what will be selected, especially with lasso.
2010-01-06 04:52:13 +00:00
169626fa92 MSVC compile fix 2010-01-06 04:08:06 +00:00
4ba5b70d2f Node editor tweaks
* Cleaned up dead code, removed all traces of socket selection

* Modified border select so it's possible to have border select on mouse tweak.
With this change, by default, click+dragging on a node will select and move it, 
but click+dragging on empty space will border select.
2010-01-06 03:00:19 +00:00
7ec67dd43d Fix for PROP_MATRIX auto UI layout 2010-01-06 01:41:00 +00:00
06e6011ae9 Restored Compositor 're-render single layer' functionality (buttons on renderlayer comp nodes).
This works with operator properties - if you pass the name of a scene and renderlayer to 
the screen.render operator, it will render that layer as a single layer re-render.
2010-01-06 00:09:07 +00:00
4b202b562a fix for [#20352] Crash when rendering viewport 2010-01-06 00:02:37 +00:00
17bb2800ea Description attributes for macros too 2010-01-05 20:32:20 +00:00
d5e3c5482f Increased minimal value for Point Density Texture "Radius" from 0.01 to 0.001. 2010-01-05 20:30:40 +00:00
3b5014c69b Python descriptions were not getting used in tooltips. 2010-01-05 20:19:54 +00:00