Commit Graph

21432 Commits

Author SHA1 Message Date
Martin Poirier
5057ac80ee netrender
- Patch by Olivier Amrein (prettying the web interface with css, fixing some notification bugs)
- More error checks on the slave (better behavior when job is canceled)
- Client: when using "Animate on Network" and canceling render midway, also cancel job. Use Send Job and Animate if you want a real background job.
2009-12-21 01:09:09 +00:00
Campbell Barton
54c9557b85 Solidify modifier for Durian (allow cloth sim on single layer and make solid after)
Mostly the same as the recently added editmode tool with some extras.

* Options to disable filling in the rim between inner and outer surface, since its faster not to detect this in cases where its not needed.
* Option to disable high quality normal calculation, mostly noticable when operating on building walls, not needed for cloth or more organic shapes.
* Option to disable 'even thickness', again, not needed in some cases.

Also options for creasing inner/outer and rim edges, need this for makign Sintels cloths solid since zero crease looks far too soft.

note:
* UVs and VCols etc are copied to the new skin however rim faces dont get the UVs or vcols set from the faces they are created from yet.
* Normals are assumed to be pointing outwards
* used patch from Uncle Entity as a template since it added the DNA and RNA entries but the actual modifier from the patch wasnt used.
2009-12-21 01:02:08 +00:00
Matt Ebb
2a47383af5 Simple fix - don't show meta-rig panel for non-armature data 2009-12-20 23:34:05 +00:00
Martin Poirier
85556a780c netrender: buttons to change chunks, priority and reset job. 2009-12-20 21:46:39 +00:00
Dalai Felinto
2b69661805 BGE fix: 3DDview not redrawing when exiting BGE
CTX_wm_window_set() was resetting the CTX_wm_area(C), for the redrawing wasn't working.
Changing their orders fixes it.
2009-12-20 18:47:30 +00:00
Martin Poirier
9711c16fde Fix do_version for new preview region (for real this time).
First spacedata has empty region base and uses the one in ScrArea. Need to account for that.
2009-12-20 15:23:29 +00:00
Joshua Leung
7e16ac8190 Fixes for memory leaks when exiting Blender while still in WeightPaint Mode. 2009-12-20 11:04:11 +00:00
Joshua Leung
4d16275c03 Bugfix #20173: Crash with Weight Paint on polygons with no faces 2009-12-20 10:50:40 +00:00
Joshua Leung
170c464920 Animation Editor Code Cleanups:
Removing some unused functions that have become redundant in recent times.
2009-12-20 05:09:55 +00:00
Martin Poirier
be323efa35 Fix preview do_version bug (causing region type missing errors)
The missing region was added to the wrong region base.

Bump the subversion, new code to fix wrong region layouts saved in previous subversion and correct all old files correctly.
2009-12-19 22:40:45 +00:00
Martin Poirier
ff038161f6 Add missing names to SpaceTypes 2009-12-19 22:37:51 +00:00
Martin Poirier
f3147db0e8 netrender: list files in job webpage 2009-12-19 22:36:20 +00:00
Martin Poirier
0da09bd261 int Type for region rna (read-only helps for debug) 2009-12-19 21:33:25 +00:00
Thomas Dinges
1384879782 Fixing error introduced in commit 25428.
* Preview Render didn't update in the world tab, when changing settings.
2009-12-19 16:55:04 +00:00
Brecht Van Lommel
924122199b Bugfix: doubles are not supported correctly in SDNA, double click
introduced one in wmWindow.last_click_time. Moved this to the wmEvent
struct, which now no is in DNA, was needed for RNA wrapping but not
needed anymore.
2009-12-19 14:58:24 +00:00
Campbell Barton
7e8af5868e utility module for introspecting RNA for doc generation. 2009-12-19 13:48:50 +00:00
Campbell Barton
3e23f002b4 fix for non Euler-XYZ rotations...
- Camera to 3D view didnt check for rotation order.
- Fly mode didnt check for rotation order.

added util functions.
- object_apply_mat4(ob, mat4); applies a 4x4 matrix to an objects loc,scale,rot (accounting for rotation modes)
- object_mat3_to_rot(ob, mat3, use_compat); apply a 3x3 matrix to the objects rotation, option to use a euler compatible with the existing euler.
2009-12-19 10:27:23 +00:00
Campbell Barton
de7ffa1bac make subsurf keys - Ctrl+1,2,3,4, apply to all selected objects. not just the active ones 2009-12-18 23:17:23 +00:00
Brecht Van Lommel
996152de58 Bugfix: sculpt mode could crash using a mesh without faces. 2009-12-18 17:15:58 +00:00
Damien Plisson
7d19734add OSX : add mounted network volumes to the system folder list in open/save file dialog 2009-12-18 16:35:41 +00:00
Brecht Van Lommel
be81901317 Fix #20401: hair combing with limit selection to visible does not comb
all particles.
2009-12-18 13:35:30 +00:00
Campbell Barton
50544ea645 - sequence strips without scenes would crash on display
- appending scenes would not append the sound and scene ID's for sequence strips
- reload button in sequence header now reloads sounds as well.
- redrawing the sequence image view didnt work while plaing (unless play was activated from that region)
- generic functions for running a callback on sequence strips recursively. seqbase_recursive_apply() and seq_recursive_apply()
- bind marker with camera was set to home key, use Ctrl+B instead.
2009-12-18 13:28:03 +00:00
Damien Plisson
c836b0ae18 Cocoa : add confirmation request before opening a .blend file (dropped on Blender icon or dbl-clicked in Finder) 2009-12-18 13:13:14 +00:00
Brecht Van Lommel
955f7c9288 Fix #20423: particle system deflection settings were not read correctly,
causing crashes on free and duplication.
2009-12-18 13:08:11 +00:00
Joshua Leung
4f3af9980f Keyframing Bugfix:
This commit attempts to fix some of the bugs which were causing grief with some Durian animation tests. 

In one of those files, the order in which F-Curves were stored was seriously messed up; causing problems with some F-Curves still existing but unable to be edited (i.e. still showing up in the Object/Action summaries but nowhere else) since the standard assumptions for the way the data was stored had been violated.

I've recoded the code that ensures that when F-Curves get added to Action Groups (and the Action that contains these) it ends up in the right places, since it was very likely that all the F-Curves would only ever get added near the end of the list. 

Hopefully this is enough to prevent these problems reoccurring, though I have a feeling there may still be one or two buggy tools which caused the problems in the first place.
2009-12-18 11:55:18 +00:00
Brecht Van Lommel
eb17b95e55 Bugfix: sculpt brush size was computed wrong in perspective view with
scaled/translated objects.
2009-12-18 11:26:26 +00:00
Damien Plisson
f09d2e6bc1 Cocoa : fix Dropped on application event was not sent 2009-12-18 09:50:14 +00:00
Joshua Leung
f6e82f71a5 RNA wrapping of Action Groups:
Finished wrapping Action Groups in RNA to help debug some bugs showing up in the Animation Editors for some files from the Durian team. Access is strictly read-only for these added settings, given the trouble already caused by these problems.
2009-12-18 03:47:57 +00:00
Matt Ebb
273674a2cd Tweaked some key shortcuts in text editor to prevent conflicts
Ctrl F - open 'find' field
Ctrl G - find next
2009-12-18 03:41:26 +00:00
Campbell Barton
8505c5bcf3 sequencer copy clipboard wasnt checking if all related strips were selected 2009-12-17 23:29:11 +00:00
Martin Poirier
62639a55d9 Keymap conflict detection operator.
Takes into account the hierarchical structures of keymaps as well as wildcards (KM_ANY) in event definitions, user remaps (emulate numpad, action/select mouse buttons, ...) and event values that overlap (click, press and release)

For now, doesn't do anything other than print conflicts in the console.

As a result, I cleaned up a lot of keymaps that had double definitions, moved some keymap items in more appropriate places, fixed wrong definitions and removed kmi that were added for testing a long long time ago.

Out of all the remaining conflicts, after removing obvious non-issues, here's what remains: http://www.pasteall.org/9898
2009-12-17 22:14:43 +00:00
Campbell Barton
66c3ae5c34 rigify graph was using xdot path on my system, this isnt portable but at least will work on a linux system with gnome and graphvis. 2009-12-17 21:53:33 +00:00
Martin Poirier
0688ea5b73 Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff) 2009-12-17 21:20:18 +00:00
Martin Poirier
e210551a9c Typo in comment 2009-12-17 20:01:02 +00:00
Brecht Van Lommel
53edaee89b Fix #19431: gestures would sometimes draw incorrect, now ensures they
are always drawn in pixel space.
2009-12-17 19:55:08 +00:00
Campbell Barton
0c813b2a0e autorigging front end, access in pose mode armature panel (at the bottom)
demo: http://download.blender.org/durian/metarig_demo.ogv
sintel base rig also, would like to include more generic/simple rigs eventually
2009-12-17 19:48:30 +00:00
Guillermo S. Romero
959e0486cf SVN maintenance. 2009-12-17 19:23:25 +00:00
Martin Poirier
725319f771 Hotkey for outliner window was there twice
(testing conflict detection)
2009-12-17 19:05:06 +00:00
Martin Poirier
509c2e9614 Bugfix: [#20403] transform manipulation widgets with normal coordinates
Disable manipulator drawing during transform
2009-12-17 17:50:55 +00:00
Kent Mein
fcaad00bda Some fixes to get blender compiling on solaris.
Kent
2009-12-17 17:42:26 +00:00
Martin Poirier
a1b8f16958 Bugfix: [#20406] reapeat duplication along axis+view transform orientation
Saving back orientation in operator didn't take into account that constraint orientation can be different than user selected orientation.

Also simplify the switching logic a little.
2009-12-17 17:34:56 +00:00
Brecht Van Lommel
0af48c227b Copy To Selected
Until we have proper multi-object editing, this adds a Copy To Selected
option to the right mouse button menu for Object and Bone properties, to
copy the value from the active object to the selected objects.

Also includes some implementation changes to reset to default operator.
2009-12-17 17:15:38 +00:00
Damien Plisson
1975ee5eec OSX vs OpenMP : implement workaround to fix crashes when using mop from a background thread
Fix# 20043 & 20392

The issue is that OSX lib does not implement TLS (Thread Local Storage), so  libgomp uses pthread functions to read/write thread specific vars.
But this implementation is currently (gcc 4.2) buggy : the write function is called only at lib start (in main thread), and the var is undefined for background thread.

The workaround is to perform this gomp_tls_key var write at beginning of background threads that use openMP. (Currently: render & fluidsim)
2009-12-17 17:05:28 +00:00
Campbell Barton
4271a40ee7 - sequencer clipboard now stored globally (not in the scene, makes pasting into other scenes nicer)
- multiple pastes after copying
- clear the sound handle when copying (was crashing)
- allow seq freeing without a scene (assumes seq strip isnt active and sound handle isnt set)
- free clipboard sequences on exit
- paste sequence strips using the relative playhead location from when they were copied.

TODO
- check scene pointers on paste
- detect overlaps after paste
2009-12-17 16:28:45 +00:00
Brecht Van Lommel
8d63126b64 Fix #19713: Lasso select + occlude background geometry does not work. 2009-12-17 15:39:36 +00:00
Campbell Barton
51fdfa0de9 sequencer clipboard
note: for inter-scene copying this uses a hack because Colin needs it because half his scene was scrambled by blender.
2009-12-17 14:45:47 +00:00
Brecht Van Lommel
68ff5a87ec Fix #20374: Limit selection to visible would not work anymore after trying to
select once but not selecting correctly, due the need backbuffer flag not being
reset correctly in the 3d view.
2009-12-17 14:38:30 +00:00
Campbell Barton
4b3c6b7996 selecting a pose bone didnt redraw constraints 2009-12-17 13:27:52 +00:00
Campbell Barton
4cddc9e146 rescale metarig types to roughly match 1.0 == 1m for body parts, also fix py error with bone UI 2009-12-17 13:17:24 +00:00
Campbell Barton
01dd4ea13a fix for python error 2009-12-17 13:14:29 +00:00