Commit Graph

3989 Commits

Author SHA1 Message Date
Campbell Barton
c6d43a02cb bugfix [#25767] Addons cannot be upgraded through the UI
added option to overwrite.
2011-02-01 06:48:19 +00:00
Campbell Barton
0362d19f2d Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths as well as strings, support this with blender/rna too.
- bpy.data.*.load() functions were only accepting UTF-8 paths.
- rna functions/properties now accept byte values rather then strings for file paths.
- bpy.path.resolve_ncase now supports byte objects.
2011-02-01 04:24:47 +00:00
Daniel Salazar
339d3bf05f reverting the new button in node editor.. will need to create a new
operator to get the correct behavior for center backdrop
2011-02-01 01:32:12 +00:00
Daniel Salazar
7b3a49af8c Added Center button to backdrop controls in node editor's side panel
Inlined backdrop's zoom ui limits and hard limits so that
going to minimun and going back to 100 works
2011-02-01 01:18:16 +00:00
Thomas Dinges
05034fb91f Node UI:
* Added Backdrop Panel inside the "Properties" area.
* Hard limit for the "zoom" value. Negative values doesn't make sense. 
* Added a missing notifier for the Node backdrop move operator.
2011-01-31 16:16:15 +00:00
Lukas Toenne
48fc6f5698 Added transparency feature to node editor backdrop, similar to image editor. Alpha blending can be enabled by a button when "Use Backdrop" is selected. 2011-01-31 11:17:50 +00:00
Martin Poirier
d5c7231339 [#25693] Netrender "shadow" images with last frame always appear
Better handling of FSAA when downloading results and on slaves.
2011-01-30 22:15:50 +00:00
Campbell Barton
89c617a116 remove nan-makefiles 2011-01-30 15:29:22 +00:00
Daniel Salazar
4d308dd921 Added handy option to delete all vgroups in the dropdown menu 2011-01-29 23:51:42 +00:00
M.G. Kishalmi
c709524dc9 new bumpmapping options for the renderer
oldbump -> original
newbump -> compatible
 *new*	-> default (3tap)
 *new*	-> best quality (5tap)

the latter two have an option to apply bumpmapping in 
 viewspace - much like displacement mapping
 objectspace - default (scales with the object)
 texturespace - much like normal mapping (scales)
2011-01-29 11:56:11 +00:00
Joshua Leung
e7e5fa0630 "Whole Character" KeyingSet Bugfix: RNA paths for custom properties
were getting formed wrongly

Although the RNA paths for the custom properties could get evaluated
correctly, keyframe status highlights in buttons didn't always work
correctly, and would lead to a duplicate F-Curve for the same setting
getting created.
2011-01-29 09:47:48 +00:00
Joshua Leung
1439ebb6b1 Character Animation Goodie: "Whole Character" Builtin Keying Set
This commit introduces a new Keying Set: "Whole Character", which is
specially designed for character animators blocking out their
animation. It should make animating with rigs such as the Sintel rigs
(and other "mainstream" setups, though others may also work with a few
modifications) much easier.

It automatically determines which properties on every bone in the
active rig should be keyframed, avoiding an initial set up step where
properties may be missed, or non-animatable properties are also
needlessly keyframed. To do this, it relies on several rules:
1) All bones in the armature, regardless of visibility status are
considered, so that hiding some layers on some keyframes then
keyframing them later won't create problems with earlier poses
changing
2) Bones starting with certain prefixes, i.e. DEF, MCH, VIS, etc. (the
full list is available in the code for this, and can be/is meant to be
modified by riggers in their own versions as they see fit), so that
some bones on hidden layers which shouldn't be seen by animators are
not keyframed
3) Locked transforms AREN'T keyframed
4) All custom properties ARE keyframed - currently this is the best we
can do, as it's hard to tell if they're needed or not, or even if
they're already driven.
2011-01-29 03:01:51 +00:00
Martin Poirier
0b6c130937 [#25783] Network rendering fails with windows paths
Potential fix. Absolute windows path weren't detected as absolute on linux.
2011-01-28 00:45:53 +00:00
Martin Poirier
185f774385 [#25671] Network Render freezes/blocks blender
Decreasing timeout and increasing refresh period
2011-01-28 00:00:10 +00:00
Martin Poirier
c627e1cbaa Bug [#25696] Netrender feedback fails
Patch by Wintch Analyzer

Someone change an attribute name and this wasn't updated
2011-01-26 20:09:30 +00:00
Campbell Barton
2df908df39 fix for error in add mesh script with no operator passed. 2011-01-26 14:52:00 +00:00
Campbell Barton
1f5cec709c update to background_job template to use --factory-startup option.
make all templates pep8 compliant.
2011-01-26 07:54:27 +00:00
Joshua Leung
78fb0a42b7 Adding Calculate/Clear Motion Path operator buttons to toolbar. I'm
currently reviewing the UI for this, so more changes related to this
should be coming...
2011-01-26 06:41:44 +00:00
Daniel Salazar
c47eb461ac After talking to Troy Sobotka, separated the time mapping UI a bit and added a label. It should be less obscure now 2011-01-26 06:08:26 +00:00
Daniel Salazar
58352e12f5 Adding Framerate preset patch by Troy Sobotka (sobotka). Small change to
make Frame Old / Frame New remapping settings always visible as they
aren't really a part of framerate settings
2011-01-25 18:30:31 +00:00
Campbell Barton
076171c5fa fix [#25757] Torus script uses radians for rotation in panel 2011-01-24 15:25:03 +00:00
Dalai Felinto
d58c31704b BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor Balbio, changes by me.
----------------------------------
While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts.

This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).
2011-01-23 17:25:27 +00:00
Janne Karhu
fa38da021c Some ui reorganization of the physics tab:
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter.
* Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled.
* There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
2011-01-23 14:04:31 +00:00
Janne Karhu
f39c794c7c Own mistake in fluid particles ui cleanup commit.
* Emission tab was shown without particle settings.
2011-01-22 21:22:29 +00:00
Janne Karhu
f4598728c4 "Fix" for [#25766] Fluid Particle Bugs
* Argh, particles tab was showing the whole "non applicable settings for fluid particles"-galore as the particle type "fluid" can't be checked from rna using the settings type value. Now the ui is a lot cleaner and only settings that actually effect the fluid particles are shown.
2011-01-22 20:38:27 +00:00
Campbell Barton
df6bb34c2b correct fix for [#25737] Console error message 2011-01-20 23:05:25 +00:00
Campbell Barton
039bb7812f bugfix [#25742] blender-thumbnailer.py doesn't work with python 3.1 2011-01-20 21:02:42 +00:00
Joshua Leung
fbe8f21826 NLA Editor: Added "Sync Action Length" operator to Edit menu
Although strictly-speaking, this only applies to a certain type of NLA
Strip (there are 3 types), but since only the classic "Action Clip"
gets much attention, it's probably worth exposing this here too to
make batch editing of strips a bit easier.
2011-01-19 10:45:35 +00:00
Joshua Leung
dddb9aa30f NLA Editor: Swap Strips (Alt-F) and Bugfixes
1) Added a new operator to swap the order of strips within a track
(Alt-F).
This makes it possible to select two strips (or more precisely, two
islands of consecutive + selected strips) in a single track and change
the order in which the appear without needing a extra tracks to
perform the move through.

As usual, the non-overlapping rules apply, so there may be some cases
where swapping in this way is not possible without adjusting the
intermediate strips first manually. Otherwise, everything just gets
too tricky to manage deciding what adjustments should be done to the
obstructing strips to make a fit.

2) Freeing meta-strips didn't free their local data properly (i.e.
modifiers they may have had).

3) Adding strips to tracks, where the endframes for the strips
overlapped would cause problems with incorrect ordering of strips. I
still need to double-check whether evaluation works ok in this case...
2011-01-18 23:38:36 +00:00
Campbell Barton
11f8b5fceb move release/test to source/test, there is nothing release about this dir. 2011-01-18 23:12:02 +00:00
Campbell Barton
e6027018fe recent commit broke Mesh.from_pydata() 2011-01-18 06:35:26 +00:00
Campbell Barton
8cf1184c04 bad spelling; 'indicies' --> 'indices' 2011-01-18 01:58:19 +00:00
Campbell Barton
28382c7983 document Mesh.from_pydata() [#25688] undocumted functions in pyapi 2011-01-18 01:38:14 +00:00
Joshua Leung
d769ff0d26 Bugfix [#25667] "X-Axis Mirror" in the Pose Options panel toolbar is
misleading (?)

"X-Axis Mirror" option didn't work in Pose Mode, so hiding this option
for now. Perhaps one day we could properly support this for all
operators there, but that is more of a long term todo...
2011-01-17 10:35:04 +00:00
Campbell Barton
743182106f py api: bpy.path.abspath(), option to return relative to a path other then the current blend file. 2011-01-15 20:35:31 +00:00
Campbell Barton
fd7b6519fd move to bf-extensions 2011-01-15 19:36:01 +00:00
Campbell Barton
cae4e92ce8 bugfix [#25640] Cannot edit custom property values in it's popup window 2011-01-15 19:15:35 +00:00
Campbell Barton
f66912a335 misc edits, no functional changes
- enabling/disabling no longer prints in the terminal unless in debug mode.
- remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used.
- Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used.
2011-01-15 15:48:46 +00:00
Campbell Barton
c69ecd3f90 moving io scripts to 'addons' dir in extensions svn, leaving MDD format since I dont maintain this. 2011-01-14 17:28:10 +00:00
Campbell Barton
9d8d25cc34 add icons to show community vs official scripts as well as buttons to filter by support level (currently all scripts default to community)
note: we need better icons for this.

 also formatting edit for ply import.
2011-01-14 16:49:43 +00:00
Campbell Barton
dc1e1baabf rename bl_addon_info --> bl_info, because this isnt necessarily used for addons. 2011-01-14 15:21:13 +00:00
Campbell Barton
3bf46c57c9 add ply import into the file menu. 2011-01-14 00:23:21 +00:00
Campbell Barton
ac5b048e99 initial 2.5x api port. basically working. 2011-01-14 00:06:43 +00:00
Campbell Barton
7c7b31cf84 python3 updates: 2011-01-13 23:38:25 +00:00
Campbell Barton
de5d321e71 pep8 cleanup. 2011-01-13 23:31:04 +00:00
Campbell Barton
a1850ed876 ply importer from 2.4x, no changes made.
svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/ply_import.py release/scripts/op/io_mesh_ply/import_ply.py
2011-01-13 23:28:36 +00:00
Campbell Barton
9146ca06dd pep8 corrections. 2011-01-13 23:00:51 +00:00
Campbell Barton
29338aa2b3 fix for x3d importer
- files blender exports (blender uses unusual array formatting).
- scene needed to be rotated on import.
- lamp spot size was half as big as it needed to be.

x3d export typo broke image export.
2011-01-13 22:44:47 +00:00
Campbell Barton
4cc4a73a9e feature request from colin levy, camera lens stamp. 2011-01-13 19:16:35 +00:00
Campbell Barton
6a9d93a339 fix for NULL missing pointer check, reported on IRC by admix.
also rename BVH class for consistency.
2011-01-13 05:05:10 +00:00