Commit Graph

19319 Commits

Author SHA1 Message Date
Matt Ebb
fffbb2c7eb Fix [#20671] No access to creating textures for a material
Caused by my previous commit here.
2010-01-14 10:43:53 +00:00
Matt Ebb
e8c4be18a8 Fix [#20029] Text input fields with dropdown list bugs 2010-01-14 09:56:41 +00:00
Campbell Barton
6b0e2ecd6c enable smooth shading of particle colors in particle editmode, for weight painting and selection. 2010-01-14 09:01:57 +00:00
Campbell Barton
c1f2fd0a46 particle weight brush back (mostly the same as in 2.4x), needed to control long hairs movement. 2010-01-14 08:53:10 +00:00
Matt Ebb
72b14be460 * Added an 'enable manipulator' operator, with boolean properties for each of
translate/rotate/scale, for people to bind to shortcut keys.

wm.context_set doesn't work well here since it just toggles each component on/off.

Fixes [#19730] Missing/conflicting keymaps for "Change Manipulator Mode" function

Good defaults for this can be decided on for an updated 2.5 key layout.
2010-01-14 05:29:25 +00:00
Joseph Eagar
109f719f46 ctrl +/- should be in default keymap for 3d view zoom in/out, probably other views too 2010-01-14 05:22:16 +00:00
Matt Ebb
b886f7ada0 Fix for previous properties editor crash, only remove ui handlers
on new screens. Was preventing openGL render and possibly other 
things from working
2010-01-14 05:21:20 +00:00
Matt Ebb
874ef4c747 Changed 3D View menu Duplicate Linked to use the same
duplicate linked + move macro as in the default key map (alt d).
2010-01-14 04:36:27 +00:00
Matt Ebb
e93d6655bd Fix [#19932] When reducing panels vertically the scrollbar should not continue redraw in
opposite direction
2010-01-14 04:16:45 +00:00
Joseph Eagar
7d251de01c view3d bg image now updates on frame change, and the panel for it properly draws an image user template. someone else might want to look over the UI stuff, hopefully it's ok. also added some ffmpeg .dlls to the SConscript to install. 2010-01-14 02:16:45 +00:00
Martin Poirier
36229bd39a Missing notifiers in some transform orientations operators.
Also, nice harmless typo (only because KM_SHIFT|KM_CLICK (1|3) == KM_SHIFT|KM_CTRL (1|2))
2010-01-14 02:06:08 +00:00
Matt Ebb
f3c89524c3 Fix [#20663] Mouse cursor icon changes back to default in edit mode
Seemed simple but actually turned out to be quite complex.

ND_MODE notifier was being misused, changed to ND_TOOLSETTINGS

Note: Although the fix itself doesn't involve this much, debugging uncovered 
that listeners can't rely on notifier->swinid to be correct, since notifiers can 
now be added from RNA without a region context.
2010-01-14 01:47:25 +00:00
Matt Ebb
61d4ff5890 Fix for saved animation image sequence renders being too dark
(caused by my recent color management commit)
2010-01-14 00:03:58 +00:00
Matt Ebb
ddafe3f5df Fix [#19902] sculpt brush texture not accessible when the object has no material
Texture handling really needs deeper improvement, this fix doesn't really help for 
other situations like modifiers, but solves the inconvenient case of sculpting with 
no material at least.
2010-01-13 23:12:48 +00:00
Martin Poirier
0befa75009 [#20583] Snap Cursor to Center and more View edits
Patches by Jonathan Smith (jaydez) 

Add a Cursor Center entry in the snap menu (Shift-S) to reset the cursor to 0,0,0. Also rename the view_center operator to view_selected to reflect better what it does (in the code only, description and name were already ok).
2010-01-13 22:17:56 +00:00
Martin Poirier
9bcfcfb873 [#20112] User Preferences window causes a crash
Opened preference window caused a crash (context pointing to freed screen) when Load UI was turned off.
2010-01-13 21:37:13 +00:00
Stefan Gartner
76d736edae Makefiles: add -DNAN_BUILDINFO to CPPFLAGS in windowmanager/intern when building with NAN_BUILDINFO
enabled
2010-01-13 19:48:34 +00:00
Campbell Barton
58f13d469e UV mirror tool (copies UVs from one side of the mesh to the other)
WIP, suffers from editmode bug where editmode python tools cant have redo-options set. and needs options for precission.
2010-01-13 17:58:26 +00:00
Campbell Barton
75ec61d128 link markers to another scene, Currently in Ctrl+L menu (which isnt ideal but no menu in timeline for this)
needed for linking in scenes and copying markers about
2010-01-13 14:39:08 +00:00
Arystanbek Dyussenov
574049782a Merge -c 25963 from COLLADA branch into trunk. 2010-01-13 12:51:07 +00:00
Arystanbek Dyussenov
799fd6f373 COLLADA branch: fix #20653 - <animation> tag's target attribute was missing ".ANGLE".
Also replaced "."s in <animation> ids with "_" and corrected bone <node> sids.
2010-01-13 12:44:57 +00:00
Campbell Barton
e5be23c141 check if the layer exists rather then getting the array. 2010-01-13 12:17:21 +00:00
Campbell Barton
3c888b63f0 fix crash for projection painting with subsurf or multires, while drawing the verts & faces were bening freed. 2010-01-13 12:16:10 +00:00
Campbell Barton
e691c9d151 RNA NLA update function was wrong, taking the scene as a PointerRNA 2010-01-13 12:15:04 +00:00
Brecht Van Lommel
54bb90bc7e Fix rendering of normal maps, was broken by new bump mapping. 2010-01-13 11:37:08 +00:00
Campbell Barton
26c7f78bcc node uninitialized memory valgrind found while looking into crash. 2010-01-13 08:39:32 +00:00
Campbell Barton
d2e7abec82 makesrna was failing because of a buffer overrun from an error in r25949 2010-01-13 08:12:57 +00:00
Matt Ebb
7df44b9ced Fix: wasn't able to rename node group nodetree name, or access the nodetree at all. Now you
can switch between them too.

Wrapped group nodes in RNA as part of this.
2010-01-13 06:35:12 +00:00
Martin Poirier
728359a6a5 Don't loop forever. 2010-01-13 04:27:10 +00:00
Matt Ebb
7c80ece9c8 Fix [#20614] renaming certain things in outliner->datablocks makes blender unresponsive to keystrokes
Outliner isn't able to rename things in datablocks view, disabled it from the UI.
2010-01-13 03:36:08 +00:00
Matt Ebb
0e39609468 Fix [#20557] animated node values haven't effect while render animatión
Was only updating the animation system for the render process - if scene render was skipped
(as is the case for comp trees without renderlayer nodes) then the animation system wouldn't
update.

Added in an update here, Aligorith, maybe you'd like to doublecheck.
2010-01-13 03:21:55 +00:00
Matt Ebb
6f0acf3cf3 Fix for Martin's fix, caused file selector to stop working.
Fileselect handlers are added to window's modalhandlers, and contain references to 
other areas/regions/etc... Still seems a little bit dodgy, but fixes file selectors for now.
2010-01-13 02:59:42 +00:00
Matt Ebb
0edecb73cf Fix [#20655] wrong button shading
Also restored copy/paste for color swatches
2010-01-13 02:01:34 +00:00
Matt Ebb
8e076e0341 Fix [#20649] when header is on top of 3D View and all regions are collapsed, expansion icons overlap 2010-01-13 00:43:59 +00:00
Dalai Felinto
f0180b700d Adding .glsl and .data to the Text filtering in the File editor (with Andrea's aval)
(.data is what we use by default as a dome mesh warp format, btw)
2010-01-13 00:15:17 +00:00
Martin Poirier
17108481a9 [#20093] Consistent Crash in properties window
Fun bug, took me the better part of the day to track down.

Happens because maximizing swaps spacedata lists between the old area and the newly created maximized area (this one being empty) while ui handlers are still hanging with references to the first area (then trying to access spacedata when handled). And then only if a maximizing operator was run before the UI realign timer event from the previous maximize was handled (fun, I told you).

After discussion with Matt on irc, we decided the best way to deal with that was to remove ui handlers that reference areas of a screen that is no longer used. That solution reflects the fact that the bug is more general that the reproducing steps would lead to believe. There's also absolutely no reason to run UI handlers on invisible areas.
2010-01-12 23:30:19 +00:00
Brecht Van Lommel
b39be60075 NLA: fix keyframes getting messed up when making strips longer. For drawing
and other operations the nla mapping would be applied to the curves, but not
restored correctly. The unmap function was not the inverse of the map function,
and it's not clear to me it's even possible to make it so due to repeat, so
now the old coordinates are backed up in a list and then restored afterwards.
2010-01-12 21:20:09 +00:00
Brecht Van Lommel
63e80e271d Bugfix: drivers on constraint properties could get set to invalid when
transforming, due to the evaluation of the object transform without
constraints, and the driver not finding the property.

Constraints are now disabled in a way that should avoid this problem
2010-01-12 19:51:26 +00:00
Brecht Van Lommel
ff353b4939 Math lib: added normalize_v3_v3 in addition to normalize_v3. 2010-01-12 19:47:54 +00:00
Brecht Van Lommel
489ef9cff1 RNA: warning fixes. 2010-01-12 19:47:31 +00:00
Brecht Van Lommel
6a0308aad3 Raytrace: only print debug info when running with -d option. 2010-01-12 19:45:01 +00:00
Martin Poirier
000dcc7ad7 [#19960] When Loop Cutting, no Edge Sliding in Face Select Mode, but works in other Select Modes
Force edge select (internally) when running edge slide.
2010-01-12 19:44:23 +00:00
Brecht Van Lommel
b58a14fe93 Fix for custom shapes getting lost on proxy armature bones. 2010-01-12 18:56:39 +00:00
Campbell Barton
59dfd24f75 - bugfix [#20654] the property edge_face_count of the Mesh-Object does not work
- remove unneeded particle function
2010-01-12 18:33:21 +00:00
Brecht Van Lommel
f7f98f3b05 Proxy Protection Fixes
* Mostly revert #24880: Transform Locks affecting animation system. This
  was implemented as a feature request from Nathan but was not the
  intended functionality, and actually gives problems instead. The transform
  locks should really only affect what the user can do, not if the property
  can be animated internally.
* Revert #25868: fix for lib linked scenes not animating. This was needed
  due to the above feature, but meant that all lib linked properties were
  editable in the UI.
* Make bone properties of on proxy-protected layers not editable. They will
  be overriden on reload/redo like lib linked data, so should not be edited.
2010-01-12 17:08:28 +00:00
Campbell Barton
b8d743c9c6 particle puff, volume option.
When combing long hair  it will often end up with no volume (flat on the head like its wet).
a way to fix this is to use the puff tool however when applied points at the root only this just gives a bit of volume at the roots and the rest of the hair stays flat.
 
This option moves the unselected parts of the hair without applying the puff tool to them, giving volume to the hair whilst preserving the desired style.
2010-01-12 16:35:34 +00:00
Campbell Barton
e672a083d9 bugfix for particle editmode operators from (Janne Karhu)
psys_get_particle_on_path was taking dynamics into account, making subdivide add points in odd places.
2010-01-12 16:29:05 +00:00
Campbell Barton
0a9321e532 bugfix for puff brush, it wasnt working if the object had any transformation.
some dna comments too.
2010-01-12 14:52:09 +00:00
Campbell Barton
78798ba4df rename free_group to free_group_objects since it doesnt free the group its self. 2010-01-12 13:42:13 +00:00
Campbell Barton
70942f9a83 last commit was no good since pe_get_current was running recalc_emitter_field on mousemove and poll() functions.
run on entering particle editmode only.
2010-01-12 13:40:29 +00:00