11 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).

11 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

11 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.

* 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.

11 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.

11 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)

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

11 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.

11 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

11 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.

11 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

11 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.

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

11 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.

11 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.

11 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)

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

11 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.

11 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.

11 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.

11 years agoreplace with Menu classmethods much less complicated.
Campbell Barton [Fri, 25 Dec 2009 22:16:19 +0000 (22:16 +0000)]
replace 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"))

11 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)

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

11 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

11 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

11 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
- experemental python file:line references for python operators.

11 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

11 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

11 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

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

11 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

11 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.

11 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).

11 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.

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

11 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.

11 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.

11 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.

11 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

11 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

11 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

11 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).

11 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

11 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.

11 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.

11 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:


(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.)


(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.)

11 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


11 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)

11 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.

11 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.

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

11 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.

11 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.

11 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)

11 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 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

11 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).

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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

11 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.

11 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
from Mathutils import *
from math import radians

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

owner.worldOrientation = RotationMatrix(radians(1), 3, 'z') * owner.worldOrientation

11 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

11 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)

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

11 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

11 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).

11 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

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

11 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.

11 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.

11 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

11 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.

11 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.

11 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.

11 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

11 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

11 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)

11 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.

11 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.

11 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 02:46:19 +0000 (02:46 +0000)]

- 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).

11 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.

11 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).

11 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 01:09:09 +0000 (01:09 +0000)]

- 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.

11 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.

* 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.

11 years agoSimple fix - don't show meta-rig panel for non-armature data
Matt Ebb [Sun, 20 Dec 2009 23:34:05 +0000 (23:34 +0000)]
Simple fix - don't show meta-rig panel for non-armature data

11 years agonetrender: buttons to change chunks, priority and reset job.
Martin Poirier [Sun, 20 Dec 2009 21:46:39 +0000 (21:46 +0000)]
netrender: buttons to change chunks, priority and reset job.

11 years agoBGE fix: 3DDview not redrawing when exiting BGE
Dalai Felinto [Sun, 20 Dec 2009 18:47:30 +0000 (18:47 +0000)]
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.

11 years agoFix do_version for new preview region (for real this time).
Martin Poirier [Sun, 20 Dec 2009 15:23:29 +0000 (15:23 +0000)]
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.

11 years agoFixes for memory leaks when exiting Blender while still in WeightPaint Mode.
Joshua Leung [Sun, 20 Dec 2009 11:04:11 +0000 (11:04 +0000)]
Fixes for memory leaks when exiting Blender while still in WeightPaint Mode.

11 years agoBugfix #20173: Crash with Weight Paint on polygons with no faces
Joshua Leung [Sun, 20 Dec 2009 10:50:40 +0000 (10:50 +0000)]
Bugfix #20173: Crash with Weight Paint on polygons with no faces

11 years agoAnimation Editor Code Cleanups:
Joshua Leung [Sun, 20 Dec 2009 05:09:55 +0000 (05:09 +0000)]
Animation Editor Code Cleanups:

Removing some unused functions that have become redundant in recent times.

11 years agoFix preview do_version bug (causing region type missing errors)
Martin Poirier [Sat, 19 Dec 2009 22:40:45 +0000 (22:40 +0000)]
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.

11 years agoAdd missing names to SpaceTypes
Martin Poirier [Sat, 19 Dec 2009 22:37:51 +0000 (22:37 +0000)]
Add missing names to SpaceTypes

11 years agonetrender: list files in job webpage
Martin Poirier [Sat, 19 Dec 2009 22:36:20 +0000 (22:36 +0000)]
netrender: list files in job webpage

11 years agoint Type for region rna (read-only helps for debug)
Martin Poirier [Sat, 19 Dec 2009 21:33:25 +0000 (21:33 +0000)]
int Type for region rna (read-only helps for debug)

11 years agoFixing error introduced in commit 25428.
Thomas Dinges [Sat, 19 Dec 2009 16:55:04 +0000 (16:55 +0000)]
Fixing error introduced in commit 25428.
* Preview Render didn't update in the world tab, when changing settings.

11 years agoBugfix: doubles are not supported correctly in SDNA, double click
Brecht Van Lommel [Sat, 19 Dec 2009 14:58:24 +0000 (14:58 +0000)]
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.

11 years agoutility module for introspecting RNA for doc generation.
Campbell Barton [Sat, 19 Dec 2009 13:48:50 +0000 (13:48 +0000)]
utility module for introspecting RNA for doc generation.