blender.git
9 years agoSound:
Joerg Mueller [Mon, 28 Dec 2009 10:15:35 +0000 (10:15 +0000)]
Sound:

* Fixed minor errors in AUD_BufferReader.cpp and AUD_LoopFactory.h
* Added a first version of a bandpass filter using fftw3

9 years agonew python module constants
Campbell Barton [Mon, 28 Dec 2009 10:00:04 +0000 (10:00 +0000)]
new python module constants
* bpy.home - result of BLI_gethome()
* bpy.version - BLENDER_VERSION/100, BLENDER_VERSION%100, BLENDER_SUBVERSION
* bpy.version_string, as above, formatted: "%d.%02d (sub %d)"

9 years agoAdded 'Add New' buttons to key maps shown in filtered mode.
Matt Ebb [Mon, 28 Dec 2009 09:19:32 +0000 (09:19 +0000)]
Added 'Add New' buttons to key maps shown in filtered mode.

Also on adding new, it expands the key map category and clears the
filter so you can see the newly added item.

9 years agoFix for [#19519] Dope sheet scrollbar goes out of bounds
Matt Ebb [Mon, 28 Dec 2009 08:01:19 +0000 (08:01 +0000)]
Fix for [#19519] Dope sheet scrollbar goes out of bounds

9 years agoGot rid of some dead code
Matt Ebb [Mon, 28 Dec 2009 05:14:32 +0000 (05:14 +0000)]
Got rid of some dead code

9 years agoAdded location and rotation operator properties for adding objects. The Align to...
Matt Ebb [Mon, 28 Dec 2009 04:09:46 +0000 (04:09 +0000)]
Added location and rotation operator properties for adding objects. The Align to View boolean
is now just used to set the rotation property value during invoke.

This removes some reliance on 3d view info for non-interactive use, and also lets you specify
new object's locations/rotations explicitly when calling from Python.

9 years agoAssorted Animation/RNA fixes:
Joshua Leung [Mon, 28 Dec 2009 03:45:24 +0000 (03:45 +0000)]
Assorted Animation/RNA fixes:
* Fix for compiler warning in mesh.c from previous commit
* Fix for wrong name for dopesheet filter button used for meshes
* Added RNA defines for the default values for quaternion and axis-angle rotations, so that clearing these to their default values "does the right thing (TM)"

9 years agoFix for [#20032] outliner cuts off long names after pasing them
Matt Ebb [Mon, 28 Dec 2009 01:31:47 +0000 (01:31 +0000)]
Fix for [#20032] outliner cuts off long names after pasing them

The system that ensures unique ID names chopped off the end
of the name to add a number suffix (.001 or so) regardless of
whether it already had a number or not. In this particular case,
(no suffix number) it now just shaves off the last letter of the
name until it's unique.

I've been testing this patch here for a while, and seems to work
properly, if anyone would like to have a quick look over this
commit and doublecheck, that would be great too.

9 years agoChange to the way brush/tool selection works, as discussed a while ago
Matt Ebb [Mon, 28 Dec 2009 01:27:05 +0000 (01:27 +0000)]
Change to the way brush/tool selection works, as discussed a while ago

Now, there are preset brushes made for each tool type (eg. for sculpt mode, Grab,
Draw, Inflate, etc), and the recommended method for changing sculpt tools is to
change between Brushes. The shortcut keys for changing between tools have
now been changed to change between named brushes - the G key in sculpt
mode now changes to any brush named 'Grab'.

The advantages of this are:
* Changing between brushes remembers the strength/size/texture etc settings for
each brush. This means that for example, you can draw with a strong textured
Clay brush, but then switch quickly to a weaker, untextured Smooth brush,
without having to re-do your settings each time.
* You can now add your own custom shortcut keys to your own custom brushes -
just add a keymap entry similar to the existing ones, that references your own
custom brush names.

To bring over these new default brushes to an existing B.blend setup, just
append them in from the new B.blend in svn.

9 years agoMesh Animation + Depsgraph Tweaks:
Joshua Leung [Mon, 28 Dec 2009 00:52:31 +0000 (00:52 +0000)]
Mesh Animation + Depsgraph Tweaks:

* Mesh data/settings can now be animated. It is not recommended that geometry be animated directly, but other settings such as autosmooth, etc. can be...

* Code cleanups for depsgraph, making sure that drivers get included for all object data types.

9 years agoTry to get soft body to curve working
Jens Ole Wund [Mon, 28 Dec 2009 00:07:24 +0000 (00:07 +0000)]
Try to get soft body to curve working

9 years agoCurve/Nurbs/Font Animation Bugfixes:
Joshua Leung [Sun, 27 Dec 2009 23:37:13 +0000 (23:37 +0000)]
Curve/Nurbs/Font Animation Bugfixes:

* NURBS and Font animation data now appear in the animation editors.

* Fixed depsgraph tagging code for determining if the AnimData attached to object data blocks (i.e. animation for curve or lamp data) needs to be tagged for updates on frame changes. This means that animating curve settings now works.

9 years ago- loading missing files didnt give any warning
Campbell Barton [Sun, 27 Dec 2009 23:29:34 +0000 (23:29 +0000)]
- loading missing files didnt give any warning
- shape key transfer poll function

9 years agoWIP console text selection, modal selection operator and selection drawing.
Campbell Barton [Sun, 27 Dec 2009 20:22:06 +0000 (20:22 +0000)]
WIP console text selection, modal selection operator and selection drawing.
word wrap and clipboard are not working yet.

9 years agoPartial fix for [#20166] Snap to grid issues
Martin Poirier [Sun, 27 Dec 2009 18:09:17 +0000 (18:09 +0000)]
Partial fix for [#20166] Snap to grid issues

Move gridview (the actual drawn grid size, including adaptation to zoom) to RegionView3D from View3D.

This solves the transform increment bug but not the Snap Menu bug (context is not set to the correct rv3d when executing operator from menu).

9 years agoWrong description in WM_OT_call_menu
Martin Poirier [Sun, 27 Dec 2009 17:57:24 +0000 (17:57 +0000)]
Wrong description in WM_OT_call_menu

9 years agoTransfer Shape Key
Campbell Barton [Sun, 27 Dec 2009 11:14:06 +0000 (11:14 +0000)]
Transfer Shape Key
Useful if you have 2 different characters with the same base mesh (matching indicies), and want to copy a facial expression for eg, from one to another.
Durian request to re-use shapes between characters.

* Copies the active shape to other selected objects
* Different methods to apply the shape
* * OFFSET, simple translation offset
* * RELATIVE (EDGE/FACE), Use Barycentric transformation to copy the shape. This means the target mesh can be a different orientation and scale and the shape should still apply since the surrounding geometry is used as a basis for the offset.

bug: barycentric transform's depth was inverted.

Note:
* This isnt added into a menu yet,
* This cant be redone since adding a shape key messes up the redo stack. needs fixing for other scripts too.

9 years agoDopeSheet + Graph Editor hotkey tweak:
Joshua Leung [Sun, 27 Dec 2009 01:36:32 +0000 (01:36 +0000)]
DopeSheet + Graph Editor hotkey tweak:

Made the TAB key toggle the editability of selected channels in the keyframes area in addition to the channels list.

9 years agobarycentric transform utility geometry function.
Campbell Barton [Sun, 27 Dec 2009 01:32:58 +0000 (01:32 +0000)]
barycentric transform utility geometry function.
From 2 triangles and 1 point, the relative position between the point and the first triangle is applied to the second triangle to find the target point.
the barycentric weights are calculated in 2D space with a signed area so values outside the triangle bounds are supported.

wrapped by python:
 pt_to = Geometry.BarycentricTransform(pt_from, t1a, t1b, t1c, t2a, t1b, t1c)

NOTE:
- moved some barycentric weight functions out of projection painting into the math lib.
- ended up making some of the math functions use const args.
TODO:
- support exceptional cases. zero area tries and similar.

9 years agoBugfix 20469: Graph Editor Keyframes jumping around with NLA strips
Joshua Leung [Sun, 27 Dec 2009 01:28:13 +0000 (01:28 +0000)]
Bugfix 20469: Graph Editor Keyframes jumping around with NLA strips

NLA corrections for Graph Editor transforms was wrong way around, causing jumping issues when trying to transform the keyframes.

9 years agofixes for errors/warnings found with cppcheck
Campbell Barton [Sat, 26 Dec 2009 20:23:13 +0000 (20:23 +0000)]
fixes for errors/warnings found with cppcheck

9 years agoclassmethods were excluded from docs, hide self & cls arguments for functions and...
Campbell Barton [Sat, 26 Dec 2009 17:49:08 +0000 (17:49 +0000)]
classmethods were excluded from docs, hide self & cls arguments for functions and class methods,
made some rna ui funcs not display as optional.

9 years ago* sphinx docgen *
Campbell Barton [Sat, 26 Dec 2009 16:47:25 +0000 (16:47 +0000)]
* sphinx docgen *
py_function_args wasnt working right (was using function namespace for function args), use pythons inspect module instead.
move the function to get a type description into rna_info

9 years agoParticles bug fix: Particle birth location between frames weren't calculated correctl...
Janne Karhu [Sat, 26 Dec 2009 15:59:07 +0000 (15:59 +0000)]
Particles bug fix: Particle birth location between frames weren't calculated correctly for moving emitters as the functionality of where_is_object_time has changed a bit in the new anim system.

9 years agopep8 edits, removed MakeCursor.py and rna_array.py, not important to make pep8
Campbell Barton [Sat, 26 Dec 2009 09:36:50 +0000 (09:36 +0000)]
pep8 edits, removed MakeCursor.py and rna_array.py, not important to make pep8

9 years agothe user interface could access invalid RNA on deleting objects since checking the...
Campbell Barton [Sat, 26 Dec 2009 01:04:46 +0000 (01:04 +0000)]
the user interface could access invalid RNA on deleting objects since checking the button ran after freeing the data.

9 years agoFix for [#20294] Switching to particle mode after changing number of hair particles...
Janne Karhu [Sat, 26 Dec 2009 00:17:54 +0000 (00:17 +0000)]
Fix for [#20294] Switching to particle mode after changing number of hair particles causes blender to crash.
* Particle edit mode wasn't freed when the particle amount was changed.

9 years ago- closing the user prefs accessed the temp screen after removing it.
Campbell Barton [Sat, 26 Dec 2009 00:17:45 +0000 (00:17 +0000)]
- closing the user prefs accessed the temp screen after removing it.
- colorband drawing could use un-initialized vars (probably wouldnt crash)

9 years agoinvalid memory access fix
Campbell Barton [Fri, 25 Dec 2009 23:59:12 +0000 (23:59 +0000)]
invalid memory access fix

9 years agoFix for [#20458] Segmentation fault when trying to enable Hair dynamics
Janne Karhu [Fri, 25 Dec 2009 23:51:29 +0000 (23:51 +0000)]
Fix for [#20458] Segmentation fault when trying to enable Hair dynamics
* The hair mesh vertex index was stored as a short, but vertex counts can easily go higher than what fits in a short so changed this to an int.
* Also removed particle life looping, which didn't work correctly anyways. Similar functionality will become available when I get to recoding reactor particles into a better system.

9 years agofix for accessing invalid memory when loading a new file.
Campbell Barton [Fri, 25 Dec 2009 23:50:35 +0000 (23:50 +0000)]
fix for accessing invalid memory when loading a new file.

9 years agoParticles bug fix: using virtual parents for child particles crashed in some cases.
Janne Karhu [Fri, 25 Dec 2009 22:58:11 +0000 (22:58 +0000)]
Particles bug fix: using virtual parents for child particles crashed in some cases.

9 years agoreplace dynamic_menu.py with Menu classmethods much less complicated.
Campbell Barton [Fri, 25 Dec 2009 22:16:19 +0000 (22:16 +0000)]
replace dynamic_menu.py with Menu classmethods much less complicated.
access append/prepend eg.

bpy.types.INFO_MT_file_import.append(lambda self, context: self.layout.operator("import_some.format"))

9 years agobugfix [#20237] Import error
Campbell Barton [Fri, 25 Dec 2009 20:52:05 +0000 (20:52 +0000)]
bugfix [#20237] Import error
(export X90 rotation wasnt right)

9 years agobugfix [#20253] Import/Export fails
Campbell Barton [Fri, 25 Dec 2009 20:47:23 +0000 (20:47 +0000)]
bugfix [#20253] Import/Export fails

9 years agofix for [#20244] importing .obj without "Object" option checked crashes blender
Campbell Barton [Fri, 25 Dec 2009 20:40:00 +0000 (20:40 +0000)]
fix for [#20244] importing .obj without "Object" option checked crashes blender

9 years agobad rna limit referred to in [#20483] Inputs are capped
Campbell Barton [Fri, 25 Dec 2009 18:06:05 +0000 (18:06 +0000)]
bad rna limit referred to in [#20483] Inputs are capped
enable distance for some settings

9 years agosphinx rna api documentation generator to replace epydocs
Campbell Barton [Fri, 25 Dec 2009 15:50:53 +0000 (15:50 +0000)]
sphinx rna api documentation generator to replace epydocs
- view docs menu item opens sphinx URL
- can be searched (even when local)
- uses rna_info module for introspection
- also documents python defined functions and decorator properties (defined in bpy_types.py)
- experemental python file:line references for python operators.

9 years agoupdate rna_info and rna_rna for better introspection
Campbell Barton [Fri, 25 Dec 2009 14:42:00 +0000 (14:42 +0000)]
update rna_info and rna_rna for better introspection

9 years agofix for segfault getting RNA Enum default values, minor updates to introspection...
Campbell Barton [Fri, 25 Dec 2009 09:01:23 +0000 (09:01 +0000)]
fix for segfault getting RNA Enum default values, minor updates to introspection class

9 years agooperator draw function working again. needed to add layout to the operator to give...
Campbell Barton [Thu, 24 Dec 2009 21:17:14 +0000 (21:17 +0000)]
operator draw function working again. needed to add layout to the operator to give access to "self.layout" - like panels, headers and manu's have

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 24 Dec 2009 21:15:27 +0000 (21:15 +0000)]
SVN maintenance.

9 years ago* register operators like other classes
Campbell Barton [Thu, 24 Dec 2009 19:50:43 +0000 (19:50 +0000)]
* register operators like other classes
* operators now return sets (converted into flags)
* can't remove bpy_operator_wrap.c since macro's still use the custom register funcs

9 years agosupport for registering operators using the same internal rna api as panels, menus...
Campbell Barton [Thu, 24 Dec 2009 16:10:26 +0000 (16:10 +0000)]
support for registering operators using the same internal rna api as panels, menus, headers & render engines since there was a fair bit of duplicate functionality.

will remove the old system and update scripts next.

9 years agoAdded rectifying sound effect (will be used for sound -> f-curve later).
Joerg Mueller [Thu, 24 Dec 2009 14:58:11 +0000 (14:58 +0000)]
Added rectifying sound effect (will be used for sound -> f-curve later).

9 years agoReverted the addition of the f-curve sound modifier (was added in revision 24759...
Joerg Mueller [Thu, 24 Dec 2009 14:01:22 +0000 (14:01 +0000)]
Reverted the addition of the f-curve sound modifier (was added in revision 24759) due to unusability and performance issues. The ability to use a sound as animation source will be added as an import operator later that renders a sound to an f-curve which brings the advantage that you can edit the generated curve later and the disadvantage it is not automatically updated when the sound changes.

9 years agominor pyapi changes
Campbell Barton [Thu, 24 Dec 2009 11:40:14 +0000 (11:40 +0000)]
minor pyapi changes

9 years agoRemoved a few operators that were just used to generate popup menus and replaced...
Matt Ebb [Thu, 24 Dec 2009 10:39:30 +0000 (10:39 +0000)]
Removed a few operators that were just used to generate popup menus and replaced with python defined menus.

9 years agopedantic naming: wmKeyMapItem wasnt called 'kmi' in some cases.
Campbell Barton [Thu, 24 Dec 2009 09:36:15 +0000 (09:36 +0000)]
pedantic naming: wmKeyMapItem wasnt called 'kmi' in some cases.

9 years agoKey map related things:
Matt Ebb [Thu, 24 Dec 2009 09:26:06 +0000 (09:26 +0000)]
Key map related things:
* Moved 'change shortcut' (previously directly RMB on menu items) to a context-menu item, and added Remove Shortcut and Add Shortcut. This is all available now in a RMB context menu for operator buttons and menu entries.
* Renamed a bunch of key maps to be consistent with UI names, and human-readable. Since these key map names are now being directly used in the UI for people to find things, they should be understandable and in plain language.

This renaming may break some older saved key map setups - though previously saved .b25.blends should convert over ok. Exported .py files may need some find/replacing - in this commit check the changes in resources.c to see what's changed.

9 years agoOSX / Scons : set MACOSX_DEPLOYMENT_TARGET env var to allow builds for older systems
Damien Plisson [Wed, 23 Dec 2009 15:56:00 +0000 (15:56 +0000)]
OSX / Scons : set MACOSX_DEPLOYMENT_TARGET env var to allow builds for older systems

9 years agocrash fix for sculpt when loading some files
Campbell Barton [Wed, 23 Dec 2009 15:51:39 +0000 (15:51 +0000)]
crash fix for sculpt when loading some files

9 years agofix for a crash when running blender in debug mode (-d arg), was registering every...
Campbell Barton [Wed, 23 Dec 2009 15:06:47 +0000 (15:06 +0000)]
fix for a crash when running blender in debug mode (-d arg), was registering every operator in debug mode.
added some more sculpt key shortcuts
* R toggles rake
* Shift+A toggles airbrush

note: last commit added Ctrl+0 to set zero subsurf and multires

9 years agokey shortcits for sculpt back
Campbell Barton [Wed, 23 Dec 2009 12:13:48 +0000 (12:13 +0000)]
key shortcits for sculpt back
- T was 'Flatten Brush', now Shift+T
- added an option to OBJECT_OT_subdivision_set to set the level relatively (so page up/down works), however RNA lets it set one level higher then the maximum, this seems displays OK in the 3D view so not sure whats going on here (as if there is always an extra hidden multires level).

9 years agoFix compilation of carbon quicktime & complete use of report mechanism instead of...
Damien Plisson [Wed, 23 Dec 2009 11:49:07 +0000 (11:49 +0000)]
Fix compilation of carbon quicktime & complete use of report mechanism instead of standard printf

9 years agoBugfix #20463: In graph editor bone channels cannot be selected with 'A' or 'B' borde...
Joshua Leung [Wed, 23 Dec 2009 11:22:30 +0000 (11:22 +0000)]
Bugfix #20463: In graph editor bone channels cannot be selected with 'A' or 'B' border select

This bug was caused by my recent commit to get bone select -> selection syncing working. The selection flushing was occurring too readily, blocking any selection tools from having any visible effect. Now this syncing is only triggered when appropriate notifiers+flags have been set.

9 years agoBGE: fix more transpose bug when MathUtils is not used.
Benoit Bolsee [Wed, 23 Dec 2009 09:55:34 +0000 (09:55 +0000)]
BGE: fix more transpose bug when MathUtils is not used.

9 years agoBGE: fix more matrix transpose bugs in assignement to game object matrices.
Benoit Bolsee [Tue, 22 Dec 2009 23:38:09 +0000 (23:38 +0000)]
BGE: fix more matrix transpose bugs in assignement to game object matrices.

Assignment to KX_GameObject localOrientation and
worldOrientation matrices was assuming row-major matrix
although reading these matrices was returning a column-major
MathUtils object.

The faulty function (PyMatTo) is fixed and all matrices
in python are now assumed column-major.

This function is also used in the following methods:

BL_Shader.setUniformMatrix4()
BL_Shader.setUniformMatrix3()

(No change in scripts if you didn't specify the optional
transpose parameter: the default value is changed so
that column-major matrices are assumed as before.)

KX_Camera.projection_matrix

(assignement to this attribute now requires a column-major
matrix and you must fix your script if you were setting
a value to this attribute.)

9 years agoThis fixes the following coverity issues: 163 162 161
Kent Mein [Tue, 22 Dec 2009 22:03:57 +0000 (22:03 +0000)]
This fixes the following coverity issues: 163 162 161

Basically the function wasn't freeing memory it used before
returning.

Kent

9 years agoMissing angle_v3v3 definition (it was declared)
Martin Poirier [Tue, 22 Dec 2009 19:56:12 +0000 (19:56 +0000)]
Missing angle_v3v3 definition (it was declared)
Wrong definition for angle_v2v2 (it read 2d vectors as 3d vectors)

9 years agoBGE: update for new soft body helpers API.
Benoit Bolsee [Tue, 22 Dec 2009 19:53:44 +0000 (19:53 +0000)]
BGE: update for new soft body helpers API.

9 years agoBullet: synchronize soft body helpers with current SVN.
Benoit Bolsee [Tue, 22 Dec 2009 19:52:14 +0000 (19:52 +0000)]
Bullet: synchronize soft body helpers with current SVN.

9 years agoMSVC project files
Benoit Bolsee [Tue, 22 Dec 2009 19:50:20 +0000 (19:50 +0000)]
MSVC project files

9 years agoselect nth (face/edge/vertex) - depending on which was last selected, useful for...
Campbell Barton [Tue, 22 Dec 2009 19:01:51 +0000 (19:01 +0000)]
select nth (face/edge/vertex) - depending on which was last selected, useful for colapsing every other edge for eg.

9 years agoBGE: fix bug with rigid body joint constraint target name: skip OB letter.
Benoit Bolsee [Tue, 22 Dec 2009 18:39:42 +0000 (18:39 +0000)]
BGE: fix bug with rigid body joint constraint target name: skip OB letter.

9 years agoselect linked and select linked pick working again (wth shift for extend)
Campbell Barton [Tue, 22 Dec 2009 17:18:33 +0000 (17:18 +0000)]
select linked and select linked pick working again (wth shift for extend)

9 years ago- make ToolSettings.mesh_selection_mode into an array of 3 bools rather then an enum...
Campbell Barton [Tue, 22 Dec 2009 16:11:11 +0000 (16:11 +0000)]
- 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

9 years agoAttempt to fix compilation of quicktime after reporting changes
Brecht Van Lommel [Tue, 22 Dec 2009 15:20:31 +0000 (15:20 +0000)]
Attempt to fix compilation of quicktime after reporting changes
(can't build this file myself, only qtkit seems to work here).

9 years agoReports: writing movies now uses the reports mechanism to throw errors.
Brecht Van Lommel [Tue, 22 Dec 2009 12:01:32 +0000 (12:01 +0000)]
Reports: writing movies now uses the reports mechanism to throw errors.

Also fixes bug #19463: screencast to xvid ffmpeg crash.

9 years agoFix #20433: make single user doesn't work from menu. Popup menus for
Brecht Van Lommel [Tue, 22 Dec 2009 11:59:30 +0000 (11:59 +0000)]
Fix #20433: make single user doesn't work from menu. Popup menus for
operators were not passing along properties.

9 years agoclone and stencil layer access added, renamed mask to stencil layer internally
Campbell Barton [Tue, 22 Dec 2009 10:48:13 +0000 (10:48 +0000)]
clone and stencil layer access added, renamed mask to stencil layer internally

9 years agoAssorted F-Curve/Keyframe API stuff (for use with some Sequencer editing):
Joshua Leung [Tue, 22 Dec 2009 10:14:13 +0000 (10:14 +0000)]
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.

9 years agoquite a few python panels (10 or so) had names longer then the PanelType allowed,
Campbell Barton [Tue, 22 Dec 2009 10:04:15 +0000 (10:04 +0000)]
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.

9 years agoBGE bug #20446: revert to orignal code, the problems comes from misunderstanding...
Benoit Bolsee [Tue, 22 Dec 2009 09:46:03 +0000 (09:46 +0000)]
BGE bug #20446: revert to orignal code, the problems comes from misunderstanding of matrix theory. More details in bug report.

9 years agozoom to mouse for 2D view
Campbell Barton [Tue, 22 Dec 2009 08:39:59 +0000 (08:39 +0000)]
zoom to mouse for 2D view
note: this works in all views except for nodes which seem to use the view bounds differently

9 years agoincreasing camera lens limit to 172.85 (same as 2.49xx)
Dalai Felinto [Tue, 22 Dec 2009 08:05:19 +0000 (08:05 +0000)]
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.

9 years ago[#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure...
Dalai Felinto [Tue, 22 Dec 2009 07:27:53 +0000 (07:27 +0000)]
[#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
####

9 years agopy error fix and minor changes to rna info class
Campbell Barton [Mon, 21 Dec 2009 23:14:16 +0000 (23:14 +0000)]
py error fix and minor changes to rna info class

9 years agonetrender: display dispatching rules under master header. (read only for now)
Martin Poirier [Mon, 21 Dec 2009 19:56:53 +0000 (19:56 +0000)]
netrender: display dispatching rules under master header. (read only for now)

9 years agoMissing file in previous commit.
Martin Poirier [Mon, 21 Dec 2009 18:56:00 +0000 (18:56 +0000)]
Missing file in previous commit.

9 years agonetrender: visibility toggle for full list of fluid and cache files in the job web...
Martin Poirier [Mon, 21 Dec 2009 18:14:39 +0000 (18:14 +0000)]
netrender: visibility toggle for full list of fluid and cache files in the job web page

9 years agoSequence Slide transformation (easier to do special sequence code there than in a...
Martin Poirier [Mon, 21 Dec 2009 17:23:44 +0000 (17:23 +0000)]
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).

9 years agoremoving sequence strip overlap didnt adjust the animation key time
Campbell Barton [Mon, 21 Dec 2009 16:57:39 +0000 (16:57 +0000)]
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

9 years agoremoving unwanted svn:executable properties
Martin Poirier [Mon, 21 Dec 2009 16:19:08 +0000 (16:19 +0000)]
removing unwanted svn:executable properties

9 years agoMultires: added back Reshape function, to copy vertex locations
Brecht Van Lommel [Mon, 21 Dec 2009 15:55:10 +0000 (15:55 +0000)]
Multires: added back Reshape function, to copy vertex locations
from another mesh.

9 years ago[#20441] 3D manipulator widget problem
Martin Poirier [Mon, 21 Dec 2009 15:37:19 +0000 (15:37 +0000)]
[#20441] 3D manipulator widget problem

calculateTransformCenter function passing event to transform init when it shouldn't have.

9 years ago- camera switching didnt work for openGL render
Campbell Barton [Mon, 21 Dec 2009 11:42:31 +0000 (11:42 +0000)]
- camera switching didnt work for openGL render
- UV Project (Bounds) wasnt in the menu

9 years ago* Rest length parameter for harmonic force springs. Implementation is a slightly...
Janne Karhu [Mon, 21 Dec 2009 11:19:07 +0000 (11:19 +0000)]
* 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.

9 years agoFix #20432: object.layers did not do correct update, could miss depsgraph rebuild.
Brecht Van Lommel [Mon, 21 Dec 2009 10:50:32 +0000 (10:50 +0000)]
Fix #20432: object.layers did not do correct update, could miss depsgraph rebuild.

9 years agoFix #20442: opening .blend file with hanging temp screens could crash,
Brecht Van Lommel [Mon, 21 Dec 2009 10:46:14 +0000 (10:46 +0000)]
Fix #20442: opening .blend file with hanging temp screens could crash,
version patch removed these screens, but not the corresponding windows.

9 years agoMakefiles: fix CFLAGS for OS X
Stefan Gartner [Mon, 21 Dec 2009 10:40:55 +0000 (10:40 +0000)]
Makefiles: fix CFLAGS for OS X

9 years agoOS X: added support for building with Cocoa to Makefiles
Stefan Gartner [Mon, 21 Dec 2009 10:38:04 +0000 (10:38 +0000)]
OS X: added support for building with Cocoa to Makefiles

to build with Cocoa support, set WITH_COCOA to true in user-def.mk

9 years agoSolidify rim faces now get face data from the faces they extrude from, (UV and VCol...
Campbell Barton [Mon, 21 Dec 2009 10:16:04 +0000 (10:16 +0000)]
Solidify rim faces now get face data from the faces they extrude from, (UV and VCol support)

9 years agoAnimation Editors - Durian Request - Selection Syncing:
Joshua Leung [Mon, 21 Dec 2009 09:52:43 +0000 (09:52 +0000)]
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.

9 years agosolidify modifier - rim faces now copy values from the faces they extrude from (mater...
Campbell Barton [Mon, 21 Dec 2009 08:37:30 +0000 (08:37 +0000)]
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.

9 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 02:46:19 +0000 (02:46 +0000)]
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).

9 years agoQuicky Loopcut patch:
Joshua Leung [Mon, 21 Dec 2009 02:39:39 +0000 (02:39 +0000)]
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.

9 years agoMissing id assignment for kmi creation function (2 out of 3 isn't good enough).
Martin Poirier [Mon, 21 Dec 2009 01:44:33 +0000 (01:44 +0000)]
Missing id assignment for kmi creation function (2 out of 3 isn't good enough).

9 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 01:09:09 +0000 (01:09 +0000)]
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.

9 years agoSolidify modifier for Durian (allow cloth sim on single layer and make solid after)
Campbell Barton [Mon, 21 Dec 2009 01:02:08 +0000 (01:02 +0000)]
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.