Commit Graph

18584 Commits

Author SHA1 Message Date
Joshua Leung
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
Campbell Barton
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
Joshua Leung
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
Matt Ebb
320a09c232 * Use color wheel template for RGB node 2010-01-07 22:42:59 +00:00
Matt Ebb
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
Martin Poirier
00a099e44e rna image api: with dummy ImageUser, this can save RenderResults now. 2010-01-07 20:25:51 +00:00
Brecht Van Lommel
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
Martin Poirier
6426a43c3c Make scene optional in BKE_write_ibuf (only used for stamping) 2010-01-07 16:57:17 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
ba645ad67e option to instance groups when linking or appending. 2010-01-07 14:28:00 +00:00
Campbell Barton
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
Matt Ebb
c1d5104703 Fix for eyedropper not calling proper updates. Silly! 2010-01-07 11:37:57 +00:00
Matt Ebb
50305dfd65 Fix [#19820] linking material nodes in node editor doesn't update the material preview 2010-01-07 11:09:29 +00:00
Thomas Dinges
3d8b5860d9 Fix for Color Picker Eyedropper crash. Thx Matt :) 2010-01-07 11:01:12 +00:00
Matt Ebb
26fcb7f9d2 Fix [#19664] updating key in graph editor doesn't update value for
Shapekeyweight in realtime
2010-01-07 10:49:16 +00:00
Damien Plisson
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
Matt Ebb
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
Dalai Felinto
4463597dcd PyDoc updated for Rasterizer setEyeSeparation and setFocalLength + blenderplayer building again.
stubs.c update patch by Mitchel Stokes - Moguri
2010-01-07 05:23:54 +00:00
Matt Ebb
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
Campbell Barton
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
Martin Poirier
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
Thomas Dinges
635113085d Keymaps:
*Wrong Text: Enable Axis Snap was used twice, one should be "Disable Axis Snap"
2010-01-06 20:29:49 +00:00
Martin Poirier
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
Damien Plisson
a994a52497 Disable OpenGL anti-aliasing by default for now. 2010-01-06 15:34:49 +00:00
Matt Ebb
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
Campbell Barton
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
Brecht Van Lommel
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
Brecht Van Lommel
90fe04965b Particle edit: optimization for combing, was computing hair space too often,
and fix some warnings.
2010-01-06 12:00:53 +00:00
Damien Plisson
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
Campbell Barton
33be6d855a patch from Kevin Roy (kiniou), [#20584] get the image size in pixels in Python API 2010-01-06 10:46:49 +00:00
Campbell Barton
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
Benoit Bolsee
042c2b2aa5 BGE: KX_GameObject.rayCast() to return 5-tuple in case of no hit when poly=2 option is used. 2010-01-06 08:44:10 +00:00
Matt Ebb
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
Matt Ebb
1954468397 Fix for keymap rna, wasn't updated for doubleckick 2010-01-06 06:04:07 +00:00
Matt Ebb
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
Matt Ebb
169626fa92 MSVC compile fix 2010-01-06 04:08:06 +00:00
Matt Ebb
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
Matt Ebb
7ec67dd43d Fix for PROP_MATRIX auto UI layout 2010-01-06 01:41:00 +00:00
Matt Ebb
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
Campbell Barton
4b202b562a fix for [#20352] Crash when rendering viewport 2010-01-06 00:02:37 +00:00
Martin Poirier
17bb2800ea Description attributes for macros too 2010-01-05 20:32:20 +00:00
Thomas Dinges
d5e3c5482f Increased minimal value for Point Density Texture "Radius" from 0.01 to 0.001. 2010-01-05 20:30:40 +00:00
Campbell Barton
3b5014c69b Python descriptions were not getting used in tooltips. 2010-01-05 20:19:54 +00:00
Martin Poirier
62e14cdcb9 Broke DNA yesterday (stupid sdna can't use macro for length).
Only affected user preferences (all .B25.blend saved after revision 25726 would crash on load)
2010-01-05 20:18:45 +00:00
Campbell Barton
d51e0594fb sanity check that prevents crashing when syncing poses,
attempted to do a partial sync with pose mode however this seems not easy at all since connected data gets lost, parents are invalid etc.
2010-01-05 19:34:19 +00:00
Arystanbek Dyussenov
0a0d43a926 Merge -c 25001,25310,25311,25638,25746 from COLLADA branch into trunk. 2010-01-05 17:42:01 +00:00
Arystanbek Dyussenov
06d548bd6f COLLADA branch: bone anim export works. Export-import roundtrip is possible.
Importer now takes mesh bind position into account.

TODO: read/write object-level anim on armatures and fix memleaks.
2010-01-05 16:07:10 +00:00
Brecht Van Lommel
73f84b24fc Particles:
* Fix crash in mirror tool.
* Added X Mirror option back to the UI, flag is now same as the
  one for edit and paint modes, stored in the mesh.
2010-01-05 15:23:09 +00:00
Brecht Van Lommel
9a3362c84f BUGFIX: revision 25736 (about 3 hours ago) introduced a problem in SDNA
for drivers, which will cause files that include drivers and saved since
then to crash on load, and loading existing files to crash as well. This
commit fixes that problem. So, don't use builds from revision 25736-25743.

The problem is this line, SDNA does not support parsing #defines:

DriverTarget targets[MAX_DRIVER_TARGETS];
2010-01-05 14:56:48 +00:00