Commit Graph

21809 Commits

Author SHA1 Message Date
Martin Poirier
a8c3831a1d netrender:
Slave and Master options to delete files when closed (default True for slave, False for Master)
Web interface option to remove files (on master) when deleting a job (or all jobs)
Web interface button to pause a job
2010-01-06 18:56:24 +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
0cbf63bac9 add operator icon for shape key transfer in panel, 2010-01-06 11:38:58 +00:00
Campbell Barton
bb2c074822 missing check for shape key 2010-01-06 11:21:57 +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
Damien Plisson
ef8273428c Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function 2010-01-06 09:22:40 +00:00
Benoit Bolsee
b38a727da3 Bullet: rework softbody raytest patch after approval by Erwin. 2010-01-06 08:46:04 +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
2ad69c23a0 netrender: UI layout reorganization and prettifying. Also better operator descriptions (tooltips). Based on a patch by DingTo. 2010-01-05 20:47:23 +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
Andrea Weikert
89033a6819 MSVC 9 projectfiles
* update for audaspace
* added object_bake.c
2010-01-05 19:22:48 +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
Brecht Van Lommel
88485f7c03 Fix #20569: scons missing BF_NO_ELBEEM from allowed command line options. 2010-01-05 14:30:55 +00:00
Brecht Van Lommel
a1034a0526 Fix #20571: run script operator crashes in 3d view. 2010-01-05 14:27:13 +00:00
Brecht Van Lommel
d16547ab73 Alt+B view clipping is now taken into account properly for sculpt, particle
edit and snapping, by clipping the view ray.
2010-01-05 14:26:38 +00:00
Campbell Barton
01b762e846 fix for bpyob.foreach_set(), when the list is empty 2010-01-05 13:55:51 +00:00
Matt Ebb
cc72f7e1b1 Revert previous preview render commit, causing some problems 2010-01-05 12:14:18 +00:00
Joshua Leung
b6598ed710 Quick fix for layout of Transform Channel var type, since on smaller regions, the widget sizes were too small to be useful. 2010-01-05 12:12:26 +00:00
Joshua Leung
05cddaa280 Quick fix for previous commit - changing order of items in the variable type menu to make it easier to use the transform one.
Also, forgot to mention in previous commit that I tweaked the path-renaming code to only rename driver targets that were being used, and commenting out some code there that wouldn't work...
2010-01-05 12:03:32 +00:00
Joshua Leung
6fb1d0e6a3 More Driver Fixes:
* Fixed Driver version-patching code to work correctly again with the new system.

* Fix for bug #20484, by adding a new driver variable type ('Transform Channel') which makes it easier to use object/bone transforms as in the past. The main differences with using this (compared with the 'Single Prop' type) are that this allows for 'final' transforms to get used instead (i.e. constraints are also taken into account), and also that this variable type can only be used for transforms (more limited scope -> less flexibility -> point-n-click goodies can follow). Mancandy now loads correctly again.

* Added toggle for local vs worldspace transforms when working with Rot/Loc Diff variable types, and also for the newly added Transform Channel

* Removed some dead code from sequencer...
2010-01-05 11:59:12 +00:00
Campbell Barton
cce1d178b8 obscure feature: Display Custom Bone Shape at another bones transform.
Brecht and I took a fair bit of convincing on this one however Cessen was jumping through hoops to do without this feature.
Having the shape being an external mesh deformed by its own armature, which were both hidden but in the same layer *(so the depgraph would update them).
Without this some of the bones in the rig also dont make much sense when animating with.
2010-01-05 11:47:43 +00:00
Campbell Barton
52a2b82852 speedup for driver execution, use PyUnicode_InternFromString() for variable names, cache hash and string -> unicode conversion for driver variables. 2010-01-05 10:54:54 +00:00
Matt Ebb
d16ea70f51 * Modifications to node editor 'make links' tool, after some requests by Soenke
Now it automatically decides how to connect the nodes up, based on the node positions. This lets you do fun stuff like in this video: http://www.vimeo.com/8548698
2010-01-05 06:49:29 +00:00
Martin Poirier
6e6560d924 Macro: insert macro properties into sub operator properties when run (this enables you to set a parameter on the macro itself and have the operator it runs use it). Note that macro properties are not initialized from its operators yet, you have to add them manually. Also, this isn't really nice if two operators in the macro have the same property. 2010-01-05 03:31:57 +00:00
Martin Poirier
22c32973e7 IDGroup utility function to copy a group inside another one 2010-01-05 03:29:41 +00:00
Martin Poirier
8f3db6bb24 Rename extrude macro "Extrude and Move" (less confusion with the Extrude operator that just creates geometry and doesn't move it) 2010-01-05 03:26:11 +00:00
Matt Ebb
3398dd032b Added render layer 'enable' toggles for render layer list view 2010-01-05 03:09:11 +00:00
Matt Ebb
5838c80038 More "Window" terminology corrections 2010-01-05 03:06:02 +00:00
Martin Poirier
02cf88464d Macro used wrong length for idname (also use OP_MAX_TYPENAME more often so it doesn't blow up if changed) 2010-01-05 03:01:04 +00:00