Commit Graph

6057 Commits

Author SHA1 Message Date
Henrik Aarnio
035d86402b Fix: tab completing a filepath name in file browsers asks to create a new
directory if name was not fully matched

When hitting tab to complete a directory name in the filepath field in the
filebrowser Blender shows a "create new directory?" popup, if the beginning
of directory name typed in the field matches many entries. For example if you
have directories in the open directory called "test123" and "test456", typing
"te", tab would complete up to "test", but ask to create a new folder with the
name "test".

This patch unsets the boolean storing the info about changing filepath if the
folder with the completed name does not exist.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D10
2013-11-19 16:42:50 +01:00
Sergey Sharybin
000312ab51 Remove Surface modifier when removing force field from object
Summary:
Before this adding Surface type of force field and removing
this field would leave Surface modifier alive in the stack.

This might be really misleading and annoying.

Now removing force field will ensure no modifiers needed for
it are remained in the stack.

This also fixes missing notifier to redraw modifier stack
when changing force field type.

Reviewers: brecht, campbellbarton

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D13
2013-11-19 17:19:06 +06:00
Campbell Barton
1968612e5b View3D: Add menu in the header is now context sensitive (like shift+a). 2013-11-19 17:16:15 +11:00
Campbell Barton
74a1e4dcf2 Fix T37519: Screw Modifier ignores material setup
This was more a missing feature then a bug, the modifier never handled
existing faces however with ngons its possible to get more useful
results. Also order edges from the faces (if available),
gives control over the face-winding-direction.
2013-11-19 13:15:12 +11:00
Campbell Barton
995d4d803a Maintenance: Shebang lines fix for some python scripts 2013-11-18 20:41:22 +11:00
Sergey Sharybin
37f6bfb810 Fix bug in maya/3dsmax keymaps caused by removed operator
Once again, when you remove operator make sure keymaps we've
got in master branch keeps working.
2013-11-18 14:27:10 +06:00
Campbell Barton
c9209de573 vertex weights: add weight quantize tool. 2013-11-17 14:58:23 +11:00
Thomas Dinges
87c66bc6a4 Documentation:
* Update readme for 2.70 (content + links), also updates for new tracker/git.
* Fix some links to the new blender.org website
* Release logs now point directly to the wiki, I don't see a reason to point to the website, just to redirect to the wiki after all.
2013-11-17 00:37:12 +01:00
Campbell Barton
8bc48307ba pose mode: extend selection flipping to use the same method as editmode.
adds extend and active only opton.
2013-11-17 05:23:05 +11:00
Daniel Salazar
d36a416cab The tittle for "Maximum Draw Type" had capitalization inconsistent with the rest of Blender 2013-11-16 02:50:01 -06:00
58afbb2ee8 Help menu: report a bug now links to the new tracker at developer.blender.org.
There will be a redirect from the projects.blender.org website as well, but
might as well update the link here.
2013-11-16 03:26:04 +01:00
f546c7a889 Addons: remove tracker URL from addon template, as this is no longer used,
and link to the new Addons bug reporting page.
2013-11-16 03:15:17 +01:00
Sergey Sharybin
927dea436e Further tweaks to buildinfo
Summary:
Old idea with changes since previous release tag
didn't work good enough. In most of the cases tag
was done in a branch hence not actually reachable
from the master branch.

Now change since release is gone, and date of
the latest commit is used instead.

The date is displayed in format YYYY-MM-DD HH:mm
in the splash.

New bpy.app fields:

- build_commit_timestamp is an unix timestamp of
  the commit blender was build from.
- build_commit_date is a date of that commit.
- build_commit_time is a time of that commit.

Reviewers: campbellbarton

Differential Revision: http://developer.blender.org/D5
2013-11-15 18:05:27 +06:00
Sergey Sharybin
6bbca88f66 Initialize git submodules for addons, locales and scons
Uses relative paths to repositories, so this is expected
to work fine for any protocol we support (git, ssh and http).

Uses ignore=all for all the submodules, so updating them
to latest remote hash does not tags blender repository
as changes. But it is still possible to make changes to
submodules and commit them from their path.
2013-11-15 12:19:08 +06:00
Lukas Toenne
8db4f87546 Small example for dynamic node labels in the custom_nodes.py template script. 2013-11-12 18:18:06 +00:00
Bastien Montagne
e177ac100b Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE
Add back mute & lock buttons to audio strips (these should not have been removed, own fault).
2013-11-12 07:02:04 +00:00
Bastien Montagne
bbcfadff35 Work around for bug [#37376] wrong tooltips on few minus buttons
Until we have a way to customize tooltips based on operator parameters...
2013-11-10 08:15:24 +00:00
Bastien Montagne
a0286f42f9 "Render Audio" cleanup:
* Removed audio-only options from ffmpeg render settings (added some versionning code too)!
* Moved the Mixdon button from the Scene->Audio pannel to the Render->Render panel.
2013-11-07 13:32:32 +00:00
Sergey Sharybin
be09e694b1 Fix #37338: Add objects from addon work in a Linked Scene
Added a poll function to add object helper which checks
whether scene is linked or not.

All the primitives which are delivered from this helper
will work properly for linked scenes. If there're still
primitives which are not delivered from this class, well
nothing i can do now.
2013-11-07 08:40:47 +00:00
Lukas Toenne
921d3555ed Fix #37348, Different behaviour in Node editor. Adding nodes from the search operator now also removes them again if the subsequent transform is cancelled, like with the regular node shift+A menu
operators.
2013-11-07 08:33:09 +00:00
Lukas Toenne
61c411068b Patch #37274: Circle select for node editor, by Henrik Aarnio (hjaarnio).
Circle select was missing from node editor, and C key was assigned to now defunct "show cyclic dependencies". This patch remaps the key and adds circle select operator.
Functions to check intersection between rctf/rcti and a circle were also added to rct.c for code cleanliness and consistency.
2013-11-06 19:21:42 +00:00
Lukas Toenne
549ed3d378 Removed the "Show Cyclic Dependencies" operator for nodes. This operator is an old relic implemented for showing cyclic node connections as red links. This is not necessary any more, the operator simply
called the generic node tree update function, which is happening anyway after all relevant node operators (if it doesn't that has to be considered a bug).

It has been suggested to better use the C key for circle select, this remains to be discussed.
2013-11-06 18:56:51 +00:00
Lukas Toenne
7398600090 True grid snapping for nodes: This snaps nodes to the actual background grid instead of using incremental offset (which is not useful for nodes). Increment snapping has been disabled for nodes to avoid
confusion, grid snap is now the default as it seems to be the most wanted and easy to use mode.

Absolute grid snapping happens in a somewhat generic function 'applyGridAbsolute', which could also be used for objects and other transforms later on. It is conceptually similar to the 'project' snapping
option, in that it calculates a delta vector for each element on top of the overall transform, which places each node on the grid.

Node transform now uses the top-left node corner for TransformData->loc. The transform center is still the average of node centers, so that scaling and rotation works nicely.

snapGrid*** functions have been renamed to snapGridIncrement*** to distinguish better between incremental and absolute grid snapping.
2013-11-06 17:46:32 +00:00
Joshua Leung
50ac2ee8de Grease Pencil: User-Pref for setting the default colour of newly created layers 2013-11-06 10:59:05 +00:00
Brecht Van Lommel
99c5e71397 Quicktime: remove backend with the old quicktime API, and keep the QTKit backend.
This means that if you have WITH_BF_QUICKTIME or WITH_CODEC_QUICKTIME enabled,
it will always use QTKit.

The old backend was only used on 32 bit OS X builds, now 32 and 64 bit builds will
give consistent input/output. On Windows or Linux quicktime isn't being used.
2013-11-06 01:45:15 +00:00
Campbell Barton
53dccd94a4 patch [#37305] Quick Hack: Armature Mirror Select
from Terry Struven (tlstruven), with some modifications.
2013-11-05 21:47:35 +00:00
Thomas Dinges
a7253add34 Code cleanup:
* Remove unused UI code for Info Space items. Was lying around here for some months already. 

Probably we have to re-think the whole placement of the operator history thing, but thats for later. In the current config there is no room for these buttons though.
2013-11-05 15:37:11 +00:00
Thomas Dinges
28bd03d9b5 Code cleanup:
* Remove "FCurve/Driver Version fix" from help menu, was used for RNA changes during 2.5x. 
* Keep utility code in animsys_refactor.py, might still become useful according to Joshua.
2013-11-05 08:52:12 +00:00
Thomas Dinges
1de0e3c8c1 Interface:
* Move the "Add" menu from the Info header into the 3D View header. 

Patch by Andrew Buttery (axb), with small tweaks by myself. (Patch ID #37241). 

Approved by Brecht and Jonathan.
2013-11-04 22:49:49 +00:00
Bastien Montagne
84daa57188 Update i18n tools for new build_hash... 2013-11-04 18:26:56 +00:00
Sergey Sharybin
2010c6ad6c Made buildinfo aware of builds from GIT
- Use commit number since last annotated tag as a
  revision number replacement. It'll eb followed
  by 'M' symbol if there're local modification in
  the source tree.

- Commit short SHA1 is included. Helps getting
  information about commit used to build blender
  with much faster.

- If build is not done from master branch, this also
  will be noticed in the splash screen.

This commit also replaces revision stored in the
files with git-specific fields (change and hash).
This is kind of breaks compatibility, meaning
files which were saved before this change wouldn't
display any information about which revision they
were saved with. When we'll finally switch to git,
we'll see proper hash and change number since
previous release in the files, for until then
svn version will be used as a change number and
hash will be empty.

Not a huge deal, since this field was only used
by developers to help torubleshooting things and
isn't needed for blender itself.

Some additional tweaks are probably needed :)
2013-11-04 13:21:39 +00:00
Bastien Montagne
ddcb1166de Fix [#37275] can't import 2.68a keymap
Now exported keymaps will still be usable accross versions, even if some operator properties disappear (write a warning in console in this case, instead of "crashing").

Also factorized a bit of code here!
2013-11-03 18:04:45 +00:00
Thomas Dinges
1eb90abf2b * Extrude options where available in object mode (search menu), resulting in error msg.
Added polls now, patch by Gottfried Hofmann (gottfried).
2013-11-01 13:14:17 +00:00
Campbell Barton
7267221715 remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED. 2013-10-30 23:08:53 +00:00
Joshua Leung
d4cf4efb77 Bugfix [#37185] Maya Config: Move and Scale Don't Work In Dope Sheet
Maya keymap was activating wrong transform modes for translation/scaling - in
DopeSheet and NLA, these use the TIME_TRANSLATE/TIME_SCALE modes instead
2013-10-30 11:33:29 +00:00
Antony Riakiotakis
33a0469630 Some comment fixes, add new sculpt masking operators to menus 2013-10-30 00:54:41 +00:00
Sergey Sharybin
16d13e0db9 Project Pampa request: FCurves normalized display
Added two options to a header of FCurve editor:

- Normalize which makes it so every individual
  curve is fit into -1..1 space.

- Auto-normalize, which probably is to be called
  "Lock" which "locks" curve normalization scale.
  This is useful to prevent curves from jumping
  around when tweaking it.

It's debatable whether it need to be a button to
normalize curves n purpose only, and it's fully
depends on animator's workflow.

Here during Project Pampa we've got Francesco
who get used to auto-renormalization and Hjalti
who prefers locked behavior.

Docs are to be ready soon by Francesco.
Thanks Brecht for the review!
2013-10-29 18:10:52 +00:00
Sergey Sharybin
e89b001318 Project Pampa fix: animplayer will use preview range if preview is enabled 2013-10-29 15:49:01 +00:00
Sergey Sharybin
56cf901f03 Fix #37152: Knife tool doesn't work properly with Maya preset (Zooming and Panning) 2013-10-29 11:59:03 +00:00
Dalai Felinto
a7b44c82e5 Triangulate Modifier: using different ngon and quad methods
Quads: Beauty, Fixed, Fixed Alternate, Shortest Diagonal
Ngons: Beauty, Scanfill

* Shortest Diagonal is the default method in the modifier (popular
  elsewhere), but beauty is the default in Ctrl+T).

* Remove the need for output slot and beauty operator to be called
after Clt+T

Patch with collaborations and reviewed by Campbell Barton
2013-10-29 02:42:51 +00:00
Campbell Barton
5f05de0c1e patch [#37218] Split operator for armatures
from Henrik Aarnio (hjaarnio)
2013-10-29 00:10:03 +00:00
Sergey Sharybin
9f32e83175 Weighted tracks
Added a weight slider to track which defines
how much particular track affects in a final
reconstruction. This weight is for sure
animateable.

Currently it affects on BA step only which in
most cases will work just fine.

The usecase of this slider is to have it set
to 1.0 most of the time where the track is
good, but blend it's weight down to 0 when
tracker looses the track. This will prevent
camera from jump.

Tutorial is to be done by Sebastian.
2013-10-26 13:22:38 +00:00
Sergej Reich
826713809e rigidbody: Add "Apply Transformation" button
This is just the "Apply Visual Transform" operator.
It's very usefull for rigid body simulations but hard to find and users
usually don't know about it/don't know it's usefull to apply rigid body
transformations.
It seems bit out of place (especially the tooltip) so we might need to
do a bit more here.
2013-10-25 11:54:10 +00:00
Campbell Barton
5b6e6b7285 code cleanup and add mball select similar into the menu 2013-10-25 06:22:15 +00:00
Campbell Barton
58db4b70f3 make the message for addons failing to parse a little more descriptive (suggested in report [#37196]). 2013-10-24 20:17:30 +00:00
Campbell Barton
383da79d63 minor changes to templates 2013-10-22 00:25:15 +00:00
Brecht Van Lommel
efe2b1edf1 Jump to Next/Previous Marker operators in the timeline menu, shortcuts are
ctrl + shift + left/right arrow key.

Patch #37142 by Henrik Aarnio, thanks!
2013-10-21 15:00:22 +00:00
Bastien Montagne
4edffbf54f More complete handling of printf formatting in msgid/msgstr checks.
(That commit, r60813, should never have been done to 2.69 branch, will revert it there, sorry :/ ).
2013-10-19 14:28:32 +00:00
Sergey Sharybin
023b25b57e Fix #37106: Hair Length vanishes when Advanced is enabled
Seems to be just a missing case from r34687.

Could not see a reason why hair length is to be hidden in
advanced settings mode.
2013-10-17 10:42:47 +00:00
Bastien Montagne
6e9c3a9abf i18n utils: check not only that the number of printf markers are the same in msgid and msgstr, but also that they are of the same type and order. Sorry, should have done that from the beginning... :/
This should prevent any bug like [#37095] Timeline crash when chose any keying set then press keyframe-insert, to appear again.
2013-10-17 06:52:26 +00:00