blender.git
10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 19:49:45 +0000 (19:49 +0000)]
2.5

Small context bug when switching screens, Context didn't get updated
well. (solves crash in windows, on exit full screen file browser)

10 years ago2.5 filebrowser
Andrea Weikert [Tue, 6 Jan 2009 19:22:29 +0000 (19:22 +0000)]
2.5 filebrowser
further cleanup:
- moved struct FileList* back to SpaceFile
- fix for memory related errors and freeing operator in file_free
- removed wmSubWindowSet, we're not doing OpenGL select in filebrowser
- removed drawing of load button when invoked from windowtype pupmenu
2.5 MSVC projectfiles:
- slipped in removal of multires_firstlevel.c in blenkernel

10 years agoGot rid of old multires code, brought in multires modifier from
Nicholas Bishop [Tue, 6 Jan 2009 18:59:03 +0000 (18:59 +0000)]
Got rid of old multires code, brought in multires modifier from
soc-2008-nicholasbishop branch.

Note: any old code with multires_test() or multires_level1_test() can
just be deleted, not needed by the multires modifier.

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 18:52:18 +0000 (18:52 +0000)]
2.5

Made ED_screen api calls:
- ED_screen_full_newspace()
- ED_screen_full_prevspace()

Which now gets called by F1 operator, to move to
full-screen-sized browser. For testing fun its default
now. Might become user setting. Also have to check
on opening a temp window for this (and for render).

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 18:14:37 +0000 (18:14 +0000)]
2.5

Cleaned area prevspace, and made exported API for it.
Also added operator-free on 'cancel' in filewindow.

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 17:38:44 +0000 (17:38 +0000)]
2.5

File window: load now happens with proper free of operator.
still a bit of mystery how main handler loop survives after
a file load... will investigate once. :)

10 years ago2.5 filebrowser
Andrea Weikert [Tue, 6 Jan 2009 16:47:01 +0000 (16:47 +0000)]
2.5 filebrowser
- some more cleanup, use UI_text functions for text output rather than BMF_ directly
- removed some debug prints and some unused variables

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 16:15:43 +0000 (16:15 +0000)]
2.5

FileWindow: fixes for Make and Scons, and removed
(commented) unused vars, and adding include files.

10 years ago2.5
Andrea Weikert [Tue, 6 Jan 2009 15:58:37 +0000 (15:58 +0000)]
2.5
fix wrong parameter list, I should have read those warnings a bit better!

10 years ago2.5 - Start of filebrowser.
Andrea Weikert [Tue, 6 Jan 2009 14:42:54 +0000 (14:42 +0000)]
2.5 - Start of filebrowser.
- basic drawing of list and thumbnail view (switchable through 'favourits' icon in header)
- selection of files and directories (bookmarks) works with the RMB (right mouse button)
- load operator for files still unstable (no check for correct file type) and incomplete. (WM_operator_free missing)
immediate TODOS:
- fix load file operator
- finish drawing of buttons in header
- drawing of detailed list with all file info.
- finish selection and execute operators (LMB and MMB execute)
later todos:
- parent dir
- keymap for all the shortcuts
- append/link and databrowse
- ...

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 12:30:44 +0000 (12:30 +0000)]
2.5

Bugfix: some old dangling globals still crash lattice.
Editmode lattice has to be coded still, but now Mancandy
loads again :)

10 years ago2.5
Andrea Weikert [Tue, 6 Jan 2009 10:31:25 +0000 (10:31 +0000)]
2.5
small cleanup of header include guards.

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 10:30:34 +0000 (10:30 +0000)]
2.5

Bugfix: the area level Refresh callback was not getting Context set,
it was NULLed still. This fix allows bone selecting and seeing updates
in the action editor. Not other way around though, will investigate.

10 years ago2.5
Ton Roosendaal [Tue, 6 Jan 2009 10:09:39 +0000 (10:09 +0000)]
2.5

Bugfix: WM gesture manager was not assigning gesture to the
context-defined region, making border select calls from a
header not work.
This fixes Node header option "Border select".

10 years ago2.5 MSVC9 projectfiles
Andrea Weikert [Tue, 6 Jan 2009 09:08:43 +0000 (09:08 +0000)]
2.5 MSVC9 projectfiles
updates:
* stubs.c was moved from editors/screen to python
* RNA: rna_action.c
* Armature: all in editors/armature added.

10 years ago2.5
Martin Poirier [Tue, 6 Jan 2009 02:27:07 +0000 (02:27 +0000)]
2.5

Transform Numeric Input: Inverse

Press "/" to toggle inverse value (1/N).
Makes it easy to scale down by specific values (you can just type S / 7 to scale down by 7, for example).
This doesn't give full fraction input (X/Y).

Suggestion from a talk with Gwenouille on ba.org

10 years agoChanged "opacity" property for brushes to "strength", since brushes will
Nicholas Bishop [Tue, 6 Jan 2009 01:37:12 +0000 (01:37 +0000)]
Changed "opacity" property for brushes to "strength", since brushes will
be used for sculpt as well as painting (and particle edit too?)

10 years agoAdded RNA for color ramps, as well as color-ramp properties for material
Nicholas Bishop [Tue, 6 Jan 2009 00:56:20 +0000 (00:56 +0000)]
Added RNA for color ramps, as well as color-ramp properties for material
and color.

10 years ago 2.5
Michael Fox [Tue, 6 Jan 2009 00:19:47 +0000 (00:19 +0000)]
  2.5
******
small commit, ported cameratoview3d, please check i have the correct naming and notifier

10 years agosince material ray/mirror/halo properties are now in their own RNA structs remove...
Campbell Barton [Mon, 5 Jan 2009 23:53:37 +0000 (23:53 +0000)]
since material ray/mirror/halo properties are now in their own RNA structs remove their prefix.

material.´╗┐raytrace_transparency.ray_transparency_depth -> material.´╗┐raytrace_transparency.depth

Also renamed...
ray_mirror to reflect,
mode_ray_mirror, mode_ray_transparency, mode_halo to "enabled" matching the SSS struct.

10 years ago2.5 / Nodes / Border select
Nathan Letwory [Mon, 5 Jan 2009 23:53:04 +0000 (23:53 +0000)]
2.5 / Nodes / Border select
* bring border select (BKey), works in editor, but draws
  badly only in header when initiated from menu, so that's
  commented out for now.

10 years ago2.5 scons fix
Joshua Leung [Mon, 5 Jan 2009 23:08:59 +0000 (23:08 +0000)]
2.5 scons fix

Priority for armature module was too low, and causing errors when linking with gcc

10 years agoMore RNA properties for Material, including specularity and strand
Nicholas Bishop [Mon, 5 Jan 2009 23:06:22 +0000 (23:06 +0000)]
More RNA properties for Material, including specularity and strand
settings. The DNA for Material is a real mess, should really be cleaned
up.

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 19:32:04 +0000 (19:32 +0000)]
2.5

- Armature editmode back
- Armature pose and editmode selecting with mouse back
- Posemode only works with 3d window header now.

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 17:20:40 +0000 (17:20 +0000)]
2.5

Cleanup:
- Makefile was using confused link order, now all intern and
  and extern libs are put after blender and editor libs
- Old stubs.c in editors/screen removed. The leftover python
  stubs calls were moved to python module.

10 years agoadded rna_action.c to cmake
Nicholas Bishop [Mon, 5 Jan 2009 17:09:30 +0000 (17:09 +0000)]
added rna_action.c to cmake

10 years ago2.5
Nathan Letwory [Mon, 5 Jan 2009 16:54:28 +0000 (16:54 +0000)]
2.5
Fix linking for msvc.

10 years agoFile structure and stubby for wrapping action dna types.
Roland Hess [Mon, 5 Jan 2009 16:31:00 +0000 (16:31 +0000)]
File structure and stubby for wrapping action dna types.

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 16:15:23 +0000 (16:15 +0000)]
2.5

More linking issues with armature commit, but we'll get there :)

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 16:02:31 +0000 (16:02 +0000)]
2.5

Linking errors in other compilers; if-nulled the reeb stuff now.

10 years agoYeah, and then the game engine too!
Ton Roosendaal [Mon, 5 Jan 2009 15:48:24 +0000 (15:48 +0000)]
Yeah, and then the game engine too!

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 15:35:49 +0000 (15:35 +0000)]
2.5
Typo in stub for meshlapacian.c

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 15:19:31 +0000 (15:19 +0000)]
2.5

Put back Armature/Pose code, including 'heat weight'.
I've added reeb.h to get things compile, but Martin will
cleanup files and put back?

Now where to put all vertexgroup code.... I guess mesh?

Note for msvc: yep, another new dir to add! :)

10 years ago2.5 - Animation Fixes + More Porting work in Action Editor
Joshua Leung [Mon, 5 Jan 2009 09:54:39 +0000 (09:54 +0000)]
2.5 - Animation Fixes + More Porting work in Action Editor

* Added crash fixes for loading old files with Actions/Armatures in them. Was caused by usage of some old globals still and the functions in question not performing NULL checks on the validity of the data they're given.

* Added back reorganise action channels tools (shift/ctrl-shif pageup/down) for Action Editor. These are only available in 'Action Mode' only.

* Tidied up Action Editor/Dopesheet tools code - removed various unused things, and also, added an API call in anim_deps.c to send the correct notifiers, since I anticipate that they're likely to require a few context checks which would be better to centralise than copy+paste everywhere.

Note to Ton: could you have a look at this notifier stuff here? I'm not sure which ones I should be sending...

* Also added a few assorted comments in various places

10 years ago* Added notifiers for camera rna
Matt Ebb [Mon, 5 Jan 2009 05:42:48 +0000 (05:42 +0000)]
* Added notifiers for camera rna
* Some tweaks to rna property descriptions

10 years agoAdded RNA for Subsurface Scattering in Material.
Nicholas Bishop [Mon, 5 Jan 2009 05:09:20 +0000 (05:09 +0000)]
Added RNA for Subsurface Scattering in Material.

10 years agoAdded RNA properties for Mist and Stars in World
Nicholas Bishop [Mon, 5 Jan 2009 04:10:59 +0000 (04:10 +0000)]
Added RNA properties for Mist and Stars in World

10 years agoAdded RNA for ambient occlusion
Nicholas Bishop [Mon, 5 Jan 2009 03:44:19 +0000 (03:44 +0000)]
Added RNA for ambient occlusion

10 years ago2.5 - Various Cleanups/Fixes
Joshua Leung [Mon, 5 Jan 2009 00:38:17 +0000 (00:38 +0000)]
2.5 - Various Cleanups/Fixes

* Animation channels - cleaned up the code for selecting channels (removed various TODO stuff that's going to be replaced by something better later). Also, added back the ctrl-shift select feature for groups, which should be extended for other channels too at some stage.
* Outliner - added missing flags to do-versions, and replaced the width calculations with the rna-width version for now, as that uses constant width of 100 with OL_X*indention

10 years ago2.5 MSVC9 projectfiles
Andrea Weikert [Sun, 4 Jan 2009 19:39:35 +0000 (19:39 +0000)]
2.5 MSVC9 projectfiles
updates:
* RNA: several files (rna_cloth, rna_object_force.c, rna_particle.c, rna_scriptlink.c, rna_text.c, rna_texture.c, rna_userdef.c)
* complete removal of verse and cleanup of WITH_VERSE from projectfiles
* deleted projectfiles for BL_src - not needed anymore.
* editors/mesh: mesh_intern.h was renamed from editmesh.h, new file mesh_ops.c
* editors/util: editmode_undo.c, undo.c and util_intern.h added
* editors/animation: anim_channels.c  added
* editors/space_action: action_edit.c  added

10 years agoRNA
Brecht Van Lommel [Sun, 4 Jan 2009 19:25:24 +0000 (19:25 +0000)]
RNA

* DNA_cloth_types.h, patch by Roelf de Kock. The gravity[3] member
  is not being parsed correct by makesdna.c and will give issues
  even when trying to fix it. Worked around it for now in RNA by
  wrapping it manually, but this should really be fixed in the DNA
  genetics code, added a comment about it in DNA_cloth_types.h.

* Handle vertex groups and uv layers more consistent now. They are
  all exposed as strings now. Reason is that indices don't really
  say much, and a direct pointer is not always possible because for
  example a uv layer in a material can be used for multiple objects
  and so there is no single pointer. In python it is not too hard
  to use either since the strings works as a key for lookups.

  For the user interface we can later think of some method to
  generate popup menus in a way that works for vertex groups,
  uv layers, bones etc.

* This also fixes the XXX's in rna_modifier.c, I think that can be
  marked done.

10 years ago2.5
Ton Roosendaal [Sun, 4 Jan 2009 19:17:34 +0000 (19:17 +0000)]
2.5

Small cleanup in region-based cursor handling.
- callback was in spacetype, now in regiontype
- made screen listener catch ND_MODE notifier and
  call the active region cursor callback, if it's there.

10 years ago2.5
Nathan Letwory [Sun, 4 Jan 2009 19:16:13 +0000 (19:16 +0000)]
2.5
- fix warnings for append_qt (missing param)

10 years ago2.5
Martin Poirier [Sun, 4 Jan 2009 19:11:56 +0000 (19:11 +0000)]
2.5

Missing call to free mesh octree in post transform function.
Was breaking x-mirror

10 years ago2.5
Martin Poirier [Sun, 4 Jan 2009 19:10:57 +0000 (19:10 +0000)]
2.5

Fix compile error with AVI support

10 years ago2.5 / global cleanup fix
Nathan Letwory [Sun, 4 Jan 2009 18:26:43 +0000 (18:26 +0000)]
2.5 / global cleanup fix
- RenderData was missing from append_movie/avi

10 years ago2.5 / Cleanup
Nathan Letwory [Sun, 4 Jan 2009 18:16:34 +0000 (18:16 +0000)]
2.5 / Cleanup
- remove Verse support. This will be brought back in The Future (probably jiri + me)
  This means 5k lines less in blenkernel.
- fix two small errors for global cleanup, now compiles properly with FFMPEG enabled too.

10 years ago2.5
Ton Roosendaal [Sun, 4 Jan 2009 17:45:54 +0000 (17:45 +0000)]
2.5

WM: added area-listener, which can be used to tag refreshes for
either the drawing call, or use the new ED_area_tag_refresh()
function which will automatically call, after all notifiers
were handled, an the spacetype->refresh() you provided.

Added for Joshua, after reviewing Action/Dopesheet requirements.

Joshua: I've made two dummy functions in space_action.c:
- action_listener()
- action_refresh()

Wich now does a printf on activating a new object.

10 years ago2.5
Ton Roosendaal [Sun, 4 Jan 2009 14:14:06 +0000 (14:14 +0000)]
2.5

Think global, act local!

The old favorite G.scene gone! Man... that took almost 2 days.
Also removed G.curscreen and G.edbo.

Not everything could get solved; here's some notes.
- modifiers now store current scene in ModifierData. This is not
  meant for permanent, but it can probably stick there until we
  cleaned the anim system and depsgraph to cope better with
  timing issues.
- Game engine G.scene should become an argument for staring it.
  Didn't solve this yet.
- Texture nodes should get scene cfra, but the current implementation
  is too tightly wrapped to do it easily.

10 years ago* Enabled disabled drawing for 'locked' buttons
Matt Ebb [Sun, 4 Jan 2009 07:50:41 +0000 (07:50 +0000)]
* Enabled disabled drawing for 'locked' buttons
(made with uiBlockSetButLock())

10 years ago2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)
Joshua Leung [Sun, 4 Jan 2009 04:21:32 +0000 (04:21 +0000)]
2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)

Cleaned up the View2D setup stuff here, by removing all the hacky manual setting of tot and cur rects. Now the Outliner and RNA are scrollable again.

However, in the process, I uncovered a few rather nasty bugs that must've been around for ages.
1) The width-calculation code depends on te->xend for calculating the max-extents, but that is not set until drawing of channels commences. This is far too late, as it is needed for the setting of the 'tot' rect's extents, so that we can have horizontal scrolling, and an accurate horizontal scroller! I noticed that RNA version of this currently hacks around this by using constant width of 100, but that's not a great final solution.

2) There's some minor pixel offset twitching going on with the restriction columns when the view is resized. Also, for RNA, the buttons sometimes cause a few drawing artifacts. Will check on this in part 2.

10 years agono idea how this happened :S
Michael Fox [Sun, 4 Jan 2009 02:39:22 +0000 (02:39 +0000)]
no idea how this happened :S

10 years ago 2.5
Michael Fox [Sun, 4 Jan 2009 02:34:34 +0000 (02:34 +0000)]
  2.5
*******
- Ported show/hide objects as the clear/set restrictview operators (request of kaito)
- clear is not using a context loop as there is none currently available
- set uses a popup menu for hide select and hide unselected

 hotkeys are H and Alt-H (set, clear)

- ported the undo calles, to use ED_undo_push where available

10 years ago* Added support for displaying disabled RNA buttons
Matt Ebb [Sun, 4 Jan 2009 02:09:41 +0000 (02:09 +0000)]
* Added support for displaying disabled RNA buttons

The functionality already existed via the RNA system, this
commit makes disabled buttons draw greyed out, and not respond to clicks
(previously, they would drag/edit/etc but then reset to the previous value)

10 years ago2.5 / Nodes / Transformations
Nathan Letwory [Sun, 4 Jan 2009 01:08:01 +0000 (01:08 +0000)]
2.5 / Nodes / Transformations
- after talking with Martin P (theeth), I have now shuffled code around
  so that there is no more exception code for nodes in the wrong places.
  This means node editor now also use entirely common translation.
  As proof of concept, there is now also resize and rotate support. It already
  works, but there need to be a bit more thought in how those
  actions are initialised for node editor. Probably some way to tell
  what to use as pivot point, etc.

10 years agoSome tweaks to menu drawing
Matt Ebb [Sun, 4 Jan 2009 00:05:40 +0000 (00:05 +0000)]
Some tweaks to menu drawing

10 years agoFixed a couple of properties in Modifiers.
Nicholas Bishop [Sat, 3 Jan 2009 23:14:33 +0000 (23:14 +0000)]
Fixed a couple of properties in Modifiers.

10 years ago2.5
Martin Poirier [Sat, 3 Jan 2009 22:15:59 +0000 (22:15 +0000)]
2.5

Transform operator replay

Basic support working. Only saves mode and values, not constraint setup.

Removed event pointer from TransInfo (it's not available in operator exec). Replaced checks to event->modifiers to a functional modifier bitfield in TransInfo (that is, instead of checking for Shift, it checks for MOD_PRECISION) to make it remappable later.

Misc:
X-Mirror for mesh now working with transform

10 years agoAdded more RNA MTex properties
Nicholas Bishop [Sat, 3 Jan 2009 21:10:48 +0000 (21:10 +0000)]
Added more RNA MTex properties

10 years agoAdded some sub-structs to Material RNA for halo and ray transp/mirror
Nicholas Bishop [Sat, 3 Jan 2009 20:20:09 +0000 (20:20 +0000)]
Added some sub-structs to Material RNA for halo and ray transp/mirror
settings. Material RNA shows much cleaner in the RNA viewer now.

10 years ago2.5: fix "repeat last", and display of operator properties
Brecht Van Lommel [Sat, 3 Jan 2009 20:03:39 +0000 (20:03 +0000)]
2.5: fix "repeat last", and display of operator properties
in rna outliner.

10 years agoAdded RNA for MTex, also property for mtex array in Material RNA.
Nicholas Bishop [Sat, 3 Jan 2009 19:39:39 +0000 (19:39 +0000)]
Added RNA for MTex, also property for mtex array in Material RNA.

10 years ago2.5
Nathan Letwory [Sat, 3 Jan 2009 18:43:11 +0000 (18:43 +0000)]
2.5
- Make sure shader, composit and texture ntrees have an id.name. This is to ensure
  that node trees in Material, Scene and Texture are properly identified through RNA

10 years ago2.5
Martin Poirier [Sat, 3 Jan 2009 17:21:32 +0000 (17:21 +0000)]
2.5

Snapping for editmesh remove a silly bug and make it work with PET. In that case, you can only snap to other object, not to the edit mesh.

10 years agomissed this one last time
Matt Ebb [Sat, 3 Jan 2009 12:39:36 +0000 (12:39 +0000)]
missed this one last time

10 years ago2.5
Joshua Leung [Sat, 3 Jan 2009 11:35:39 +0000 (11:35 +0000)]
2.5

* Start of Action/Pose syncing code (in anim_deps.c) This is currently not hooked up yet, as we still need to figure out where these should get called (due to a few dependencies they have - i.e. visibility syncing of channels is turned on/off by setting in appropriate views).

* Also added assorted comments/changes to rna/dna

10 years ago2.5 - Silenced various compiler warnings
Joshua Leung [Sat, 3 Jan 2009 10:03:26 +0000 (10:03 +0000)]
2.5 - Silenced various compiler warnings

10 years agoStarted RNA for MTex
Nicholas Bishop [Sat, 3 Jan 2009 08:08:44 +0000 (08:08 +0000)]
Started RNA for MTex

10 years ago* Added notifier updates for RNA modifier data
Matt Ebb [Sat, 3 Jan 2009 07:25:22 +0000 (07:25 +0000)]
* Added notifier updates for RNA modifier data

10 years agoRenamed RNA EnvironmentalMap to EnvironmentMap
Nicholas Bishop [Sat, 3 Jan 2009 07:20:11 +0000 (07:20 +0000)]
Renamed RNA EnvironmentalMap to EnvironmentMap

10 years ago* Added icons for RNA modifier data to datablocks outliner view
Matt Ebb [Sat, 3 Jan 2009 06:34:40 +0000 (06:34 +0000)]
* Added icons for RNA modifier data to datablocks outliner view

10 years ago2.5 - Action Editor: IPO Curve Protect works now
Joshua Leung [Sat, 3 Jan 2009 06:01:11 +0000 (06:01 +0000)]
2.5 - Action Editor: IPO Curve Protect works now

* Added the relevant filtering necessary for this to work, into the animation-channel filtering code.
* Updated most of the keyframe-editing tools to respect this
* Renamed keyframe-editing API loopers (added ANIM_ prefix) for consistency
* Added function for mapping keyframes to/from NLA-mapping for Ipo-Curves in addition to the one for IPO blocks. As a result, renamed the latter for consistency.

10 years ago* Added some notifications to object/lamp/material RNA properties
Matt Ebb [Sat, 3 Jan 2009 05:41:58 +0000 (05:41 +0000)]
* Added some notifications to object/lamp/material RNA properties

For now, I've made a distinction between (eg.) ND_LIGHTING and ND_LIGHTING_DRAW,
with the 'draw' variety being properties that get displayed in the 3D View

* Also did some cleaning in lamp RNA, moved sun/sky settings to its own struct

10 years agoAdded RNA for EnvMaps. Also some more properties for Textures.
Nicholas Bishop [Sat, 3 Jan 2009 05:18:11 +0000 (05:18 +0000)]
Added RNA for EnvMaps. Also some more properties for Textures.

10 years agoExiting editmode crashed on this old multires line.
Nicholas Bishop [Sat, 3 Jan 2009 02:22:51 +0000 (02:22 +0000)]
Exiting editmode crashed on this old multires line.

10 years agoChanged a couple pointer properties to the texture type.
Nicholas Bishop [Sat, 3 Jan 2009 02:11:27 +0000 (02:11 +0000)]
Changed a couple pointer properties to the texture type.

10 years agoAdded a bunch of RNA properties for textures.
Nicholas Bishop [Sat, 3 Jan 2009 01:55:37 +0000 (01:55 +0000)]
Added a bunch of RNA properties for textures.

10 years agoAfter more careful reading of RNA docs, added underscores to enum identifiers.
Nicholas Bishop [Sat, 3 Jan 2009 01:37:57 +0000 (01:37 +0000)]
After more careful reading of RNA docs, added underscores to enum identifiers.

10 years ago2.5 / Nodes
Nathan Letwory [Fri, 2 Jan 2009 23:58:03 +0000 (23:58 +0000)]
2.5 / Nodes
* add Context accessor for selected nodes
* node translation uses transform code
* put transform defines in an enum (mode and numinput flags)

10 years agoMade the basic RNA changes for Tex(ture), no properties wrapped yet.
Nicholas Bishop [Fri, 2 Jan 2009 23:05:28 +0000 (23:05 +0000)]
Made the basic RNA changes for Tex(ture), no properties wrapped yet.

10 years agoAdded RNA for Shrinkwrap, Mask, and SimpleDeform modifiers. That's all the modifiers...
Nicholas Bishop [Fri, 2 Jan 2009 19:22:43 +0000 (19:22 +0000)]
Added RNA for Shrinkwrap, Mask, and SimpleDeform modifiers. That's all the modifiers for now.

10 years ago2.5
Ton Roosendaal [Fri, 2 Jan 2009 19:10:35 +0000 (19:10 +0000)]
2.5

From the anti-globalization department:
G.obedit terminated!

Wherever possible, use CTX_data_edit_object(C) to get this
now. It's stored in scene now, and the screen context has
it defined.

10 years agoRNA
Brecht Van Lommel [Fri, 2 Jan 2009 16:58:09 +0000 (16:58 +0000)]
RNA
* DNA_object_types.h done.
* Scriptlink skeleton added.
* Fix cmake compile.

10 years agoRNA
Brecht Van Lommel [Fri, 2 Jan 2009 14:48:03 +0000 (14:48 +0000)]
RNA
* Finished last Lattice properties, is done now.
* Some tweaks to Mesh structs naming.

10 years ago2.5
Ton Roosendaal [Fri, 2 Jan 2009 14:11:18 +0000 (14:11 +0000)]
2.5

- Lasso select back (CTRL+LMB), object centers only,
  and for editmesh. See template in wm_operators.c

- Circle select for editmode back. Currently it still
  uses Ckey, and is only a temporary mode, not persistant.
  Persistant circle select can be added later with
  tweak gesture keymap? We'll see. :) The old circle
  select was actually annoying that it was so sticky.

10 years agoRNA
Brecht Van Lommel [Fri, 2 Jan 2009 13:47:33 +0000 (13:47 +0000)]
RNA
* Added skeleton code for particle/object_force/userdef.
* More Object properties wrapped.
* Added User Preferences display in outliner.

10 years ago2.5 - Action Editor: Toggle settings
Joshua Leung [Fri, 2 Jan 2009 11:06:27 +0000 (11:06 +0000)]
2.5 - Action Editor: Toggle settings

* Added back enable (Ctrl-Shift-W), disable (Alt-W), and toggle (Shift-W) operators to channels view. They are separate operators which use the same backend code.

* Fixed icon-drawing for IPO-curve 'protect' buttons. After doing this, I've realised that many tools will need some alterations to take this into account. That commit will come later.

10 years ago2.5
Ton Roosendaal [Fri, 2 Jan 2009 10:58:30 +0000 (10:58 +0000)]
2.5

Bugfix in OSX ghost!
The GHOST_TWindowState was set to 'invisble' always... which is a
state now handled correctly in Blender. It caused the window to not
refresh when resizing.

10 years agoAdded RNA for the ParticleInstance, Explode, and Bevel modifiers.
Nicholas Bishop [Fri, 2 Jan 2009 10:19:58 +0000 (10:19 +0000)]
Added RNA for the ParticleInstance, Explode, and Bevel modifiers.

10 years ago 2.5
Michael Fox [Fri, 2 Jan 2009 09:57:05 +0000 (09:57 +0000)]
  2.5
*******
small commit, after some help from ton i have fixed the clear transformation modifiers, they now redraw correctly, they was missing a depsgraph tag, also did a little tidying up

10 years ago* renamed some of the RNA sound identifiers
Campbell Barton [Fri, 2 Jan 2009 09:35:33 +0000 (09:35 +0000)]
* renamed some of the RNA sound identifiers
* was missing a MEM_freeN in previous commit

10 years agoAdded RNA for the MeshDeform, Cast, and Smooth Modifiers. Also some changes to pointe...
Nicholas Bishop [Fri, 2 Jan 2009 08:03:20 +0000 (08:03 +0000)]
Added RNA for the MeshDeform, Cast, and Smooth Modifiers. Also some changes to pointer types in other places.

10 years agopython support for reporting with operators.
Campbell Barton [Fri, 2 Jan 2009 07:54:38 +0000 (07:54 +0000)]
python support for reporting with operators.
* errors in python called operators are raised as errors
* Python defined operators errors are reported as errors (not full traceback yet)
* added BKE_reports_string, same as BKE_reports_print but it returns a string rather then printing it.
* WM_operator_name_call optionally takes an initialized report struct

10 years agoAdded RNA for the UVProject modifier.
Nicholas Bishop [Fri, 2 Jan 2009 07:29:35 +0000 (07:29 +0000)]
Added RNA for the UVProject modifier.

Had a couple problems with this one; the uv layer and the projectors. The projectors in particular is confusing; I figured this would be one of the cases handled by RNA automagically, but maybe I need to define custom functions for it? Anyway, marked the code with XXX.

10 years ago2.5 - Silencing more MSVC warnings
Joshua Leung [Fri, 2 Jan 2009 06:03:53 +0000 (06:03 +0000)]
2.5 - Silencing more MSVC warnings

10 years agoAdded RNA for the Displace modifier. Once again, not sure how to handle uvlayer.
Nicholas Bishop [Fri, 2 Jan 2009 05:20:44 +0000 (05:20 +0000)]
Added RNA for the Displace modifier. Once again, not sure how to handle uvlayer.

10 years agoAdded RNA for the Array modifier.
Nicholas Bishop [Fri, 2 Jan 2009 04:45:13 +0000 (04:45 +0000)]
Added RNA for the Array modifier.

10 years agoMade CMake build a little faster by not rebuilding the DNA and RNA stuff when buildin...
Nicholas Bishop [Fri, 2 Jan 2009 03:42:16 +0000 (03:42 +0000)]
Made CMake build a little faster by not rebuilding the DNA and RNA stuff when building creator.

10 years agoAdded RNA for the Boolean and EdgeSplit modifiers.
Nicholas Bishop [Fri, 2 Jan 2009 03:38:15 +0000 (03:38 +0000)]
Added RNA for the Boolean and EdgeSplit modifiers.

10 years ago 2.5
Michael Fox [Fri, 2 Jan 2009 03:16:38 +0000 (03:16 +0000)]
  2.5
********
- added clear location/rotation/scale/origin
- each action is a seperate operator
- Drawing is delayed as the tag_region_redraw does not seem to have an effect perhaps a transformation notifier is needed
- for the view to update just do some transformation, like press G

 - changed the shortcut key for area rip to alt-ctrl-r so it dosn't conflict with clear rotation