8,452
edits
Paradox-01 (talk | contribs) m (let's hide the trgv img until there's a release for it) |
Paradox-01 (talk | contribs) (new v3 with fix for PPGs; redoing code piece "import an image clip only once") |
||
Line 1,524: | Line 1,524: | ||
support_oni_DnD_OnEvent = true | support_oni_DnD_OnEvent = true | ||
end function | end function | ||
Line 1,558: | Line 1,557: | ||
'''[39] import an image clip only once''' | '''[39] import an image clip only once''' | ||
image_path = "C:\Users\RRM\Desktop\white_512_512.tga" | |||
Set FSO = CreateObject("Scripting.FileSystemObject") | |||
image_clip = FSO.GetBaseName(image_path) & "_" & FSO.GetExtensionName(image_path) | |||
logmessage image_clip | |||
if not typename(ActiveProject.ActiveScene.ImageClips(image_clip)) = "Nothing" then | |||
logmessage "found image clip" | |||
else | |||
logmessage "image clip not yet present, going to import ..." | |||
SICreateImageClip image_path | |||
SICreateImageClip | ' or as script object: | ||
'set oImage = AddImageSource (image_path) | |||
'set oImage = AddImageSource ( | |||
'set oImageClip = AddImageClip (oImage) | 'set oImageClip = AddImageClip (oImage) | ||
end if | end if | ||
Line 1,601: | Line 1,599: | ||
'''known issues (all versions)''' | '''known issues (all versions)''' | ||
* "(un)hide all" button inverts visibility for all objects individually | * "(un)hide all" button inverts visibility for all objects individually | ||
** e.g. if one object is hidden but rest is visible, the button will make it visible and the rest hidden | ** e.g. if one object is hidden but rest is visible, the button will make it visible and the rest hidden | ||
Line 1,610: | Line 1,607: | ||
* disables transparency on weapon textures | * disables transparency on weapon textures | ||
* button to access OniXSI resources folder | * button to access OniXSI resources folder | ||
* fixes glitchy PPGs (manager windows sometimes switched from "locked" to "refresh" mode, etc.) | |||
edits