Commit Graph

21464 Commits

Author SHA1 Message Date
Campbell Barton
22a892f402 - make ToolSettings.mesh_selection_mode into an array of 3 bools rather then an enum since multiple can be set at once.
- ToolSettings had its id.data set to NULL when taken directly from the context (causing a crash in cases)
- menu for changing vert/edge/face selection now a python menu, removed operator.
- wm.context_set_value(), would really prefer not to have this since it evaluates the value as a python expression however there are no ways to define arrays in PyOperators
2009-12-22 16:11:11 +00:00
Brecht Van Lommel
68bc4d7355 Attempt to fix compilation of quicktime after reporting changes
(can't build this file myself, only qtkit seems to work here).
2009-12-22 15:20:31 +00:00
Brecht Van Lommel
d653192751 Reports: writing movies now uses the reports mechanism to throw errors.
Also fixes bug #19463: screencast to xvid ffmpeg crash.
2009-12-22 12:01:32 +00:00
Brecht Van Lommel
0606dbe291 Fix #20433: make single user doesn't work from menu. Popup menus for
operators were not passing along properties.
2009-12-22 11:59:30 +00:00
Campbell Barton
3221dea46e clone and stencil layer access added, renamed mask to stencil layer internally 2009-12-22 10:48:13 +00:00
Joshua Leung
5a3ac3ceeb Assorted F-Curve/Keyframe API stuff (for use with some Sequencer editing):
* Added function for F-Curves to find the F-Curves in a given list which affect some named data, such as bones, nodes, or sequence strips.

* Added a BezTriple offsetting callback to be used with the F-Curve+Keyframe loopers in use for many of the keyframe editing tools.
2009-12-22 10:14:13 +00:00
Campbell Barton
e207d04532 quite a few python panels (10 or so) had names longer then the PanelType allowed,
for panels it would fail silently but for menu's it meant further references would give errors.

increase the registered class name from 32 to 64 and raise an error if the limit reached.
2009-12-22 10:04:15 +00:00
Benoit Bolsee
8f5b2e946b BGE bug #20446: revert to orignal code, the problems comes from misunderstanding of matrix theory. More details in bug report. 2009-12-22 09:46:03 +00:00
Campbell Barton
5c3879f8fb zoom to mouse for 2D view
note: this works in all views except for nodes which seem to use the view bounds differently
2009-12-22 08:39:59 +00:00
Dalai Felinto
f4ce1bea0f increasing camera lens limit to 172.85 (same as 2.49xx)
It's not range_ui, but range itself. if someone think that for some reason it's better to keep the visible range up to 100 (the current one) it could be as well.
2009-12-22 08:05:19 +00:00
Dalai Felinto
9c22e846fe [#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure) thanks
From the tracker:
- typo was making the multiplication to transpose resulting matrix
eg
####
from Mathutils import *
from math import radians

cont = GameLogic.getCurrentController()
owner = cont.owner

owner.worldOrientation = RotationMatrix(radians(1), 3, 'z') * owner.worldOrientation
####
2009-12-22 07:27:53 +00:00
Campbell Barton
5bdcb2dff2 py error fix and minor changes to rna info class 2009-12-21 23:14:16 +00:00
Martin Poirier
8f3a529585 netrender: display dispatching rules under master header. (read only for now) 2009-12-21 19:56:53 +00:00
Martin Poirier
95db4d16dd Missing file in previous commit. 2009-12-21 18:56:00 +00:00
Martin Poirier
fc1ede345d netrender: visibility toggle for full list of fluid and cache files in the job web page 2009-12-21 18:14:39 +00:00
Martin Poirier
90e9aee9b8 Sequence Slide transformation (easier to do special sequence code there than in a generic transform)
Also make the transform operator creation a bit more automagic (I always forget either operator registration or modal keymap registration, this is all automatic now).
2009-12-21 17:23:44 +00:00
Campbell Barton
1f8cd19d4b removing sequence strip overlap didnt adjust the animation key time
single images were not having their animation data transformed correctly
made sequence strip opacity 0-1 rather then 0-100 in RNA
2009-12-21 16:57:39 +00:00
Martin Poirier
76ce02ddc0 removing unwanted svn:executable properties 2009-12-21 16:19:08 +00:00
Brecht Van Lommel
29ea21e6bd Multires: added back Reshape function, to copy vertex locations
from another mesh.
2009-12-21 15:55:10 +00:00
Martin Poirier
4d32e002ed [#20441] 3D manipulator widget problem
calculateTransformCenter function passing event to transform init when it shouldn't have.
2009-12-21 15:37:19 +00:00
Campbell Barton
371571fed6 - camera switching didnt work for openGL render
- UV Project (Bounds) wasnt in the menu
2009-12-21 11:42:31 +00:00
Janne Karhu
5832f2fb7b * Rest length parameter for harmonic force springs. Implementation is a slightly modified version of the patch provided by Raúl Fernández Hernández (Farsthary).
* Also added a "multiple springs" option to use every effector point as a harmonic spring instead of just one.
2009-12-21 11:19:07 +00:00
Brecht Van Lommel
0c859f836b Fix #20432: object.layers did not do correct update, could miss depsgraph rebuild. 2009-12-21 10:50:32 +00:00
Brecht Van Lommel
1d957e4fb7 Fix #20442: opening .blend file with hanging temp screens could crash,
version patch removed these screens, but not the corresponding windows.
2009-12-21 10:46:14 +00:00
Stefan Gartner
e65562c6ea Makefiles: fix CFLAGS for OS X 2009-12-21 10:40:55 +00:00
Stefan Gartner
5e6e3453a5 OS X: added support for building with Cocoa to Makefiles
to build with Cocoa support, set WITH_COCOA to true in user-def.mk
2009-12-21 10:38:04 +00:00
Campbell Barton
f7f06d96f3 Solidify rim faces now get face data from the faces they extrude from, (UV and VCol support) 2009-12-21 10:16:04 +00:00
Joshua Leung
0fcfe8993e Animation Editors - Durian Request - Selection Syncing:
This commit brings back the functionality whereby the selection of F-Curves and/or relevant Group(s) is synced with the selection status of the corresponding bones when the bones are selected/deselected.
2009-12-21 09:52:43 +00:00
Campbell Barton
824b763322 solidify modifier - rim faces now copy values from the faces they extrude from (material, face flags but not uvs or vcols yet)
this doesnt work in editmode yet.
2009-12-21 08:37:30 +00:00
Martin Poirier
c050f5f1de netrender
- Add "Get Result" button after a job has been sent (this calls Animate and fetches the results back as render result buffers)
- Rendering (animate or single frame) without an active job was broken. Note that this launches a new job for each frame (it's impossible in a render engine to know if an animation is being rendered or a single frame only).
2009-12-21 02:46:19 +00:00
Joshua Leung
5affd02156 Quicky Loopcut patch:
In addition to the existing scrollwheel up/down, PageUp/Down can now be used to set the number of cuts while previewing the cut location.
2009-12-21 02:39:39 +00:00
Martin Poirier
e2f7a33113 Missing id assignment for kmi creation function (2 out of 3 isn't good enough). 2009-12-21 01:44:33 +00:00
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